agentleFS
YogirajAYogirajA/Claude-Skills/spec-interview/SKILL.md

spec-interview

Skill1 starsChanged 56 days agoMITView on GitHub

Use when the user wants to be interviewed into a written spec instead of prompting back and forth: when they already know roughly what they want built and need it pinned down fast, when they are iterating prompt-by-prompt and want to stop, or when they say "interview me", "spec me", "ask me questions first", or "help me write the spec". Ends in a spec they approve before any building. For a fuzzy idea that still needs 2-3 approaches explored first, use superpowers:brainstorming instead.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If mid-interview the answers reveal real design uncertainty (you do not yet know the approach, or there are competing architectures), stop …

    line 40
  2. Distinctive:

    Ask one question per message.

    line 46
  3. Distinctive:

    Before the spec becomes a plan, grade it.

    line 84
  4. Distinctive:

    Only a clean pass proceeds.

    line 98
  5. Distinctive:

    High-stakes specs (optional second critic): when a wrong build is expensive, get a second, independent review, ideally a different model …

    line 101
  6. Distinctive:

    scope-creep-check: if an answer balloons the scope, pull that brake rather than quietly absorbing the growth into the spec.

    line 132

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spec Interview

Depends on: the superpowers plugin. This skill escalates to superpowers:brainstorming, hands off to superpowers:writing-plans, and writes to docs/superpowers/specs/.

Overview

A spec is you handing your understanding to the agent in a form it can act on. The agent can compute, but it cannot decide your goal or read your context. So the fastest route to a good build is not more prompts: it is a short, sharp interview that pulls the spec out of your head, one question at a time, grades whether the task is actually thought through, and stops for your approval before a single line is built.

This is the fast path. It assumes you roughly know what you want and just need it tight.

When to use, and when not

SituationUse
You know the rough shape, want a tight spec fast, keep re-prompting insteadthis skill
The idea is fuzzy and needs 2-3 approaches weighed before any design existssuperpowers:brainstorming
A one-line change with an obvious answerneither, just do it (see ponytail)

If mid-interview the answers reveal real design uncertainty (you do not yet know the approach, or there are competing architectures), stop and hand off to superpowers:brainstorming. Do not turn this into a full design exploration.

The interview

Ask one question per message. Skip any you can already answer from context or the conversation: never ask what you can infer, it wastes the user's time and reads as not listening. Prefer concrete, multiple-choice framings where you can. Aim for the core 5, add up to 3 more when they apply.

Core five (always):

  1. Goal, not task. "What decision or outcome does this drive? If it works perfectly, what changes, and how would you know?" Extracts the real goal, the one thing the agent can never decide for you.
  2. Done looks like. "Give me the 2-3 checks you would run to accept this. What does good look like, precisely?" Extracts verifiable acceptance criteria, set up front, not after.
  3. Out of scope. "What tempting things are we deliberately NOT doing this pass?" Extracts non-goals and keeps the scope one slice wide.
  4. Context and inputs. "Who or what uses this, on what real data or environment? What would I get wrong by assuming?" Extracts the context the agent has no signal for.
  5. Hard constraints. "What is fixed and what must not break: stack, dependencies, performance, security, style, deadline?" Extracts the guardrails.

Add up to three when they apply:

  1. Prior art. "Does something like this already exist here to extend or match, rather than build fresh?" Reuse before building.
  2. Riskiest unknown. "What are you least sure about, and where do you want a checkpoint before I go further?" Sets the agile review point.
  3. First slice. "What is the smallest slice that proves the approach?" Extracts the MVP cut.

Before you write: verify the load-bearing calls

Echo back the 3-5 decisions the whole spec rests on and get an explicit yes on each: "I am about to assume X, Y, Z. Confirm or correct each." This is the step that catches a confident, wrong spec before it becomes a confident, wrong build.

Eval: is the task thought through?

Before the spec becomes a plan, grade it. This is the verifier layer: a spec is thought through only if a builder with zero context could execute it and know when they are done. Grade the draft with fresh eyes, each row pass or fail.

#CheckFails when
1Goal is an outcomeit restates the task ("build X") with no decision or change behind it
2Acceptance criteria are runnablethey say "looks good" instead of a check you could actually run
3Scope has a hard edgenothing is listed out of scope; the boundary is left implicit
4Constraints are exact"fast", "secure", "modern" instead of verbatim versions, limits, names
5A stranger could build itany load-bearing decision is still deferred or ambiguous
6Risk has a checkpointthe riskiest unknown is unnamed, or has no review point

Any fail loops back to the interview question that owns it: fix, then re-grade. Only a clean pass proceeds. Prefer deterministic, checkable criteria over judgment where you can: an eval you can run beats one you have to feel.

High-stakes specs (optional second critic): when a wrong build is expensive, get a second, independent review, ideally a different model (Codex via the plugin) or a fresh subagent, prompted to find the holes, unstated assumptions, unmeasurable criteria, missing edge cases. A critic with a different training set catches what the author is blind to.

The acceptance criteria locked here become the build-time eval later: the plan and the finished work get checked against the same bar. Set the criteria once, in the spec, and reuse them.

Output

  1. Draft the spec to docs/superpowers/specs/YYYY-MM-DD-<topic>-spec.md (the same place superpowers writes, so it feeds the same pipeline; a user preference for spec location overrides this). Sections: Goal / outcome, Acceptance criteria, Scope (in and explicitly out), Context and inputs, Constraints (verbatim, exact values), Open risks and checkpoints, First slice.
  2. Eval the draft against the rubric above. Loop back on any fail.
  3. HARD GATE: present the spec for approval. Do not write code, scaffold, or invoke any build skill until it is written and the user has approved it, no matter how simple the task looks.
  4. Hand off: offer superpowers:writing-plans to turn the approved spec into an implementation plan. That is the only hand-off: this spec is not a to-tickets input (/to-spec produces that).

Complements, does not replace

  • superpowers:brainstorming: the heavier sibling for fuzzy ideas. Escalate to it if the interview uncovers real design uncertainty; this skill is the fast path when the shape is already known. Same spec location, same downstream, so the two never fight over the artifact.
  • scope-creep-check: if an answer balloons the scope, pull that brake rather than quietly absorbing the growth into the spec.
  • ponytail: governs how the build stays minimal once the spec is set. Keep the spec YAGNI so the two agree.

Make it better by using it

These questions are a starting battery, not scripture. The best way to find a weak question is to run the interview for real, then cut or sharpen whatever produced a vague answer. Run water through it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.