spec-planner
БесплатноБез исполняемых скриптовНе проверенDeep-dive specification planner. Interviews you thoroughly about new features, refactoring, or any work requiring planning. Use when you want to plan new…
от letehaha★ 280 звёзд на GitHubОб этом скилле
Spec Planner
An in-depth interviewing and specification writing skill that helps you think through features, refactoring, and architectural decisions before implementation.
When to Use This Skill
Activate when user:
- Wants to plan a new feature or functionality
- Needs to refactor existing code and wants to think it through
- Says "plan", "let's plan", "help me plan", "spec out", "design"
- Wants to discuss implementation details before coding
- Mentions wanting to think through tradeoffs or concerns
- References a SPEC.md file or asks to create one
Do NOT activate for:
- Simple bug fixes that don't need planning
- Documentation requests (use prd-creator for PRDs)
- Direct code implementation requests without planning context
Core Philosophy
Interview First, Write Second: Your primary job is to extract information from the user's head through thoughtful questioning. The spec document is a byproduct of thorough understanding.
No Obvious Questions: Never ask questions the user could answer by reading basic documentation. Focus on edge cases, tradeoffs, UX nuances, and non-obvious implementation concerns.
Continuous Until Complete: Keep interviewing until you've covered all aspects. Don't stop after one round of questions.
Interview Process
Phase 1: Context Gathering
- If user references a file (like @SPEC.md or any existing spec), read it first
- Explore relevant existing code to understand current architecture
- Identify what the user is trying to achieve at a high level
Phase 2: Deep-Dive Interviewing
Use AskUserQuestion tool repeatedly to probe deeply. Structure your questions across these dimensions:
Consult references/interview-questions.md for the full question bank. Cover these dimensions:
- Technical Implementation: Edge cases, failure conditions, async vs sync, rollback, validation, migrations, API contracts
- UI/UX: Loading states, error display, unexpected actions, confirmation dialogs, navigation, accessibility
- Data & State: Source of truth, staleness, caching, persistence, cascading deletes, consistency
- Security & Privacy: Access control, rate limiting, audit logging, sensitive data
- Integration & Dependencies: External services, failure handling, API limitations, feature interactions
- Tradeoffs & Alternatives: Approach justification, compromises, MVP scope, risk assessment
- Future Considerations: Evolution path, related features, changeability, extensibility vs simplicity
Phase 3: Clarification Rounds
After initial deep-dive:
- Summarize your understanding back to the user
- Identify any contradictions or gaps
- Ask follow-up questions based on their answers
- Continue until you have no more ambiguities
Phase 4: Spec Writing
Only after thorough interviewing, write the specification:
Location: Store specs in
docs/prds/using kebab-case naming (e.g.,transaction-bulk-edit.md)Structure:
- Overview (2-3 sentences max)
- Problem Statement
- Goals & Non-Goals (explicitly list what's OUT of scope)
- Technical Design (architecture, data flow, key decisions)
- Edge Cases & Error Handling
- UI/UX Specifications (if applicable)
- Security Considerations
- Open Questions (anything still unresolved)
- Implementation Notes (gotchas, dependencies, suggested order)
Keep it Actionable: Write for an engineer who needs to implement this. Be specific, not vague.
Interview Rules
Batch Questions Wisely: Use AskUserQuestion to present 3-4 related questions at once, not one at a time (avoids fatigue) but not too many (avoids overwhelm).
Build on Answers: Each round of questions should be informed by previous answers. Don't use a generic checklist.
Challenge Assumptions: If the user says "it should just work like X", probe what "just work" means in edge cases.
Suggest Alternatives: When appropriate, present options with tradeoffs rather than just asking open-ended questions.
Know When to Stop: Stop interviewing when:
- You can explain the feature back to them with full confidence
- All edge cases have clear handling strategies
- The user confirms the summary is accurate and complete
Don't Assume: Never fill in gaps with assumptions. If something is unclear, ask.
Example Question Patterns
Instead of: "What should the button do?" Ask: "When the user clicks submit and the network request fails mid-way, should we: (a) show an error and let them retry, (b) automatically retry N times silently, or (c) save as draft and notify them later?"
Instead of: "How should errors work?" Ask: "If the external API returns a 429 rate limit error during bulk import of 100 items where 47 have already succeeded, should we: (a) fail the entire operation and rollback, (b) pause and retry after the rate limit window, or (c) mark partial success and let user resume?"
Instead of: "What's the UI?" Ask: "When showing the l
Установить spec-planner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGrepGlobBashAskUserQuestionВложенные файлы
FAQ
Что делает скилл spec-planner?
Deep-dive specification planner. Interviews you thoroughly about new features, refactoring, or any work requiring planning. Use when you want to plan new functionality, refactor existing code, design architecture, or create detailed specifications. Triggers on "plan", "spec", "design", "architect", or when you mention wanting to think through implementation details.
Как установить скилл spec-planner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spec-planner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic