sequenzia/agent-alchemy/create-spec
Claude Code and agent skill by sequenzia/agent-alchemy
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Create a new specification through an adaptive interview process with proactive recommendations and optional research. Use when user says "create spec", "new spec", "generate spec", or wants to start a specification document.
Install
npx vskill@latest install sequenzia/agent-alchemy/create-specSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sequenzia/agent-alchemy/create-spec.
Create Spec Skill
You are initiating the spec creation workflow. This process gathers requirements through an adaptive, multi-round interview and generates a comprehensive specification document.
Critical Rules
AskUserQuestion is MANDATORY
IMPORTANT: You MUST use the AskUserQuestion tool for ALL questions to the user. Never ask questions through regular text output.
- Every interview round question → AskUserQuestion
- Confirmation questions → AskUserQuestion
- Yes/no consent questions → AskUserQuestion
- Clarifying questions → AskUserQuestion
Text output should only be used for:
- Summarizing what you've learned
- Presenting information
- Explaining context
If you need the user to make a choice or provide input, use AskUserQuestion.
NEVER do this (asking via text output):
ALWAYS do this (using AskUserQuestion tool):
Plan Mode Behavior
CRITICAL: This skill generates a spec document, NOT an implementation plan. When invoked during Claude Code's plan mode:
- DO NOT create an implementation plan for how to build the spec's described features
- DO NOT defer spec generation to an "execution phase"
- DO proceed with the full interview and spec generation workflow immediately
- DO write the spec file to the output path as normal
The spec is a planning artifact itself — generating it IS the planning activity.
Load Reference Skills
When codebase exploration is triggered (Phase 2, "new feature" type), load the teams reference for the Parallel Specialists exploration pattern:
This provides TeamCreate, SendMessage, and team lifecycle conventions used in the codebase exploration procedure.
Workflow Overview
This workflow has six phases:
- Settings Check — Load user configuration
- Initial Inputs — Gather spec name, type, depth, and description (includes team-based codebase exploration for "new feature" type)
- Adaptive Interview — Multi-round depth-aware interview with recommendations and optional research
- Recommendations Round — Dedicated round for accumulated best-practice suggestions (if applicable)
- Pre-Compilation Summary — Present gathered requirements for user confirmation
- Spec Compilation — Generate spec from template and write to file
Phase 1: Settings Check
Check if there is a settings file at .claude/agent-alchemy.local.md to get any custom configuration like output path or author name.
Phase 2: Initial Inputs & Context
Context Loading
If $ARGUMENTS is provided, load user-supplied context before gathering initial inputs:
- Determine input type:
- If the argument looks like a file path (ends in
.md,.txt, or.markdown; or starts with/,./,../, or~; or contains path separators and the file exists) → read the file using theReadtool - Otherwise → treat the entire argument string as inline context text
- Store internally as "User-Supplied Context" for use throughout the interview
- CRITICAL: User-supplied context makes the interview smarter, not shorter. Do NOT pre-fill answers or skip questions based on context. Instead:
- Ask more targeted, specific questions informed by the context
- Probe areas the context doesn't cover
- Confirm implicit assumptions the context makes
- Reference specific details from the context when asking questions
If $ARGUMENTS is empty, skip this subsection entirely — the skill behaves exactly as before.
Complexity Assessment
If user-supplied context was loaded, assess its complexity:
- Read
references/complexity-signals.mdfor signal definitions and thresholds - Scan the user-supplied context for complexity signals
- If threshold is met (3+ high-weight signals OR 5+ any-weight signals), present a brief notice via
AskUserQuestion:
```yaml questions:
- header: "Complexity"
question: "This appears to involve significant complexity (e.g., {top 2-3 complexity areas}). The interview will be more thorough to ensure complete coverage. Ready to proceed?" options:
- label: "Yes, let's be thorough"
description: "Use expanded interview budgets for deeper coverage"
- label: "Keep it brief"
description: "Use standard interview budgets" multiSelect: false ```
- If user selects "Yes, let's be thorough" → set internal
complexity_detectedflag for expanded budgets - If user selects "Keep it brief" → proceed with standard budgets
- If no context was loaded or threshold was not met → proceed with standard budgets (no alert shown)
Gather Initial Inputs
Use AskUserQuestion to gather the essential starting information with these four questions:
Question 1 - Spec Name:
- Header: "Spec Name"
- Question: "What would you like to name this spec?"
- Options: Allow text input for a descriptive name
Question 2 - Type:
- Header: "Type"
- Question: "What type of product/feature is this?"
- Options:
- "New product" - A completely new product being built from scratch
- "New feature" - A new feature for an existing product
Question 3 - Depth:
- Header: "Depth"
- Question: "How detailed should the spec be?"
- Options:
- "High-level overview (Recommended)" - Executive summary with key features and goals
- "Detailed specifications" - Standard spec with acceptance criteria and phases
- "Full technical documentation" - Comprehensive specs with API definitions and data models
Question 4 - Description:
- Header: "Description"
- If context was loaded: "I've loaded the context you provided. Is there anything it doesn't cover, or would you like to highlight specific priorities?"
- If no context: "Briefly describe the product/feature and its key requirements"
- Options: Allow text input describing the problem, main features, and constraints
Phase 3: Adaptive Interview
Prepare for Interview
Before starting Round 1, read these reference files to load the full question bank and trigger patterns:
references/interview-questions.md— Question bank organized by category and depth levelreferences/recommendation-triggers.md— Trigger patterns for proactive recommendations across all domains
Use these as your primary source for questions and trigger detection throughout the interview.
Interview Strategy
Depth-Aware Questioning
Adapt your interview depth based on the requested level:
High-level overview (2-3 rounds):
- Focus on problem, goals, key features, and success metrics
- Skip deep technical details
- Ask broader, strategic questions
- Total of 6-10 questions across all rounds
Detailed specifications (3-4 rounds):
- Balanced coverage of all categories
- Include acceptance criteria for features
- Cover technical constraints without deep architecture
- Total of 12-18 questions across all rounds
Full technical documentation (4-5 rounds):
- Deep probing on all areas
- Request specific API endpoints, data models
- Detailed performance and security requirements
- Total of 18-25 questions across all rounds
Question Categories
Cover all four categories, but adjust depth based on level:
- Problem & Goals: Problem statement, success metrics, user personas, business value
- Functional Requirements: Features, user stories, acceptance criteria, workflows
- Technical Specs: Architecture, tech stack, data models, APIs, constraints
- Implementation: Phases, dependencies, risks, out of scope items
Expanded Budgets
When complexity_detected is set (user opted in after complexity assessment), use expanded budgets from references/interview-questions.md (section "Expanded Budgets (Complexity Detected)") instead of the standard budgets above. Soft ceiling of ~8 rounds / ~35 questions applies.
Adaptive Behavior
- Build on previous answers: Reference what the user already told you
- Skip irrelevant questions: If user says "no preference" on tech stack, skip detailed tech questions
- Probe deeper on important areas: If user indicates something is critical, ask follow-up questions
- Explore codebase when helpful: For "new feature" type, offer to explore relevant code (with user approval)
- If something is unclear, ask for clarification rather than assuming
Context-Informed Questioning
When user-supplied context was loaded in Phase 2, apply these strategies throughout the interview:
- Reference specifics from context when asking questions — e.g., "Your context mentions a notification service — what events should trigger notifications?"
- Identify gaps in context and probe those first — areas the context doesn't address are the highest-value questions
- Confirm assumptions the context implies but doesn't state — e.g., "The context describes multiple services. Should these be independently deployable microservices?"
- Skip surface-level questions and go deeper — don't ask "what are you building?" when the context already describes it; instead ask about edge cases, constraints, and trade-offs
- Cross-reference with complexity signals — ensure areas that drove the complexity assessment get thorough coverage in the interview
Round Structure
Each round MUST:
- Summarize what you've learned so far (briefly) — use text output
- Ask 3-5 focused questions using
AskUserQuestion— REQUIRED, never use text for questions - Use a mix of multiple choice (for structured data) and open text (for details)
- Detect triggers: Note any recommendation triggers in user responses
- Offer inline insights (optional): If triggers detected, offer 1-2 brief recommendations
- Acknowledge responses before moving to next round
Question Guidelines:
- Keep questions clear and specific
- Provide helpful options for multiple choice where appropriate
- Use "Other" option for flexibility
- Group related questions together
- Don't overwhelm — max 4 questions per AskUserQuestion call
Example Question Patterns:
For structured choices:
For open-ended input:
Proactive Recommendations
Throughout the interview, watch for patterns in user responses that indicate opportunities for best-practice recommendations. When detected, offer relevant suggestions based on industry standards.
Trigger Detection: After receiving user responses each round, scan for trigger keywords from the loaded references/recommendation-triggers.md. The file covers domains including: Authentication, Scale & Performance, Security & Compliance, Real-Time Features, File & Media, API Design, Search & Discovery, Testing, and Accessibility.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude/sdd-tools/skills/create-spec/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 7
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sequenzia/agent-alchemy/create-spec)