refactor: 默认 skills 装到 .agents,并清空 example 旧演示实现
对齐安装目录与 opencode 扫描路径;按 confirmed plan 清掉与 iteration1 不对齐的示例业务代码与 as-built 文档,只留空壳与需求输入。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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` 路径)
|
||||
|
||||
## 生成后必须做的事
|
||||
|
||||
|
||||
Reference in New Issue
Block a user