بنقرة واحدة
writing-plans
编写详细的实施计划。将工作拆分成小任务(每个2-5分钟),包含精确的文件路径、完整代码和验证步骤。用于开始实施前。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
编写详细的实施计划。将工作拆分成小任务(每个2-5分钟),包含精确的文件路径、完整代码和验证步骤。用于开始实施前。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Brainstorm before writing code. Refine rough ideas through questions, explore alternatives, present design in sections for validation. Use when starting a new feature or project.
Code review skill. Check code for correctness, edge cases, code style, and performance issues. Use when reviewing PRs or checking code quality.
Systematic debugging. Use a 4-phase root cause analysis process - collect evidence, form hypotheses, verify hypotheses, fix and verify. Use when troubleshooting bugs or abnormal behavior.
Test-driven development. Follow the RED-GREEN-REFACTOR cycle - write failing tests first, then write minimal code to pass, then refactor. Use when writing new features or fixing bugs.
Introduction to the Superpowers skills system. Learn how to use this set of development workflow skills. Use when first encountering superpowers or needing to understand the overall process.
Verification before completion. Ensure the problem is truly fixed, not just superficially passing. Use before declaring a task complete.
| name | writing-plans |
| description | 编写详细的实施计划。将工作拆分成小任务(每个2-5分钟),包含精确的文件路径、完整代码和验证步骤。用于开始实施前。 |
创建清晰、可执行的实施计划。
## Task [N]: [简短描述]
### 目标
[这个任务要完成什么]
### 变更
- `[文件路径]`: [具体改动]
### 代码
```[语言]
[完整的代码片段]
## 拆分原则
### 好的任务拆分
- ✅ "为 User 模型添加 email 验证方法"
- ✅ "创建用户注册 API 端点"
- ✅ "为注册端点添加单元测试"
### 差的任务拆分
- ❌ "实现用户系统" (太大)
- ❌ "修复 bug" (太模糊)
- ❌ "重构代码" (没有具体目标)
## 依赖管理
1. 识别任务间的依赖关系
2. 确保依赖的任务排在前面
3. 标记可以并行执行的任务
## 计划审查清单
- [ ] 每个任务有明确的完成标志
- [ ] 任务顺序合理
- [ ] 没有遗漏的步骤
- [ ] 包含必要的测试任务