refactor: 默认 skills 装到 .agents,并清空 example 旧演示实现

对齐安装目录与 opencode 扫描路径;按 confirmed plan 清掉与 iteration1 不对齐的示例业务代码与 as-built 文档,只留空壳与需求输入。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ning-inspire
2026-11-17 11:46:41 +08:00
parent e5abcd101d
commit 670e0c1fa1
155 changed files with 659 additions and 5620 deletions

View File

@@ -37,7 +37,7 @@ description: 初始化项目的工程 harness —— 生成/补齐 AGENTS.md(
1. **探测项目结构**:找后端(有 `pom.xml`/`build.gradle`)、前端(有 `package.json`)、E2E 目录
2. **渲染 `AGENTS.md`**:把模板里的 `{{...}}` 占位符替换成探测结果,写入 `<项目>/AGENTS.md`
3. **铺 `docs/` 骨架**:复制 `templates/docs/**` 到 `<项目>/docs/**`
4. **确保 `opencode.jsonc`**:不存在则创建(注册 `.agent/skills` 路径)
4. **确保 `opencode.jsonc`**:不存在则创建(注册 `.agents/skills` 路径)
## 生成后必须做的事

View File

@@ -2,6 +2,6 @@
"$schema": "https://opencode.ai/config.json",
"skills": {
"paths": [".agent/skills"]
"paths": [".agents/skills"]
}
}