/mad-skills:speccy Goal, feature, or high-level description to specifyfrom mad-skills
Interviews users through targeted questions to build comprehensive specifications. Reviews existing code/docs, then produces a structured spec in specs/. Use when starting a new feature, system, or major change.
Ships in mad-skills. 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; scripts run unread.
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:
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
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.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:
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.
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.
Before gathering context, check if the user is on a stale branch:
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:
/prime to load domain-specific context
(project instructions, specs, memory). If /prime is unavailable, fall back to
the manual scan below.AGENTS.md if present, plus CLAUDE.md if it holds anything
beyond @AGENTS.md (project conventions, structure, domain)specs/ directory for existing specificationsGroup gaps into interview categories:
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.
(Recommended) to its label.
At least one question per round should have a recommendation where possible.Each round follows this pattern:
Stop interviewing when ALL of the following are true:
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.
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:
Create specs/ directory if it doesn't exist:
mkdir -p specs
Read the spec template from references/spec-template.md
Generate the spec by filling the template with:
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.
The specs/ directory is the standard location — /build and /prime
both scan it automatically.
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.
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.
references/autonomous-interview.md (opens in a new tab)references/interview-guide.md (opens in a new tab)references/spec-template-small.md (opens in a new tab)references/spec-template.md (opens in a new tab)scripts/spec-completeness-check.sh (opens in a new tab)scripts/spec-completeness-check.test.js (opens in a new tab)scripts/spec-eligibility-check.sh (opens in a new tab)scripts/spec-eligibility-check.test.js (opens in a new tab)tests/evals.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub slamb2k/mad-skills --plugin mad-skills14 skills in this plugin
/braceInitialize any project directory with a standard scaffold for AI-assisted development. Creates specs/ and context/ directories, a project AGENTS.md with development workflow and guardrails (plus a CLAUDE.md that just points at it), .gitignore, and branch protection. Idempotent — safe to run on existing projects. Triggers: "init project", "setup brace", "brace", "initialize", "bootstrap", "scaffold"./buildContext-isolated feature development pipeline. Takes a detailed design/plan as argument and executes the full feature-dev lifecycle (explore, question, architect, implement, review, ship) inside subagents so the primary conversation stays compact. Use when you have a well-defined plan and want autonomous execution with minimal context window consumption./distilGenerate multiple unique web design variations for any website or web application. Accepts site specifications from a file (--spec path) or pasted text block. Creates a Vite + React + TypeScript + Tailwind project with Bun and produces N different creative designs accessible at /1, /2, /3, etc. Use when prototyping or exploring design directions for any web interface./dockGenerate container-based release pipelines that build once and promote immutable artifacts through environments (dev → staging → prod). Detects your stack, interviews for infrastructure choices, then outputs deterministic CI/CD files (Dockerfile, workflows, deployment manifests) that run without an LLM. Use when setting up deployment pipelines, containerizing an app, creating release workflows, or connecting CI to container-friendly infrastructure (Azure Container Apps, AWS Fargate, Google Cloud Run, Kubernetes, Dokku, Coolify, CapRover, etc.)./ferryFerry a session's live state across a context reset — persist a waybill document and arm a one-shot handoff so the next fresh session resumes from it. Use when the user types /ferry, says they want to hand off, checkpoint, wrap up, clear context, or start fresh while preserving state, or asks to carry work into a new session with clean optimised context. Captures task, status, next steps, key files, decisions, gotchas and repo state, writes a waybill (outside the repo by default), arms the handoff, and tells the user to /clear. "/ferry clean" lists and removes leftover waybills this skill created./hoistGenerate secure, low-infrastructure release pipelines that publish artifacts directly — language packages (npm, PyPI, crates, RubyGems, NuGet, Go), GitHub Releases with binaries, static sites/Pages, or serverless functions — without building a container image. OIDC/trusted publishing, provenance, idempotent publish guards, and three trigger models (auto-bump with optional approval, tag, manual). The non-container sibling of /dock. Use when releasing a package or app that doesn't ship as a container.