/repertoire:interview-to-specfrom repertoire
Interviews users to turn vague feature requests into self-contained SPEC.md files with observable acceptance criteria. Reads the codebase to ask targeted questions, then writes only the spec without any implementation.
Ships in repertoire. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn a rough feature request into one self-contained spec by asking the user only the questions whose answers would change the design. The spec is the sole deliverable. A fresh session implements it, so it must stand without this conversation.
Hard gate: write no implementation in this session. No source edits, no scaffolding, no prototype, even when the user asks for one mid-interview. Finish or park the spec, then tell them to implement in a fresh session that reads the spec and not the interview. An implementation that grows out of the interview inherits every guess the interview was meant to remove.
AskUserQuestion, so it would fill the gaps with guesses, which are exactly what the interview exists to remove.Stop and say so, rather than interviewing, when the user already has a written spec (that is a repertoire:junior-engineer job) or when the request is a one-sentence change with one obvious implementation (a spec would be a longer version of the diff).
SPEC.md, specs/, docs/specs/, docs/rfcs/, and .claude/specs/, and check CONTRIBUTING.md or README.md for a stated convention. Default when nothing exists: SPEC.md at the repository root. If a spec already exists for a different feature, ask where this one goes. If one exists for this feature, go to Failure handling, "Rerun".List every question whose answer would change the design. Then cut:
Order what remains by how much the answer would change the design. The usual order:
Read references/question-bank.md when you can't think of what would change the design for this kind of feature, or when you're unsure how to turn a question into options.
AskUserQuestion, never as prose. One call per round, at most four questions, each with two to four concrete options whose description states the consequence ("Reject with 409; callers retry" rather than "Yes"). The user can always type a different answer.Stopping rules:
Summarize the design in sections (scope, behavior, edges, out of scope, verification), short enough to read on one screen, and ask with AskUserQuestion whether to approve, revise a named section, or add something. Loop until approved. A wrong summary is cheaper to fix than a wrong spec.
Read ${CLAUDE_SKILL_DIR}/assets/spec-template.md and write the filled version to the path from step 1 in one Write. Fill every section. Rules:
[[...]] placeholder survives. A section that doesn't apply says "None" and why.git rev-parse --short HEAD. If that fails, write "None (not a git repository)" rather than guessing.repertoire:referee can judge: a command and its expected output, a request and its response, or steps and the visible result.
bun test src/search passes, and GET /api/search?q= returns 400 with { "error": "q required" }." (sample command and values)Done means all of these hold, checked by re-reading the written file rather than your memory of it:
\[\[ (the literal string [[; unescaped, it's an unclosed character class and the search errors) finds nothing in it.Report in four parts: completed (spec path, sections, number of acceptance criteria), failed (anything you couldn't determine, such as a convention or a test command), skipped (questions cut, and why), and unverified (assumptions and open questions).
Then offer, with AskUserQuestion, to run repertoire:junior-engineer on the spec. It reads the spec cold and reports what an implementer would still have to guess. If the user accepts, delegate with only the spec path and the repository root, never this transcript. Fold any blocking question it returns into one more interview round and update the spec.
Close by telling the user to implement in a fresh session that reads the spec. Don't start implementation here, even if the user approves it.
Status: Draft and every unanswered question under Open Questions. A partial spec is resumable; an unwritten one is lost.AskUserQuestion unavailable, as in a headless or noninteractive run: stop and say the interview can't run. Don't answer the questions yourself.What SKILL.md sets; muted values are Claude Code's defaults
19 skills in this plugin
/agentic-coding-patternsRoutes a recurring failure with coding agents, or a task about to start, to one of fifteen patterns, checks the pattern's reasons not to use it, and names the repertoire component or mechanism that implements it. Use when an agent claims done too early, a plan went wrong late, a session repeats a past dead end, or an unattended run must be made safe. Not for executing a pattern, debugging one bug (debugging-protocol), writing a plan or spec (plan-writer, interview-to-spec), or authoring a component (skill-builder)./browser-checkChecks the agent's own UI work in a real browser by starting the app locally, writing short Playwright scripts that look before they act, reading the console, and fixing what it finds in the same session. Use after changing anything a user sees in a web app, before calling the change done. Not for writing the permanent end-to-end suite, reviewing visual design, browsing external sites, or checking a deployed environment unless the user names one, or proving non-UI work before completion (repertoire:verification-gate)./commit-and-pr-authorTurns a session's changes into a reviewable history. Splits unrelated changes into separate commits, writes each message to the repository's commit convention (discovered first) with the why taken from the conversation, and fills a pull request description with the problem, approach, rejected alternatives, the verification commands actually run with their output, and where to review first. Use when work is ready to commit or a pull request needs writing. Never pushes or opens the pull request unless asked. Not for reviewing the change (/repertoire:review-change), not for fixing CI or review comments on an open pull request (pr-shepherd, taking-review-feedback), and not for merging./consult-codexGets a second opinion from OpenAI Codex by running one read-only, ephemeral `codex exec` and verifying its claims against the source before reporting them. Use when a question benefits from a model with different blind spots, such as risky logic before a merge, a same-model review that keeps approving, or the user asking what Codex thinks. Not for same-model review (/repertoire:review-change, repertoire:stickler), letting Codex edit anything, or calling Claude Code from Codex./debugging-protocolStops the agent from guessing at fixes. Before any fix for a bug, failing test, or unexpected behavior, it reproduces, compares with working code, tests one hypothesis at a time, then fixes from a failing test, asking repertoire:advisor after two failed fixes. Use the moment a fix is about to be proposed, even an obvious one. Not for building new behavior (test-first-loop), for proving finished work before calling it done (verification-gate), or for a bug in unfamiliar code with many suspects, which /repertoire:localize-fault investigates in parallel./delegation-briefMakes the main agent write a full brief before every Agent or Workflow call: the bounded assignment, inputs and revision, owned paths, allowed actions, what is withheld by role, the output shape with permission to return nothing, and the stopping condition; one brief per independent problem when fanning out. Use at the moment of delegation; preload it in repertoire:orchestrator. Not for changing a worker's definition (/repertoire:optimize-component), judging the result (repertoire:referee), or a task smaller than its brief.npx claudepluginhub stevekinney/repertoire --plugin repertoireOther plugins' skills for the same job