Prime Feature Context
Load all planning artifacts and context for feature {{feature_number}}.
Artifact Locations
- Find the feature folder: check
backlog/plans/{{feature_number}}-*/first, thenbacklog/plans/_completed/{{feature_number}}-*/ - Read all planning documents:
- analysis.md
- spec.md
- research.md
- plan.md
- data-model.md
- tasks.md
- contracts/ (all files)
- Read spec tests:
specs/tests/{{feature_number}}-*.md - Check git branch status for
feature/{{feature_number}}-*
Workflow
- Check
backlog/plans/first for in-progress features, thenbacklog/plans/_completed/for completed ones - Use
ls backlog/plans/ backlog/plans/_completed/to find the folder matching{{feature_number}}-* - Once found, extract the full feature ID (e.g.,
001-mcp-integration) and path - Read all files in
{feature-path}/:- Start with
analysis.md,spec.md,plan.md(core docs) - Then
data-model.md,tasks.md,research.md - Finally list and read files in
contracts/directory
- Start with
- Read
specs/tests/{feature-id}.mdif it exists - Run
git statusandgit branch --show-currentto check current branch - If not on the feature branch, suggest:
git checkout feature/{feature-id} - Analyze
tasks.mdand summarize:- Total task count
- Completed count (checked boxes)
- Current phase based on task completion
- Next uncompleted task
Output Summary
Feature: {NNN}-{slug}
Branch: feature/{NNN}-{slug} (current: {actual-branch})
Status: Phase {N} - {phase-name} ({completed}/{total} tasks)
Next task: T{NNN} - {task-description}
Ready to continue work on this feature.
Important: Do NOT provide a detailed summary of the documents - they are already loaded into context. Confirm what was loaded and show the status summary only.