wayfinder
MAmattpocock/skills336k4,217 new stars in the last 7 days
Turn a fuzzy feature idea into a self-contained SPEC.md by interviewing you first. Claude asks about scope, behavior, edge cases, and verification, then writes a spec a fresh implementation session can execute. Use before building anything non-trivial.
Separate deciding WHAT to build from building it. Interview the user, ground the answers in the actual codebase, then write a self-contained SPEC.md a fresh session can execute without you in the room. $ARGUMENTS is an optional starting description.
Run this in a session that already has the repo open, so the questions are informed by real code.
Skim the codebase for what the feature will touch: the relevant modules, existing patterns to match, the test setup, and any similar feature to model after. Read only — you're gathering context to interview well, not building.
Ask only what you can't answer from the code, in focused rounds (use AskUserQuestion; batch related questions). Cover:
Where the code implies an answer, propose it as the default in the question rather than asking cold.
Write SPEC.md at the project root (NOT in .claude/). Make it self-contained — a fresh session with no memory of this conversation should be able to execute it:
# Spec: <feature>
## Goal
<what and why, 2-3 sentences>
## Scope
- In: <what this iteration delivers>
- Out: <explicitly deferred>
## Behavior
- <happy path>
- <edge cases and how each should behave>
## Touch points
- <exact files / modules / interfaces involved, as file:path — named, not vague>
## Constraints
- <compat, performance, security, data/migration>
## Verification
- <the exact end-to-end check: command to run, test to pass, or behavior to observe>
## Open questions
- <anything still undecided — none is ideal>
Show the draft and confirm before writing. Then tell the user to run the implementation in a fresh session (/clear first) so it starts with a clean context and the spec as its brief.
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days