writing-plans

writing-plans is a skill for Claude Code, Codex from yinqd3/workbuddy-skills. It costs 50 tokens per session (868 once invoked), scanned A, original, MIT.

A method for writing a detailed implementation plan from a software specification, including exact files, tests, commands, and expected results.

In plain words
What is it for?
Planning features, breaking work into small tasks, defining TDD steps, and documenting how to verify and commit the implementation.
Why use it?
It gives someone unfamiliar with the codebase enough detail to implement a multi-step change consistently and check each step.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Planning features, breaking work into small tasks, defining TDD steps, and documenting how to verify and commit the implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yinqd3/workbuddy-skills/writing-plans
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yinqd3/workbuddy-skills --skill writing-plans
Clone the repo
git clone --depth 1 https://github.com/yinqd3/workbuddy-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for writing-plans

README.md
[![agentmods](https://agentmods.dev/badge/skills/yinqd3/workbuddy-skills/writing-plans/github.svg)](https://agentmods.dev/skills/yinqd3/workbuddy-skills/writing-plans)
Your own site
<a href="https://agentmods.dev/skills/yinqd3/workbuddy-skills/writing-plans"><img src="https://agentmods.dev/badge/skills/yinqd3/workbuddy-skills/writing-plans/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for writing-plans

Your own site · 80×15
<a href="https://agentmods.dev/skills/yinqd3/workbuddy-skills/writing-plans"><img src="https://agentmods.dev/badge/skills/yinqd3/workbuddy-skills/writing-plans.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00868
Opus 5 $0.00025 $0.00434
Sonnet 5 $0.00010 $0.00174
Haiku 4.5 $0.00005 $0.00087

Measured 11d ago against content hash d8f760deb749, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

writing-plans scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

superpowers/writing-plans/SKILL.md · 107 lines

What it actually says

编写实现计划

写出完整的实现计划,假设执行者对代码库一无所知。文档化他们需要知道的一切:每个任务涉及哪些文件、代码、测试、参考文档、验证方法。

开始时声明: "我将用 writing-plans 技能创建实现计划。"

计划文件位置

docs/plans/YYYY-MM-DD-<功能名>.md

任务粒度

每个步骤一个动作(2-5 分钟):

### 任务 N: [组件名]

**文件:**
- 创建: `exact/path/to/file.py`
- 修改: `exact/path/to/existing.py:123-145`
- 测试: `tests/exact/path/to/test.py`

- [ ] **步骤 1: 写失败测试**
```python
def test_specific_behavior():
    result = function(input)
    assert result == expected
  • 步骤 2: 运行测试确认失败 命令: pytest tests/path/test.py::test_name -v 预期: FAIL — "function not defined"

  • 步骤 3: 写最小实现

def function(input):
    return expected
  • 步骤 4: 运行测试确认通过 命令: pytest tests/path/test.py::test_name -v 预期: PASS

  • 步骤 5: 提交

git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"

## 红线(绝对禁止的占位符)

- "TBD"、"TODO"、"稍后实现"、"自行填充"
- "添加适当的错误处理"、"添加验证"、"处理边界情况"(不写具体代码)
- "为以上写测试"(不写具体测试代码)
- "类似任务 N"(重复代码——执行者可能乱序阅读)
- 引用了任务中未定义的类型、函数或方法

## 计划文档头部模板

```markdown
# [功能名称] 实现计划

> **对执行者:** 全程使用 TDD。先写失败测试,看它失败,再实现。

**目标:** [一句话描述要构建什么]
**架构:** [2-3 句方案说明]
**技术栈:** [关键技术/库]

计划审查

写完计划后自检:

  1. 规格覆盖 — 规格中的每个需求都有对应任务吗?列出遗漏项
  2. 占位符扫描 — 搜索红线中的禁用模式,修复
  3. 类型一致性 — 后续任务中的类型、方法签名、属性名和前面定义的一致吗?

发现问题就地修复。

执行移交

计划保存后,提供两个选项:

"计划已完成,保存到 docs/plans/<文件名>.md。两种执行方式:"

1. 子代理驱动(推荐) — 每个任务派一个全新子代理,任务间做审查 2. 内联执行 — 在当前会话中用 executing-plans 逐任务执行

"选哪个?"

  • 选子代理驱动 → 调 subagent-driven-development
  • 选内联执行 → 调 executing-plans

关键规则

  • 始终使用精确的文件路径
  • 每个步骤包含完整代码——不是"在此添加验证"
  • 精确命令+预期输出
  • DRY、YAGNI、TDD、每个绿色测试后提交
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 107 lines · 50 tokens per session scan A d8f760deb749

Subscribe to this mod's changes

writing-plans is a skill published in the GitHub repository yinqd3/workbuddy-skills (6 stars, last pushed 3mo ago), licensed MIT. It adds 50 tokens to every session and 868 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

results-report

A workflow for turning completed experiment analyses into a structured research report with findings, limitations, failures, and next steps.

Galaxy-Dawn/claude-scholar · 78 tokens

math-unicode

Use whenever you need to express mathematical notation — equations, filters, set-builder, statistics, calculus, logic, ratios, drops, counts. Emit Unicode math glyphs INLINE; never wrap in $…$, \(...\), or $$...$$. Terminal coding agents (Claude Code, Codex CLI, and others) do not render LaTeX, so raw delimiters…

JustMichael-80/MasterVault · 104 tokens

obsidian-markdown

Obsidian Flavored Markdown syntax reference — wikilinks, embeds, callouts, properties/frontmatter, tags, comments, block IDs. Use when creating or editing .md files in an Obsidian vault, when linking or embedding notes, when writing callouts or note frontmatter, or when the user mentions wikilinks, backlinks, block…

pivoshenko/pivoshenko.ai · 126 tokens

obsidian-docs

Create comprehensive technical documentation following Obsidian conventions with bidirectional linking, proper folder structure, templates, and developer-focused content. Use when creating documentation, READMEs, wikis, knowledge bases, ADRs, runbooks, or any technical writing. Triggers on: documentation, docs…

parisgroup-ai/imersao-ia-setup · 83 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

JustMichael-80/MasterVault · 37 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

JustMichael-80/MasterVault · 64 tokens