agents/skills/plan/SKILL.md
Generate an implementation plan from a PRD, tech spike, or feature spec and save it to context/plans/. Use for planning work, breaking down a PRD, or creating an implementation plan from a spec.
npx skillsauth add drn/dots planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read a PRD, tech spike, or feature spec and produce a concrete implementation plan saved to context/plans/.
$ARGUMENTS - Required: path to a PRD/spike/spec file, a URL, or inline description of what to planfind . -maxdepth 1 \( -name go.mod -o -name Gemfile -o -name package.json -o -name Cargo.toml -o -name pyproject.toml -o -name CLAUDE.md -o -name AGENTS.md \) 2>/dev/null | head -10find . -maxdepth 2 -type d -not -path './.git/*' -not -path './node_modules/*' -not -path './vendor/*' 2>/dev/null | head -30git log --oneline -10 2>/dev/null | head -10find .context/plans -name "*.md" 2>/dev/null | head -10find context/spikes -name "*.md" 2>/dev/null | head -10ls -t .context/phases/*.md 2>/dev/null | head -10This skill participates in a phase chain. Read ~/.claude/skills/_shared/resources/phase-protocol.md for the full protocol.
Before starting: Check .context/phases/ for prior artifacts:
critique-*.md exists → read the latest critique. This is a second pass — incorporate the critique's concerns into a refined plan. Write output as plan-{ts}.md.think-{ts}.md.After completing Step 4: Write the phase artifact to .context/phases/:
mkdir -p .context/phases
Use the artifact format from the phase protocol. The Handoff section should include: key decisions, implementation phases, open questions, and risks — everything /dev needs to start building.
Parse $ARGUMENTS to locate the input:
IF $ARGUMENTS is empty or unclear, ask the user to provide a PRD, spike, or spec.
Extract from the source:
Present a brief summary of what you understood and ask the user to confirm before proceeding.
Investigate the current codebase to ground the plan in reality:
context/ for related work.Ensure context/plans/ directory exists (create if needed).
Save the plan to context/plans/<date>-<slug>.md where <date> is today in YYYY-MM-DD format and <slug> is a short kebab-case summary.
Use this format:
# Plan: <title>
**Date:** <YYYY-MM-DD>
**Source:** <path or URL to the PRD/spike/spec>
**Status:** Draft
**Current Phase:** Phase 1
## Goal
<1-2 sentence summary of what this plan achieves>
## Background
<current state, why this work is needed, link to source material>
## Requirements
### Must Have
- <requirement with acceptance criteria>
### Should Have
- <requirement>
### Won't Do (this iteration)
- <explicitly excluded scope>
## Technical Approach
<high-level strategy: what patterns to follow, key design decisions>
## Decisions
| Decision | Rationale |
|----------|-----------|
| <what was decided> | <why — constraints, trade-offs, alternatives rejected> |
## Implementation Steps
### Phase 1: <name>
**Status:** pending
- [ ] <task> — `path/to/file` — <what to do>
- [ ] <task> — `path/to/file` — <what to do>
### Phase 2: <name>
**Status:** pending
- [ ] <task> — `path/to/file` — <what to do>
### Phase 3: <name> (if needed)
**Status:** pending
- [ ] <task> — `path/to/file` — <what to do>
## Testing Strategy
- <what tests to write, what to verify>
- <edge cases to cover>
## Risks & Open Questions
| Risk | Mitigation |
|------|------------|
| <risk> | <how to handle> |
- <open question from source material>
- <open question discovered during exploration>
## Dependencies
- <external dependency or prerequisite>
## Errors Encountered
| Error | Attempt | Resolution |
|-------|---------|------------|
## Estimated Scope
**Phases:** <N>
**Tasks:** <N>
**Files touched:** <N>
Print the plan summary (goal, phases, task count) and the file path where the full plan was saved. Offer to:
/dev with the plan as input)The plan is the single source of truth for progress. Any agent or session can pick up where the last one left off.
At the start of each session, read the plan file. This refreshes goals and progress in your attention window. Check the Current Phase field and scan checkboxes to orient.
After completing a task:
- [ ] to - [x]**Status:** from pending to complete**Current Phase:** at the top to the next phaseDecisions table with rationaleErrors Encountered table — this prevents future sessions from repeating the same failuresdevelopment
Build a self-contained, single-file HTML presentation deck from talking points or a source doc, using a terminal/TUI-styled template with keyboard, tap, and swipe navigation. Use when the user wants to create slides, build a presentation or deck, turn talking points or a doc into a talk, make an HTML slideshow, or produce a presentation as a shareable artifact (instead of Google Slides).
development
Render a Markdown file to GitHub-flavored HTML and open a styled local preview (light + dark) in the browser. Use when the user wants to preview markdown, see how a README renders on GitHub, check that relative screenshots or images display correctly, or get a GitHub-like local preview without installing grip or glow.
tools
Mark the current Argus task as complete. Use when the work for the current worktree is done and the user wants the task to transition to the "complete" status.
development
Launch a dynamic Workflow where the top-tier session model (Fable) handles planning and orchestration while implementation subagents run on Sonnet for routine tasks and Opus for complex ones. Use when the user wants to orchestrate a build, a dynamic workflow, a model-tiered build, fable planning with sonnet and opus implementation, or tiered agents.