skills/spec-interview/SKILL.md
Interview the user about a feature before writing any code. Produces a reusable SPEC.md artifact. Use when starting any non-trivial feature.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers spec-interviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Before writing code, interview the user to surface all requirements, constraints, and edge cases. Then write a SPEC.md they can hand to a new session.
Step 1 — Context Load Read any existing SPEC.md, README, or plan files in the current directory. Don't re-ask what's already documented.
Step 2 — Structured Interview Ask targeted questions using AskUserQuestion. Cover:
Ask in batches (2-3 questions at a time), not one at a time. Stop when you have full clarity.
Prefer multiple-choice over open-ended. When a question has a finite set of likely answers, use AskUserQuestion with predefined options. This is faster for the user and forces clearer thinking. Reserve open-ended questions for truly novel requirements. Example:
Step 3 — Write SPEC.md
# Spec: [Feature Name]
Date: [today]
## Summary
[1-2 sentence description]
## Requirements
- [Bullet list of concrete requirements]
## Out of Scope
- [What this version explicitly doesn't do]
## Edge Cases
- [List of edge cases and expected behavior]
## Technical Constraints
- [Performance, auth, compatibility requirements]
## Integration Points
- [Systems, APIs, databases this touches]
## Acceptance Criteria (BDD)
For each requirement, write at least one acceptance criterion:
Given [precondition] When [action] Then [expected outcome]
Example:
Given a user with no saved addresses When they reach the checkout page Then they see an "Add Address" form instead of an address selector
## Open Questions
- [Any unresolved decisions]
## Implementation Notes
- [Anything Claude should know before starting]
Step 4 — Recommend fresh session
Tell the user: "SPEC.md is ready. Start a new session and paste: Implement per SPEC.md" — this gives the implementer full context window.
tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.