Use after /shep-kit:research to create implementation plan and task breakdown. Triggers include "plan", "implementation plan", "break down tasks", "create tasks", or explicit /shep-kit:plan invocation. Part of the Shep autonomous SDLC platform — https://shep.bot
Generate a detailed implementation plan with architecture overview and task breakdown.
Full workflow guide: docs/development/spec-driven-workflow.md
specs/NNN-feature-name/spec.yamlspecs/NNN-feature-name/research.yamlfeat/NNN-feature-nameBefore starting planning, verify:
research.yaml and check the openQuestions fieldresolved: false: STOP and inform user:
Cannot proceed with planning. Open questions in research.yaml must be resolved first. Please complete research or mark questions as resolved.
resolved: true or the openQuestions array is emptyRead both YAML source files to understand:
spec.yaml)research.yaml)Create high-level architecture:
CRITICAL: Plans MUST follow Test-Driven Development (TDD) with RED-GREEN-REFACTOR cycles.
Break implementation into phases following TDD:
For each phase, list:
MANDATORY: Define what tests to write FIRST in each TDD cycle.
For each layer, specify tests to write BEFORE implementation:
Each TDD phase MUST follow:
Convert phases into actionable tasks:
Write structured YAML source files (the source of truth):
specs/NNN-feature-name/plan.yaml - Architecture and strategyspecs/NNN-feature-name/tasks.yaml - Detailed task listNO DUPLICATION between files:
content: Architecture overview, implementation strategy walkthrough,
file tables, testing strategy, risks. NO task-by-task listing (that's in tasks.yaml).content: Brief summary (scope + counts) and acceptance checklist ONLY.
Individual task details live exclusively in the tasks[] structured array.tasks[]: The single source of truth for all task details (title,
description, TDD cycles, acceptance criteria, dependencies, effort).CRITICAL: Update status in YAML source files AND feature.yaml:
Update the status field in each YAML source file:
spec.yaml → set status.phase: planning (was research)research.yaml → set status.phase: planning (was research)plan.yaml → set status.phase: planning, status.updatedAt: <today's date>tasks.yaml → set status.phase: implementation, status.updatedAt: <today's date>Update feature.yaml:
# specs/NNN-feature-name/feature.yaml
feature:
lifecycle: 'implementation' # Update from "planning"
status:
phase: 'ready-to-implement' # Update from "planning"
progress:
total: <count from tasks.yaml> # Count tasks[].id entries
lastUpdated: '<timestamp>'
lastUpdatedBy: 'shep-kit:plan'
checkpoints:
# Add new checkpoint:
- phase: 'plan-complete'
completedAt: '<timestamp>'
completedBy: 'shep-kit:plan'Count tasks from the YAML array (not markdown grep):
# Count entries in tasks.yaml tasks[] array
yq '.tasks | length' specs/NNN-feature-name/tasks.yamlReference: docs/development/feature-yaml-protocol.md
If feature requires entity changes:
git add specs/NNN-feature-name/
git commit -m "feat(specs): add NNN-feature-name implementation plan"Inform the user:
Plan complete for
NNN-feature-name! Ready to implement. Use tasks.yaml to track progress.⚠️ MANDATORY TDD: Each phase follows RED-GREEN-REFACTOR:
- RED: Write failing test FIRST
- GREEN: Write minimal code to pass
- REFACTOR: Improve while keeping tests green
MANDATORY Phase Completion Workflow:
After EACH phase:
- Update tasks.yaml status fields FREQUENTLY (as you complete items, not at the end!)
- Commit and push:
git add . && git commit -m "feat: complete phase N" && git push- Watch CI:
gh run watch --exit-status- If CI fails: Fix → Commit → Push → Watch again (LOOP until green)
- Only proceed to next phase after CI passes
IMPORTANT: After implementation, update all spec file statuses to "Complete"
.claude/skills/shep-kit-new-feature/templates/plan.yaml.claude/skills/shep-kit-new-feature/templates/tasks.yaml.claude/skills/shep-kit-new-feature/templates/data-model.mdSee: .claude/skills/shep-kit-plan/examples/sample-plan.md
shep-ai/shep
6e56c93
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.