writing-plans
Writing Plans
Overview
Write implementation plans as a plan directory — a tight orchestration plan plus per-task briefing files for agents. Assume agents have zero codebase context. Document everything they need: which files to touch, complete code, testing, validation criteria. DRY. YAGNI. TDD. Frequent commits.
Announce at start: "I'm using the writing-plans skill to create the implementation plan."
Context: Can be invoked standalone or as a handoff from brainstorming. Works in the current directory or a dedicated worktree.
Save plans to: .claude/plans/YYYY-MM-DD-<feature-name>/
See references/plan-lifecycle.md for directory lifecycle (creation, execution, cleanup, stale detection).
Plan Directory Structure
.claude/plans/YYYY-MM-DD-<feature-name>/
plan.md # Orchestration plan (<200 lines)
manifest.json # Machine-readable task/wave metadata
briefings/
task-01.md # Per-task agent briefing
task-02.md
...
Format Specifications
See references/formats.md for plan.md template, manifest.json schema, and briefing authoring rules.
Briefing file template: references/briefing-template.md.
Execution Handoff
After saving the plan directory, offer execution:
"Plan complete and saved to .claude/plans/<plan-id>/. How would you like to execute it?"
Options:
- Execute now — I'll dispatch agents per task with review between each (stays in this session)
- Execute in separate session — Open a new session and invoke plan-execution for batch execution
REQUIRED SUB-SKILL: Use plan-execution for either option.
More from hjewkes/agent-skills
self-improve
Use when a session produced reusable insights, when the user says "learn from this", "remember this", or "improve yourself", or after completing a complex task where patterns were discovered
65md-render
Use when asked to render, preview, or view a markdown file in the browser. Triggers on "render markdown", "preview this", "show me this document", "open in browser".
21code-review
Unified code review system — dispatches the right review agents for the situation. Use when reviewing code for quality, bugs, compliance, or before merging.
17skills-management
Use when creating, finding, installing, reviewing, or managing Claude Code skills — covers skill authoring, discovery, conventions, and lifecycle management
14github-pr
GitHub PR workflow — creating PRs, posting automated review comments, managing PR feedback cycles. Use when code is reviewed and ready for GitHub.
14buildkite
Buildkite CI/CD integration. Use when the user needs to check build status, trigger builds, read build logs, debug failures, manage pipelines, or any Buildkite workflow. Triggers include "buildkite", "build", "pipeline", "CI", "deploy", "build log", "build failed".
14