spec-planner
Dialogue-driven spec development through skeptical questioning and iterative refinement. Triggers: "spec this out", feature planning, architecture decisions, "is this worth it?" questions, RFC/design doc creation, work scoping. Invoke Librarian for unfamiliar tech/frameworks/APIs.
Install
mkdir -p .claude/skills/spec-planner && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5068" && unzip -o skill.zip -d .claude/skills/spec-planner && rm skill.zipInstalls to .claude/skills/spec-planner
About this skill
Spec Planner
Produce implementation-ready specs through rigorous dialogue and honest trade-off analysis.
Core Philosophy
- Dialogue over deliverables — Plans emerge from discussion, not assumption
- Skeptical by default — Requirements are incomplete until proven otherwise
- Second-order thinking — Consider downstream effects and maintenance burden
Workflow Phases
CLARIFY ──[user responds]──► DISCOVER ──[done]──► DRAFT ──[complete]──► REFINE ──[approved]──► DONE
│ │ │ │
└──[still ambiguous]──◄──────┴───────────────────┴────[gaps found]──────┘
State phase at end of every response:
---
Phase: CLARIFY | Waiting for: answers to questions 1-4
Phase 1: CLARIFY (Mandatory)
Hard rule: No spec until user has responded to at least one round of questions.
- STOP. Do not proceed to planning.
- Identify gaps in: scope, motivation, constraints, edge cases, success criteria
- Ask 3-5 pointed questions that would change the approach. USE YOUR QUESTION TOOL.
- Wait for responses
IMPORTANT: Always use the question tool to ask clarifying questions. Do NOT output questions as freeform text. The question tool provides structured options and better UX. Example:
question({
questions: [{
header: "Scope",
question: "Which subsystems need detailed specs?",
options: [
{ label: "VCS layer", description: "jj-lib + gix unified interface" },
{ label: "Review workflow", description: "GitHub PR-style local review" },
{ label: "Event system", description: "pub/sub + persistence" }
],
multiple: true
}]
})
| Category | Example |
|---|---|
| Scope | "Share where? Social media? Direct link? Embed?" |
| Motivation | "What user problem are we actually solving?" |
| Constraints | "Does this need to work with existing privacy settings?" |
| Success | "How will we know this worked?" |
Escape prevention: Even if request seems complete, ask 2+ clarifying questions. Skip only for mechanical requests (e.g., "rename X to Y").
Anti-patterns to resist:
- "Just give me a rough plan" → Still needs scope questions
- "I'll figure out the details" → Those details ARE the spec
- Very long initial request → Longer ≠ clearer; probe assumptions
Transition: User answered AND no new ambiguities → DISCOVER
Phase 2: DISCOVER
After clarification, before planning: Understand existing system.
Launch explore subagents in parallel:
Task(
subagent_type="explore",
description="Explore [area name]",
prompt="Explore [area]. Return: key files, abstractions, patterns, integration points."
)
| Target | What to Find |
|---|---|
| Affected area | Files, modules that will change |
| Existing patterns | How similar features are implemented |
| Integration points | APIs, events, data flows touched |
If unfamiliar tech involved, invoke Librarian:
Task(
subagent_type="librarian",
description="Research [tech name]",
prompt="Research [tech] for [use case]. Return: recommended approach, gotchas, production patterns."
)
Output: Brief architecture summary before proposing solutions.
Transition: System context understood → DRAFT
Phase 3: DRAFT
Apply planning framework from decision-frameworks.md:
- Problem Definition — What are we solving? For whom? Cost of not solving?
- Constraints Inventory — Time, system, knowledge, scope ceiling
- Solution Space — Simplest → Balanced → Full engineering solution
- Trade-off Analysis — See table format in references
- Recommendation — One clear choice with reasoning
Use appropriate template from templates.md:
- Quick Decision — Scoped technical choices
- Feature Plan — New feature development
- ADR — Architecture decisions
- RFC — Larger proposals
Transition: Spec produced → REFINE
Phase 4: REFINE
Run completeness check:
| Criterion | Check |
|---|---|
| Scope bounded | Every deliverable listed; non-goals explicit |
| Ambiguity resolved | No "TBD" or "to be determined" |
| Acceptance testable | Each criterion pass/fail verifiable |
| Dependencies ordered | Clear what blocks what |
| Types defined | Data shapes specified (not "some object") |
| Effort estimated | Each deliverable has S/M/L/XL |
| Risks identified | At least 2 risks with mitigations |
| Open questions | Resolved OR assigned owner |
If any criterion fails: Return to dialogue. "To finalize, I need clarity on: [failing criteria]."
Transition: All criteria pass + user approval → DONE
Phase 5: DONE
Final Output
=== Spec Complete ===
Phase: DONE
Type: <feature plan | architecture decision | refactoring | strategy>
Effort: <S/M/L/XL>
Status: Ready for task breakdown
Discovery:
- Explored: <areas investigated>
- Key findings: <relevant architecture/patterns>
Recommendation:
<brief summary>
Key Trade-offs:
- <what we're choosing vs alternatives>
Deliverables (Ordered):
1. [D1] (effort) — depends on: -
2. [D2] (effort) — depends on: D1
Open Questions:
- [ ] <if any remain> → Owner: [who]
Write Spec to File (MANDATORY)
- Derive filename from feature/decision name (kebab-case)
- Write spec to
specs/<filename>.md - Confirm:
Spec written to: specs/<filename>.md
Effort Estimates
| Size | Time | Scope |
|---|---|---|
| S | <1 hour | Single file, isolated change |
| M | 1-3 hours | Few files, contained feature |
| L | 1-2 days | Cross-cutting, multiple components |
| XL | >2 days | Major refactor, new system |
Scope Control
When scope creeps:
- Name it: "That's scope expansion. Let's finish X first."
- Park it: "Added to Open Questions. Revisit after core spec stable."
- Cost it: "Adding Y changes effort from M to XL. Worth it?"
Hard rule: If scope changes, re-estimate and flag explicitly.
References
| File | When to Read |
|---|---|
| templates.md | Output formats for plans, ADRs, RFCs |
| decision-frameworks.md | Complex multi-factor decisions |
| estimation.md | Breaking down work, avoiding underestimation |
| technical-debt.md | Evaluating refactoring ROI |
Integration
| Agent | When to Invoke |
|---|---|
| Librarian | Research unfamiliar tech, APIs, frameworks |
| Oracle | Deep architectural analysis, complex debugging |
More by dmmulroy
View all skills by dmmulroy →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). 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."
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversGuide your software projects with structured prompts from requirements to code using the waterfall development model and
Anubis streamlines artificial intelligence development software with AI for software development, using role-based agent
Magic-API is an advanced API documentation platform for managing, debugging, and exploring your swagger API and openapi
Streamline your team software process with Spec-Driven Development, optimizing the software development life cycle using
Streamline your software development life cycle with Spec-Driven Development: organized specs, template-driven code, and
Spec-Driven Development integrates with IBM DOORS software to track software licenses, automate requirements, and enforc
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.