Writing Plans
Structured implementation plans written before code, with exact files, interfaces, and tests so an engineer can execute with minimal guesswork.
- CCM score
- 64 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 8.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers plan header, global constraints, review focus, task structure, step granularity, self-review, and execution handoff for multi-step specs
- Enforces saving plans to
docs/superpowers/plans/YYYY-MM-DD-<feature-name>.mdand keeping each step unambiguous without restating the code - Guides the author through file structure decisions, task boundaries, and a five-point self-check for spec coverage and type consistency
- Designed for multi-step tasks with a written spec, run in a dedicated worktree before implementation begins
Install
$ npx -y skills add jnmetacode/superpowers-zh --skill writing-plans -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
编写计划
概述
为一位没见过这个代码库、也没见过这份规格的工程师编写实现计划。假设他们一旦知道确切的接口和确切的测试,就能用项目所用的语言写出地道的代码;也假设在计划留出选择余地的地方,他们会做出合理的选择。他们无从知道的,是你已经决定了什么:哪些文件、哪些名字和签名、规格里的哪些取值、哪些测试证明每个任务。把这些记下来。将整个计划拆成小步骤任务。DRY。YAGNI。TDD。频繁 commit。
开始时宣布: "我正在使用 writing-plans 技能创建实现计划。"
上下文: 此技能应在专用 worktree 中运行(由 brainstorming 技能创建)。
计划保存位置: docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md
- (用户对计划位置的偏好优先于此默认值)
范围检查
如果规格涵盖了多个独立子系统,它应该在头脑风暴阶段就被拆分为子项目规格。如果没有,建议将其拆分为独立的计划——每个子系统一个。每个计划应该能独立产出可工作、可测试的软件。
文件结构
在定义任务之前,先列出将要创建或修改的文件以及每个文件的职责。这是锁定分解决策的地方。
- 设计边界清晰、接口定义良好的单元。每个文件应有一个明确的职责。
- 你对能一次放入上下文的代码推理得最好,文件越专注你的编辑越可靠。优先选择小而专注的文件,而非承担过多功能的大文件。
- 一起变更的文件应放在一起。按职责拆分,而非按技术层级拆分。
- 在现有代码库中,遵循已有模式。如果代码库使用大文件,不要单方面重构——但如果你正在修改的文件已经变得难以管理,在计划中包含拆分是合理的。
此结构决定了任务分解。每个任务应产出独立的、有意义的变更。
任务粒度定界
一个任务是能独立承载自己那一轮测试循环、且值得一个全新审查者把关的最小单元。划任务边界时:把搭建、配置、脚手架和文档这些步骤,折进那个真正需要它们的交付物所在的任务里;只在「审查者有可能否掉这个任务、同时批准它旁边那个」的地方才拆开。每个任务都以一个可独立测试的交付物结束。
步骤粒度
每步是一个操作,并有一个可检查的结果:
- "编写失败的测试" - 一步
- "运行它确认失败" - 一步
- "实现最少代码让测试通过" - 一步
- "运行测试确认通过" - 一步
- "Commit" - 一步
计划文档头部
每个计划必须以此头部开始:
# [功能名称] 实现计划
Details
- Repository
- github.com/jnmetacode/superpowers-zh
- Categories
- Agent Workflow & Planning, Technical Documentation
- First seen
- Jun 3, 2026
Questions
What does the writing-plans skill do?
writing-plans is a skill for turning a specification into a step-by-step implementation plan before any code is written. It splits the work into small tasks with exact file paths, function signatures, tests and commit steps, following DRY, YAGNI and TDD. The plan is saved under docs/superpowers/plans/ with a date-stamped filename.
How do I install the writing-plans skill?
Run npx -y skills add jnmetacode/superpowers-zh --skill writing-plans -y in your project to install it. After that, the writing-plans skill guides your agent through writing a plan from a spec for a multi-step task.
Which category does writing-plans sit in, and which skills lead it?
writing-plans is listed under Agent Workflow & Planning on Claude Marketplaces, where grill-me, grill-with-docs and setup-matt-pocock-skills are among the other top skills. It stands out by requiring a self-review pass that checks spec coverage, type consistency and review focus before the plan is handed over.
Does writing-plans need any tools or accounts?
The SKILL.md for writing-plans does not require API keys or external accounts. It works from a spec you provide and expects to run in a dedicated git worktree created by the brainstorming skill.
More from jnmetacode/superpowers-zh
All 20- Chinese Code Review1.1K
- Test Driven Development1.1K
- Chinese Commit Conventions1.1K
- Subagent Driven Development1K
- Executing Plans1K
- Requesting Code Review1K
- Finishing A Development Branch1K
- Using Git Worktrees996
- Chinese Git Workflow988
- Dispatching Parallel Agents979
- Writing Skills976
- Mcp Builder972
- Workflow Runner961
- Using Superpowers1.3K
- Chinese Documentation1.2K
- Brainstorming1.2K
- Systematic Debugging1.2K
- Receiving Code Review1.1K
- Verification Before Completion1.1K
Similar to Writing Plans
More Agent Workflow & Planningplan-writingvudovn/ag-kit215 installsStructured task plans with small verifiable steps, saved to the project root for multi-step work.
specklerith/fernando-skills5.1K installsStructured spec-driven design flow that asks clarifying questions before drafting each section of a spec.
spec-driven-implementationwarpdotdev/common-skills29.7K installsStructured spec-first workflow for significant features, with PRODUCT.md and TECH.md checked into source control.
planning-and-task-breakdownaddyosmani/agent-skills82.6K installsStructured task decomposition that breaks specs into ordered, verifiable tasks with acceptance criteria and checkpoints.
creating-development-planssammcj/agentic-coding339 installsStructured development plan generator with phased tasks, requirements, and QA checklists for explicit planning requests.
create-implementation-plangithub/awesome-copilot12.7K installsStructured plan files for features, refactors, upgrades, architecture, and infrastructure work, saved under /plan/ for autonomous execution.