Refine Existing Spec
Refine an existing specification based on new insights, feedback, or changing requirements.
Instructions
- •
Load the existing spec from
/specs/{feature}.md- •If no spec exists for this feature, suggest using the
specskill instead - •If multiple specs match, ask the user which one to refine
- •If no spec exists for this feature, suggest using the
- •
Ask 2-3 focused refinement questions (one at a time):
- •What aspect needs refinement? (goals, criteria, approach, scope)
- •What new information or feedback has emerged?
- •Are there specific pain points with the current spec?
- •
Update the spec in place:
- •Preserve front-matter: Keep all existing front-matter fields (title, description, author). Keep
status: proposed(refinements don't change status) - •Preserve completed acceptance criteria checkboxes
- •Update goals, criteria, or approach as needed
- •Add to "Out of Scope" if removing features
- •Add refinement notes to the "Notes" section with timestamp
- •Preserve front-matter: Keep all existing front-matter fields (title, description, author). Keep
- •
Show a diff summary:
- •Highlight what changed (goals, new criteria, removed items, etc.)
- •Ask for confirmation before saving
- •
Get user confirmation before proceeding to implementation
- •If confirmed, use the implement skill with the refined spec
- •If not, ask if they want to refine further
Refinement Guidelines
- •Preserve progress: Don't uncheck completed criteria unless they're no longer valid
- •Be additive when possible: Add new criteria rather than rewriting existing ones
- •Document changes: Always add a timestamped note explaining what was refined and why
- •Validate scope: Check if refinements are expanding scope significantly - if so, suggest a new spec
Example Refinement Note
markdown
## Notes **Refinement 2026-01-25**: Updated approach to use WebSocket instead of polling based on performance testing results. Added new acceptance criterion for connection handling.
Remember:
- •Keep refinements focused and minimal
- •Preserve the spec's history through notes
- •Suggest new specs for major scope changes