with one click
plan
分析功能需求,读取代码库,识别风险,将计划写入 plans/<feature>-plan.md。此阶段不写代码。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
分析功能需求,读取代码库,识别风险,将计划写入 plans/<feature>-plan.md。此阶段不写代码。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
读取计划文件,按依赖顺序执行每个任务并做任务级验证,最后写实现报告到 reports/<feature>-implementation-report.md。
运行完整质量门(pytest)并按 PASS/FAIL 格式报告结果。提交前必须运行。
Build, audit, and improve lightweight harnesses for AI coding agents: AGENTS.md/CLAUDE.md, feature state, verification workflows, scope boundaries, lifecycle handoff, memory persistence, context control, tool safety, and multi-agent coordination.
| name | plan |
| description | 分析功能需求,读取代码库,识别风险,将计划写入 plans/<feature>-plan.md。此阶段不写代码。 |
| disable-model-invocation | true |
用法: /plan <功能描述>
产出一份可实施的计划文件。此阶段不写代码。
从 $ARGUMENTS 中提取:
先读 CLAUDE.md 了解命名和模式。然后读:
app/generator.py)确认:
requirements.txt使用 Write 工具创建 plans/<feature>-plan.md——这是必须交付的文件,不是可选的。
不要只在聊天里描述计划;/implement 从磁盘读取它。
使用以下结构:
# Plan: <功能名称>
## 需求
<一句话描述>
## 涉及的 RAG 阶段
<ingest / chunk / index / retrieve / generate,说明影响>
## Prerequisites
- 假定 `.venv` 已激活(见 README「环境搭建」)
- <如涉及 LLM,列出需要的环境变量名,不写真实 Key>
## 涉及文件
### 实现前先读
- `<路径>` (行 N-M) — <原因>
### 修改
- `<路径>` — <改什么>
### 新建
- `<路径>` — <用途>
## 有序任务
### Task 1 — <动作> <目标>
- What: <具体改动>
- Pattern: `<路径>:L<行>` — <参照哪里>
- Gotcha: <已知陷阱(若有)>
- Validate: `<精确 shell 命令>`
### Task 2 — ...
(按依赖顺序继续)
## 验证门
完成所有任务后依次运行:
\`\`\`
python scripts/validate.py
\`\`\`
## 验收标准
- [ ] <可量化的标准 1>
- [ ] <可量化的标准 2>
- [ ] 验证门通过
写完文件后,输出:
plans/<feature>-plan.md/implement 首次通过概率)交接: 将计划路径传给 /implement plans/<feature>-plan.md。