writing-plans
Skill1 starsChanged 3 months agoMITView on GitHub
有了 spec 或多步任务需求后、动代码前,写一份别人能照着做的实现计划
189 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- andreymudri/fleetmatestheir own version, first seen Oct 5, 2026
- invergent-ai/surogatestheir own version, first seen Oct 5, 2026
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Oct 3, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
Used with
Projects with it also use diagnosing-superpowers, chinese-git-workflow and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 6 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 4 projects that use this
SuperInstanceSkillmarketing-mode
Marketing Mode combines 23 comprehensive marketing skills covering strategy, psychology, content, SEO, conversion optimization, and paid growth. Use when users need marketing strategy, copywriting, SEO help, conversion optimization, paid advertising, or any marketing tactic.
Also in 4 projects that use this
itallstartedwithaideaSkilllong-horizon-workflows
Long-Horizon Workflows enable AI agents to execute multi-hour, multi-phase autonomous pipelines that far exceed the scope of a single conversation turn.
Also in 4 projects that use this
shibit-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
- +1 more from shibit-net
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- XY523-iaou/dev-workflow-pack★ 110% same
Wrote their own version · 188
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- microsoft/FluidFramework★ 4.9ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- coco-research/coco★ 437same name
- Ibrahim-3d/orchestrator-supaconductor★ 380same name
- jd-opensource/JoySafeter★ 312same name
- theexperiencecompany/gaia★ 306same name
- graniet/kheish★ 221same name
178 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- brainstormingSkill
- code-reviewSkill
- debug-productionSkill
- frontend-tasteSkill
- handoffSkill
- plain-writingSkill
- pre-commit-checkSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
The file
Files
写实现计划
触发条件
有了 spec 或多步任务需求、准备动代码之前; 任务复杂到需要写下来,别人(或下一个会话的 agent)才能照着做时。
核心假设
写计划时,假设执行者是个有干劲但没品味、没判断力、不了解这个代码库、不爱写测试的初级工程师。你要把所有他需要知道的东西写全:每个任务动哪些文件、代码长什么样、怎么测。
不要假设他会问、会查、会自己决定。
计划文件位置
存到项目里 docs/plans/YYYY-MM-DD-<feature>.md,commit。
文件开头放状态行(> status: draft|active|done|abandoned · updated: YYYY-MM-DD):
开写时 active,按计划做完后改 done——done 的计划下一个 agent 不用重读。
头部必须有
# <功能名> 实现计划
> status: active · updated: YYYY-MM-DD
**目标**:一句话说清做什么
**架构**:2-3 句说清做法
**技术栈**:关键技术/库
**Spec**:对应 docs/specs/xxx.md 路径
## 全局约束
(从 spec 抄过来:版本下限、依赖限制、命名规则、平台要求,一行一条,原值照抄)
---任务切分
一个任务 = 一个独立可测、值得一次 review 门的最小单元。
- 把 setup、配置、scaffold、文档折进需要它的那个任务里,不要单独成任务。
- 只有当 reviewer 有理由"批 A 拒 B"时才拆成两个任务。
- 每个任务结束都要产出可独立测试的东西。
每个步骤是一个动作(2-5 分钟):
- "写失败测试" —— 一步
- "跑一下确认它真的失败" —— 一步
- "写最小实现让它过" —— 一步
- "跑测试确认过了" —— 一步
- "commit" —— 一步
任务模板
### Task N: <组件名>
**文件:**
- 新建:`exact/path/to/file.py`
- 修改:`exact/path/to/existing.py:123-145`
- 测试:`tests/exact/path/test.py`
**接口:**
- 消费:本任务用到前面任务产出的什么(精确签名)
- 产出:后面任务要靠本任务的什么(精确函数名、参数、返回类型)
- [ ] **Step 1: 写失败测试**
(贴实际测试代码)
- [ ] **Step 2: 跑测试确认失败**
跑:`pytest ...`
预期:FAIL,原因是 XXX
- [ ] **Step 3: 写最小实现**
(贴实际代码)
- [ ] **Step 4: 跑测试确认通过**
跑:`pytest ...`
预期:PASS
- [ ] **Step 5: commit**
(贴 git 命令和 message)禁止出现的占位符(计划失败)
- "TBD" / "TODO" / "稍后实现" / "补全细节"
- "加合适的错误处理" / "加校验" / "处理边界情况"
- "为 XX 写测试"(但不贴测试代码)
- "类似 Task N"——把代码重复一遍,因为执行者可能跳着看
- 只说做什么、不说怎么做的步骤
- 引用任何在别的任务里没定义的类型/函数/方法
自审(写完计划后自己过一遍)
- Spec 覆盖:spec 里每条要求都能指到某个任务吗?漏了就补。
- 占位符扫描:搜上面那张表里的红旗词,发现就修。
- 类型一致:Task 3 叫
clearLayers(),Task 7 不能写成clearFullLayers()。 - 全局约束:每个任务都隐含遵守了头部的全局约束吗?
发现问题直接改,不用再走一轮自审。
什么时候不要用这个 skill
- Bounded 任务(见 brainstorming):对话里两句话设计 + 获批就够,不写计划文件。
- 20 行以内的改动:直接做。
- Spike:产出是答案,不是代码。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

