writing-plans · bobmatnyc — Claude Code skill: plans and setup
This skill turns a finished design into a detailed implementation plan with small tasks, file paths, code, tests, and checks for another engineer.
npx skills add bobmatnyc/claude-mpm-skills --skill writing-plans -a claude-codeWhat writing-plans does
writing-plans produces an implementation plan for an engineer who knows little about the repository or its domain. It calls out exact files, includes complete code blocks, and describes tests plus commands with the output to expect. Each task is kept small, with a 2–5 minute granularity guide.
The plan is saved as docs/plans/YYYY-MM-DD-<feature-name>.md. Its workflow puts tests before implementation, encourages frequent commits, and applies DRY and YAGNI. Run it in a dedicated worktree, since that is the working context defined for this skill.
Once the plan is saved, the workflow offers either a fresh subagent for each task or a separate session that executes the plan with checkpoints.
What it helps with
- split a feature into small implementation tasks
- map each task to exact repository files
- include complete code and test design
- document commands with expected output
- hand a detailed plan to another engineer
Example prompts for the agent
- Create an implementation plan for this feature for an engineer with no repository context.
- Inspect the repository and save the plan to
docs/plans/YYYY-MM-DD-<feature-name>.md, including exact paths, code, and tests. - Break the work into 2–5 minute tasks and add verification commands plus the commit sequence.
How to install writing-plans
1Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill writing-plans -a claude-code2Manually: put the files in place
~/.claude/skills/writing-plans/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/writing-plans/
1Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill writing-plans -a codex2Manually: put the files in place
.agents/skills/writing-plans/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill writing-plans -a cursor2Manually: put the files in place
.cursor/skills/writing-plans/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bobmatnyc/claude-mpm-skills writing-plans2Manually: put the files in place
.github/skills/writing-plans/SKILL.md1Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill writing-plans -a gemini-cli2Platform CLI
gemini skills install https://github.com/bobmatnyc/claude-mpm-skills --path universal/collaboration/writing-plansManually: put the files in place
.devin/skills/writing-plans/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bobmatnyc/claude-mpm-skills --skill writing-plans -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about writing-plans
How do I install writing-plans in Claude Code?
Run npx skills add bobmatnyc/claude-mpm-skills --skill writing-plans -a claude-code, then check ~/.claude/skills/writing-plans/SKILL.md.
What does writing-plans do?
It creates a concrete implementation plan for an engineer unfamiliar with the project, covering files, code, tests, commands, and expected results.
When should I run writing-plans?
Use it after the design is complete and you need implementation tasks. The skill is intended to run in a dedicated worktree.
Source text
SKILL.md · MIT
---
name: writing-plans
description: Create detailed implementation plans with bite-sized tasks for engineers with zero codebase context
user-invocable: false
disable-model-invocation: true
when_to_use: when design is complete and you need detailed implementation tasks for engineers with zero codebase context
version: 2.2.0
progressive_disclosure:
level: 1
references:
- path: references/plan-structure-templates.md
title: Plan Structure & Templates
description: Standard headers, task templates, and structure examples
- path: references/best-practices.md
title: Best Practices & Guidelines
description: Writing for zero-context engineers, code completeness, test design patterns
---
# Writing Plans
## Overview
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
**Announce at start:** "I'm using the Writing Plans skill to create the implementation plan."
**Context:** This should be run in a dedicated worktree (created by brainstorming skill).
**Save plans to:** `docs/plans/YYYY-MM-DD-<feature-name>.md`
## Quick Reference
**Plan header template:** See [Plan Structure & Templates](references/plan-structure-templates.md#standard-plan-document-header)
**Task template:** See [Plan Structure & Templates](references/plan-structure-templates.md#task-template-structure)
**Granularity guide:** Each step = 2-5 minutes. See [Best Practices](references/best-practices.md#bite-sized-task-granularity)
## Core Principles
- **Exact file paths always** - Not "in the user module" but "`src/models/user.py`"
- **Complete code in plan** - Not "add validation" but show the validation code
- **Exact commands with expected output** - "`pytest tests/file.py -v`" with what you'll see
- **Reference relevant skills** - Use @ syntax: `@skills/category/skill-name`
- **DRY, YAGNI, TDD, frequent commits** - Every task follows this pattern
For detailed guidance: [Best Practices & Guidelines](references/best-practices.md)
## Execution Handoff
After saving the plan, offer execution choice:
**"Plan complete and saved to `docs/plans/<filename>.md`. Two execution options:**
**1. Subagent-Driven (this session)** - I dispatch fresh subagent per task, review between tasks, fast iteration
**2. Parallel Session (separate)** - Open new session with executing-plans, batch execution with checkpoints
**Which approach?"**
**If Subagent-Driven chosen:**
- Use @skills/collaboration/subagent-driven-development
- Stay in this session
- Fresh subagent per task + code review
**If Parallel Session chosen:**
- Guide them to open new session in worktree
- New session uses @skills/collaboration/executing-plans
## Remember
- Write for zero-context engineers (specify everything)
- Complete code blocks, not instructions
- Exact commands with expected output
- Test first, then implement, then commit
- Reference existing patterns in codebase
- Keep tasks bite-sized (2-5 minutes each)
**Need examples?** See [Plan Structure & Templates](references/plan-structure-templates.md) for complete task examples.
**Need patterns?** See [Best Practices](references/best-practices.md) for error handling, logging, test design, and more.
© bobmatnyc · MIT · bobmatnyc/claude-mpm-skills
Similar skills
All skills for Agent setup: memory, context, orchestration →writing-plans by other authors comes first.