chore: 基线提交——既有设计文档与样本数据

This commit is contained in:
lhl
2026-08-08 15:16:42 +08:00
parent 56da6c9917
commit 82cd2f270e
21 changed files with 5827 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"skill": {
"*": "allow"
}
},
"agent": {
"plan": {
"mode": "primary",
"permission": {
"question": "allow",
"plan_exit": "allow",
"edit": {
"*": "deny",
".opencode/plans/*.md": "allow",
"docs/specs/*.md": "allow",
"docs/plans/*.md": "allow"
},
"bash": "allow",
"read": "allow",
"grep": "allow",
"glob": "allow"
}
},
"build": {
"mode": "primary",
"permission": {
"edit": "allow",
"bash": "allow"
},
// 👇 新增:加载工作流提示词
"prompt": "{file:./.opencode/prompts/primary-agent.txt}"
}
},
"plugin": [
"opencode-autosave-conversation"
],
"skills": {
"paths": [
"C:\\Users\\NB-060\\.config\\opencode\\node_modules\\superpowers\\skills",
"C:\\Users\\NB-060\\.config\\opencode\\skills\\gstack",
"C:\\Users\\NB-060\\.config\\opencode\\skills\\mattpocock"
]
}
}