speccy
/speccy
Deep-dive interview skill for creating comprehensive specifications. Reviews existing code and docs, then interviews the user through multiple rounds of targeted questions covering technical implementation, UI/UX, concerns, and tradeoffs. Produces a structured spec in specs/. Use when starting a new feature, system, or major change that needs a spec.
- Author
- slamb2k ↗
- Repository
- mad-skills ↗
- Licence
- MIT
- Last repository change
- 03.10.2026
Assessment and security
- Files in this package
- 10
- Scripts
- 4
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 03.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 4 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/spec-completeness-check.sh, scripts/spec-completeness-check.test.js, scripts/spec-eligibility-check.sh, scripts/spec-eligibility-check.test.js
What it does and when to use it
Deep-dive interview skill for creating comprehensive specifications. Reviews existing code and docs, then interviews the user through multiple rounds of targeted questions covering technical implementation, UI/UX, concerns, and tradeoffs. Produces a structured spec in specs/. Use when starting a new feature, system, or major change that needs a spec.
Arguments
/speccy Goal, feature, or high-level description to specify
Original author description
Deep-dive interview skill for creating comprehensive specifications. Reviews existing code and docs, then interviews the user through multiple rounds of targeted questions covering technical implementation, UI/UX, concerns, and tradeoffs. Produces a structured spec in specs/. Use when starting a new feature, system, or major change that needs a spec.
How it works
- Output Formatting
- Flags
- Pre-flight
- Stage 1: Context Gathering
- Stage 2: Interview Rounds
- Stage 3: Generate Specification
- Output & Handoff
SKILL.md preview
---
name: speccy
description: Deep-dive interview skill for creating comprehensive specifications. Reviews existing code and docs, then interviews the user through multiple rounds of targeted questions covering technical implementation, UI/UX, concerns, and tradeoffs. Produces a structured spec in specs/. Use when starting a new feature, system, or major change that needs a spec.
argument-hint: Goal, feature, or high-level description to specify
allowed-tools: Bash, Read, Write, Edit, Glob, Grep, Agent, AskUserQuestion, Skill
---
# Speccy - Interview-Driven Specification Builder
When this skill is invoked, IMMEDIATELY output the banner below before doing anything else.
Pick ONE tagline at random — vary your choice each time.
CRITICAL: Reproduce the banner EXACTLY character-for-character, including the diagonal `/` glyph before the name.
```
{tagline}
/$$ /$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$
/$$//$$__ $$| $$__ $$| $$_____/ /$$__ $$ /$$__ $$| $$ /$$/
/$$/| $$ \__/| $$ \ $$| $$ | $$ \__/| $$ \__/ \ $$ /$$/
/$$/ | $$$$$$ | $$$$$$$/| $$$$$ | $$ | $$ \ $$$$/
/$$/ \____ $$| $$____/ | $$__/ | $$ | $$ \ $$/
/$$/ /$$ \ $$| $$ | $$ | $$ $$| $$ $$ | $$
/$$/ | $$$$$$/| $$ | $$$$$$$$| $$$$$$/| $$$$$$/ | $$
|__/ \______/ |__/ |________/ \______/ \______/ |__/
```
Taglines:
- 🔍 Tell me everything...
- 🧠 Let's think this through!
- 📋 Spec it before you wreck it!
- 🎤 Interview mode: ACTIVATED
- 💡 Great specs start with great questions!
- 🏗️ Measure twice, code once!
- 📝 No assumption left behind!
- 🎯 Precision engineering starts here!
---
## Output Formatting
After the banner, display parsed input:
```
┌─ Input ────────────────────────────────────────
│ {Field}: {value}
│ Flags: {parsed flags or "none"}
└────────────────────────────────────────────────
```
Pre-flight results:
```
── Pre-flight ───────────────────────────────────
✅ {dep} {version or "found"}
⚠️ {dep} not found → {fallback detail}
❌ {dep} missing → stopping
──────────────────────────────────────────────────
```
Stage/phase headers: `━━ {N} · {Name} ━━━━━━━━━━━━━━━━━━━━━━━━━`
Status icons: ✅ done · ❌ failed · ⚠️ degraded · ⏳ working · ⏭️ skipped
---
Interview the user through multiple rounds of targeted questions to build
a comprehensive specification, then write it directly using the spec template
in `references/spec-template.md`.
Interview prompts and question guidelines: `references/interview-guide.md`
Spec template and writing guidelines: `references/spec-template.md`
## Flags
Parse optional flags from the request:
- `--no-superpowers`: Force the standalone interview even when Superpowers is installed
- `--auto`: Run autonomously — run the interview and completeness-gated spec write via `references/autonomous-interview.md` in the plain working directory, then arm the build handoff and stop. No git state is created (that is `/build`'s find-or-create job). Dispatch only; see Stage 1 and Stage 3 below.
## Pre-flight
Before starting, check all dependencies in this table:
| Dependency | Type | Check | Required | Resolution | Detail |
|-----------|------|-------|----------|------------|--------|
| prime | skill | `ls .claude/skills/prime/SKILL.md ~/.claude/skills/prime/SKILL.md ~/.claude/plugins/marketplaces/slamb2k/skills/prime/SKILL.md 2>/dev/null` | no | fallback | Context loading; falls back to manual project scan |
| superpowers | plugin | registered + enabled check via scripts/lib/superpowers.js | no | fallback | Defers Stage 2 interview to superpowers:brainstorming when present; see references/superpowers-deferral.md |
For each row, in order:
1. Test file existence (check both paths for symlinked skills)
2. If found: continue silently
3. If missing: apply Resolution strategy
4. After all checks: proceed to context gathering
---
## Stage 1: Context Gathering
**No git state — spec + build handoff only (pr-first-autonomous-build.md REQ-012, superseding bundled-approval-handoff.md's REQ-001/REQ-002):** `/speccy` creates no worktree, branch, commit, or PR at any point, in **both** `--auto` and interactive modes. The interview and inference run in the plain invoking working directory; `/speccy` writes only the spec file and arms the build handoff, then stops. All git state — worktree, branch, commit, draft PR — is now created by `/build`'s find-or-create pre-flight the first time `/build {spec}` runs (see Output & Handoff, and `references/autonomous-worktree-lifecycle.md` repo root).
**If `--auto`:** read `skills/speccy/references/autonomous-interview.md` and follow it for the rest of this skill instead of the interactive flow below.
### Pre-Spec Location Check
Before gathering context, run the shared root-mismatch check from
`references/location-check.md` (`{caller}` = "before Stage 1: Context
Gathering"). This is independent of the Pre-Spec Branch Check below.
### Pre-Spec Branch Check
Before gathering context, check if the user is on a stale branch:
```bash
CURRENT=$(git branch --show-current)
if [ "$CURRENT" != "main" ] && [ "$CURRENT" != "master" ]; then
git fetch origin main --quiet 2>/dev/null
BEHIND=$(git rev-list --count HEAD..origin/main 2>/dev/null || echo 0)
if [ "$BEHIND" -gt 5 ]; then
echo "⚠️ Branch '$CURRENT' is $BEHIND commits behind main."
echo " Consider running /sync before building from this spec."
fi
fi
```
This is advisory only (specs don't modify code) — do not block, continue
regardless of the result.
Before asking any questions, build a thorough understanding of the project:
1. **Capture GOAL** — the user's argument describing what needs to be specified
2. **Load project context** — invoke `/prime` to load domain-specific context
(project instructions, specs, memory). If /prime is unavailable, fall back to
the manual scan below.
3. **Scan the project** (skip items already loaded by /prime):
- Read `AGENTS.md` if present, plus `CLAUDE.md` if it holds anything
beyond `@AGENTS.md` (project conventions, structure, domain)
- Scan `specs/` directory for existing specifications
- Scan existing design docs for context
- Read relevant source code that relates to the GOAL
- Check memory for prior decisions or open questions related to the GOAL
3. **Identify knowledge gaps** — what must you learn from the user to write
a complete, unambiguous specification?
Group gaps into interview categories:
- **Architecture & Technical Design** — stack, patterns, data flow, integrations
- **Requirements & Scope** — what's in, what's out, must-haves vs nice-to-haves
- **UI & UX** — user flows, interaction patterns, accessibility, responsive
- **Security & Auth** — authentication, authorization, data protection
- **Infrastructure & Deployment** — hosting, CI/CD, environments, IaC
- **Data & Storage** — schemas, persistence, migrations, caching
- **Testing & Quality** — test strategy, coverage, acceptance criteria
- **Concerns & Tradeoffs** — known risks, alternatives considered, constraints
---
## Stage 2: Interview Rounds
Conduct multiple rounds of questions using `AskUserQuestion`. Continue until
all knowledge gaps are resolved.
**Superpowers deferral (soft dependency):** When Superpowers is detected (per the
pre-flight check) and the `--no-superpowers` flag is not set, announce
`⚡ Superpowers detected — deferring requirements interview to superpowers:brainstorming`
and use `superpowers:brainstorming` for requirements/gap exploration in place of
(or ahead of) the multi-round interview below. In ALL cases — deferred or
standalone — speccy still writes `specs/{slug}.md` and arms the build handoff
(see `references/superpowers-deferral.md`). When Superpowers is absent or
`--no-superpowers` is set, run the standalone interview unchanged.
### Question Rules
1. **4 questions per round maximum** (AskUserQuestion limit)
2. **Non-obvious questions only** — don't ask things you can determine from
reading the code or docs. The user's time is valuable.
3. **Recommendations** — where you have an informed opinion based on the
codebase, project conventions, or industry best practice, mark one option
as recommended by listing it first and appending `(Recommended)` to its label.
At least one question per round should have a recommendation where possible.
4. **Concise options** — 2-4 options per question, each with a clear
description of implications and tradeoffs
5. **Progressive depth** — start with high-level architecture and scope,
then drill into implementation details in later rounds
6. **Build on answers** — use previous round answers to inform next questions.
Don't re-ask decided topics.
7. **Track decisions** — maintain a running list of all decisions made.
Present this list at the start of each round so the user can see progress.
### Round Structure
Each round follows this pattern:
1. **Progress update** — brief summary of decisions made so far (after round 1)
2. **Category label** — which interview category this round covers
3. **Questions** — 3-4 targeted questions via AskUserQuestion
4. **Evaluate** — after answers, determine if more questions are needed
### Completion Criteria
Stop interviewing when ALL of the following are true:
- All identified knowledge gaps have been addressed
- No answer has raised new unresolved questions
- You have enough information to write every section of the spec template
- The user has confirmed scope boundaries (what's in and what's out)
When complete, briefly present a **Decision Summary** — a numbered list of
all decisions made across all rounds — and confirm with the user before
proceeding to spec generation.
---
## Stage 3: Generate Specification
**If `--auto`:** this stage runs in a subagent (REQ-033) and the completeness gate decides `autonomy_ready` — see `references/autonomous-interview.md`.
**Interactive mode (REQ-007):** before writing the spec, self-review it against
the same completeness gate — criteria in `references/autonomous-interview.md`'s
Stage 3. Set the `autonomy_ready` frontmatter field to `true` when every gate
item passes, `false` otherwise; the gate is no longer `--auto`-exclusive.
Once the interview is complete and decisions are confirmed:
1. **Create `specs/` directory** if it doesn't exist:
```
mkdir -p specs
```
2. **Read the spec template** from `references/spec-template.md`
3. **Generate the spec** by filling the template with:
- The original GOAL as the introduction and purpose
- All decisions from the interview rounds, mapped to the appropriate sections
- Code/architecture context discovered in Stage 1
- Acceptance criteria derived from requirements decisions
- Test strategy aligned with the project's existing patterns
4. **Write the spec file** to `specs/{name}.md` where `{name}` is a
kebab-case slug derived from the GOAL (e.g., `specs/user-auth.md`,
`specs/payment-integration.md`). Use the Write tool directly.
5. The `specs/` directory is the standard location — `/build` and `/prime`
both scan it automatically.
---
## Output & Handoff
**If `--auto`:** arm the build handoff (below) only — do NOT invoke `/ferry` and
do NOT tell the user to `/clear`. The handoff itself surfaces `/build {spec}` at
the next session start.
After the spec is created, report to the user:
```
┌─ Speccy · Report ──────────────────────────────
│
│ ✅ Spec complete
│
│ 📄 File: {spec file path}
│ 📋 Sections: {count}
│ 💬 Rounds: {interview rounds conducted}
│ ❓ Questions: {total questions asked}
│
│ 📝 Key decisions
│ • {decision 1}
│ • {decision 2}
│ • {decision 3}
│
│ 🔗 Links
│ Spec: {spec file path}
│
│ ⚡ Next steps
│ 1. Review the spec: {path}
│ 2. Run `/build {spec path}` to implement (reads the file automatically)
│
└─────────────────────────────────────────────────
```
**Handoff — spec + build handoff only (pr-first-autonomous-build.md REQ-012):** `/speccy`
creates **no git state** — no worktree, branch, commit, or PR. In **both**
`--auto` and interactive modes it writes only the spec file (above) and the
build handoff below, then stops. Worktree/branch/draft-PR creation is now
`/build`'s job, done as its find-or-create pre-flight the first time
`/build {spec}` runs (see `references/autonomous-worktree-lifecycle.md`, repo
root, "Creation — find-or-create" section). To pre-decide the ship-readiness
outcome, hand-edit the optional `completion_mode: pr | auto-ship` field into the
spec's frontmatter after generation (absent = ask at ship-readiness); `/speccy`
does not set it automatically.
```bash
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/slamb2k}"
node "$PLUGIN_ROOT/hooks/session-guard.cjs" handoff-arm --kind build --spec "{spec file path}"
```
The next session start (including after `/clear`) shows the pending build
command, and `/logbook` lists it as the first "on deck" item.
Then display the build command:
```
⚡ To implement, run: /build {spec file path}
(You can /clear first — the spec is saved; the next session start shows this command, and /logbook lists it)
```
The spec file persists on disk, so the user can `/clear` the conversation
to free context before running `/build`. This is the recommended flow for
large specs — clearing context gives `/build` maximum working room.
**IMPORTANT:** After generating the spec, STOP. Do NOT enter plan mode,
do NOT start implementing directly, do NOT invoke `/build` yourself, and
do NOT offer to execute the plan. The spec file is the handoff artifact —
the user controls when and how to invoke `/build`.
Files in this package (10)
- SKILL.md 14 KB
- references/autonomous-interview.md 12 KB
- references/interview-guide.md 3 KB
- references/spec-template-small.md 1 KB
- references/spec-template.md 5 KB
- scripts/spec-completeness-check.sh 3 KB
- scripts/spec-completeness-check.test.js 4 KB
- scripts/spec-eligibility-check.sh 3 KB
- scripts/spec-eligibility-check.test.js 4 KB
- tests/evals.json 12 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · slamb2k/mad-skills | 100 | MIT |
| aquivalabs/speccy | 100 | MIT |
Database snapshot: 13.11.2026 · package version 1d4e5c54ea03 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 90design-studio
Use when the user wants to design the project or a feature, or to revise an existing spec. Interactive session that interviews in rounds and writes the spec in docs/design/; it asks before writing and never touches code, issues or workflows, so it is safe at any stage of the project. - 100nf
Runs an in-depth feature-discovery interview that explores, challenges, and documents a new feature before planning. Use when asked to 'detail a feature', 'explore a new feature', 'feature discovery', 'interview about feature', 'spec out a feature', 'design a feature', 'think… - 100nf
Runs an in-depth feature-discovery interview that explores, challenges, and documents a new feature before planning. Use when asked to 'detail a feature', 'explore a new feature', 'feature discovery', 'interview about feature', 'spec out a feature', 'design a feature', 'think… - 100interview
Conducts exhaustive requirements-gathering interviews for software features or systems. Reads existing context, then asks structured numbered questions covering purpose, technical design, UI/UX, edge cases, security, and rollout. Use when the user says "interview me", "deep dive… - 100spec
Interview the user about a feature or project, then write a spec they can build from. Use when the user wants to plan, scope or spec something before coding, or runs /spec with an idea. - 90sdlc-specify
Create or update a feature specification (what and why, no implementation) in specs/NNN-slug/spec.md. Use for T3 features, when the user says 'spec this' or 'write a spec', or when requirements for existing behaviour change.