Specky
Table of Contents
Section | Description | |
Start | Overview and ecosystem | |
Agents, prompts, skills, hooks, and MCP tools | ||
Vibe coding vs deterministic development | ||
Complete educational guide | ||
Use | Install via npm CLI | |
File structure and naming conventions | ||
6 ways to feed Specky | ||
Greenfield, Brownfield, Modernization | ||
Pipeline | 10 phases with human review gates | |
Complete tool reference by category | ||
The 6 requirement patterns | ||
Enterprise | HIPAA, SOC2, GDPR, PCI-DSS, ISO 27001 | |
Security, audit trail, quality gates | ||
Platform | Built on Spec-Kit, everything included | |
v3.4 current, v3.5+ planned |
Related MCP server: Gigaspec
What is Specky?
Specky is a CLI toolkit for Spec-Driven Development — 13 specialized agents, 57 MCP tools, 22 prompts, 8 skills, and 16 automation hooks — that enforces a deterministic 10-phase pipeline from any input (meeting transcripts, documents, Figma designs, or natural language prompts) through specifications, architecture, infrastructure as code, implementation, and deployment.
Powered by the Spec-Kit methodology. Install the specky CLI and it places agents, prompts, skills, hooks, and the MCP server registration into your project — for GitHub Copilot (VS Code), Claude Code, or both.
What's Included
Specky is a complete AI development toolkit — not just an MCP server. The specky CLI installs everything your AI IDE needs into a single project:
Primitive | What it is | Specky includes |
Agents | Specialized AI personas with defined roles, tools, and guardrails | 13 agents — @specky-orchestrator (full pipeline), @specky-onboarding (wizard), @spec-engineer, @design-architect, @task-planner, @quality-reviewer, and 7 more |
Prompts | Slash commands that activate the right agent for a task | 22 prompts — |
Skills | Domain knowledge files loaded into agent context automatically | 8 skills — SDD pipeline rules, EARS patterns, implementation patterns, test criteria, release gate protocol |
Hooks | Scripts that run before/after every tool call for validation | 16 hooks — artifact-validator, branch-validator, phase-gate, lgtm-gate, security-scan, etc. |
MCP Server | The tool engine that validates, generates, and enforces | 57 tools via Model Context Protocol (the runtime underneath) |
Why not just an MCP server?
An MCP server gives you tools. The CLI toolkit gives you the experience:
Tools alone: You call
sdd_write_specand hope you're in the right phase, with the right prerequisites, on the right branch.CLI toolkit: You type
@specky-orchestratorand the agent validates your phase, checks your branch, loads the right skill, calls the right tool, runs pre/post hooks, and pauses for LGTM before advancing.
The MCP engine is the runtime. The agents + hooks + skills are the product.
How to install
Specky ships as a single npm package with a unified specky CLI. Works on macOS, Linux, Windows, and WSL.
# 1. Install the CLI globally (once per machine)
npm install -g specky-sdd@latest
# 2. Bootstrap your project — choose your IDE:
cd your-project
specky install --ide=copilot # VS Code + GitHub Copilot (recommended)
specky install --ide=claude # Claude CodeImportant: Always specify
--ide=copilotor--ide=claude. The default--ide=autoinstalls for both IDEs, which can cause hook cross-read conflicts between Copilot and Claude Code in the same workspace. See docs/INSTALL.md for details.
Or per-project (for teams — pins version in package.json, run via npx):
cd your-project
npm install --save-dev specky-sdd@latest
npx specky install --ide=copilotThe CLI installs 13 agents, 22 prompts, 8 skills, 16 hooks, the MCP server registration (.mcp.json + .vscode/mcp.json), and pre-authorizes all required tools. Run specky doctor anytime to validate integrity and config.
Full walkthroughs per OS, offline install, and CLI reference: docs/INSTALL.md · docs/CLI.md.
Why Specifications Matter in the AI Era
The Problem: Vibe Coding
AI coding assistants are fast but chaotic. You say "build me a login system" and the AI generates code immediately, skipping requirements, guessing architecture, and producing something that works but doesn't match what anyone actually needed. This is vibe coding: generating code based on vibes instead of validated specifications.
The result? Teams spend 40% of their time on rework because requirements were never written down, acceptance criteria were never defined, and there's no way to verify the code matches the original intent.
The Solution: Deterministic Development
Specifications are structured documents that describe what the system must do before anyone writes code. They've existed for decades in engineering, but AI development mostly ignores them. Specky brings them back, with AI enforcement.
Key concepts you should know:
Concept | What it is | Why it matters |
Markdown | The universal language that both humans and AI read fluently | All spec artifacts are |
MCP | Model Context Protocol — an open standard that lets AI assistants call external tools | Specky is an MCP server; any AI IDE can connect to it |
EARS Notation | A method for writing requirements that forces precision with 6 patterns | Eliminates vague statements like "the system should be fast" |
Agents and Skills | Specialized AI roles that invoke Specky tools with domain expertise | 13 agents + 8 skills orchestrate the full pipeline |
CLI Toolkit | A complete AI development package: agents + prompts + skills + hooks + MCP server | Installed via npm: |
How Specky Enforces Determinism
Specky adds a deterministic engine between your intent and your code:
State Machine: 10 mandatory phases, no skipping. Init, Discover, Specify, Clarify, Design, Tasks, Analyze, Implement, Verify, Release.
EARS Validator: Every requirement validated against 6 patterns. No vague statements pass.
Cross-Artifact Analysis: Automatic alignment checking between spec, design, and tasks. Orphaned requirements are flagged instantly.
MCP-to-MCP Architecture: Specky outputs structured JSON that your AI client routes to GitHub, Azure DevOps, Jira, Terraform, Figma, and Docker MCP servers. No vendor lock-in.
The AI is the operator; Specky is the engine. The AI's creativity is channeled through a validated pipeline instead of producing unstructured guesswork. For a complete educational walkthrough, see GETTING-STARTED.md.
What Makes Specky Different
Capability | Specky |
Complete CLI toolkit | 13 agents, 22 prompts, 8 skills, 16 hooks + 57 MCP tools |
Pipeline orchestrator | @specky-orchestrator coordinates all 10 phases end-to-end |
Onboarding wizard | @specky-onboarding detects context and guides setup |
Any input (PDF, DOCX, PPTX, transcript, Figma) to spec | 57 MCP tools handle all input formats |
EARS validation (programmatic, not AI guessing) | 6 patterns enforced at schema level |
Enforced pipeline (not suggestions) | 10 phases with actual gates that block advancement |
Pre/post hooks on every phase | artifact-validator, branch-validator, phase-gate, lgtm-gate |
17 diagram types generated automatically | C4 (4 levels), sequence, ER, activity, use case, DFD, deployment, network |
Infrastructure as Code | Terraform, Bicep, Dockerfile from DESIGN.md |
Work item export | GitHub Issues, Azure Boards, Jira via MCP-to-MCP routing |
6 compliance frameworks | HIPAA, SOC2, GDPR, PCI-DSS, ISO 27001 built-in |
Cross-artifact traceability | Requirement to design to task to test to code |
Gitflow-SDD branching | spec/NNN → develop → stage → main |
Unified CLI distribution |
|
Works in any MCP host | VS Code + Copilot, Claude Code, Cursor, Windsurf, or any MCP client |
Zero outbound network calls | Fully air-gapped, code never leaves your machine |
MIT open source | Fork it, extend it, audit it. No vendor lock, no seat pricing |
Quick Start
Prerequisites
Node.js 20+: Download here (Node 20 LTS recommended)
An AI IDE: VS Code with Copilot, Claude Code, Cursor, or Windsurf
Install the Plugin
One-time CLI install:
npm install -g specky-sdd@latestBootstrap each project:
cd your-project
specky installThat's it. The CLI auto-detects Claude Code and/or GitHub Copilot and installs the 13 agents, 22 prompts, 8 skills, 16 hooks, the MCP server registration, and pre-authorizes all required tools.
Other install modes:
# Per-project (teams — pins version in package.json)
cd your-project
npm install --save-dev specky-sdd@latest
npx specky install
# Zero-install (one command, no persistent CLI)
cd your-project
npx -y specky-sdd@latest installFull per-OS walkthrough: docs/INSTALL.md · CLI reference: docs/CLI.md.
Verify
specky doctor # validates integrity + configuration
specky status # shows active features and pipeline phaseThen open your IDE and type:
@specky-onboardingThe onboarding wizard detects your project context (greenfield/brownfield/modernization) and guides you through setup.
Try It Now
@specky-orchestrator run the pipeline for a todo APIThe orchestrator coordinates all 10 phases: Init → Research → Specify → Design → Tasks → Implement → Verify → Review → Release, with LGTM gates at Specify, Design, and Tasks.
Your situation | Guide |
Building something new | |
Adding features to existing code | |
Upgrading a legacy system |
Tip: New to Spec-Driven Development? Specky already includes all the SDD methodology from Spec-Kit. Just install Specky and the pipeline guides you through every phase with educative outputs that explain the concepts as you work.
Where Specifications Live
Every feature gets its own numbered directory inside .specs/. This keeps specifications, design documents, and quality reports together as a self-contained package.
your-project/
├── src/ ← Your application code
├── .specs/ ← All Specky specifications
│ ├── 001-user-authentication/ ← Feature #1
│ │ ├── CONSTITUTION.md ← Project principles and governance
│ │ ├── SPECIFICATION.md ← EARS requirements with acceptance criteria
│ │ ├── DESIGN.md ← Architecture, data model, API contracts
│ │ ├── RESEARCH.md ← Resolved unknowns and technical decisions
│ │ ├── TASKS.md ← Implementation breakdown with dependencies
│ │ ├── ANALYSIS.md ← Quality gate report
│ │ ├── CHECKLIST.md ← Domain-specific quality checklist
│ │ ├── CROSS_ANALYSIS.md ← Spec-design-tasks alignment score
│ │ ├── COMPLIANCE.md ← Regulatory framework validation
│ │ ├── VERIFICATION.md ← Drift and phantom task detection
│ │ └── .sdd-state.json ← Pipeline state (current phase, history)
│ ├── 002-payment-gateway/ ← Feature #2
│ └── 003-notification-system/ ← Feature #3
├── reports/ ← Cross-feature analysis reports
└── .specky/config.yml ← Optional project-level configurationNaming convention: NNN-feature-name, zero-padded number + kebab-case name. Each directory is independent; you can work on multiple features simultaneously.
Input Methods: 6 Ways to Start
Specky accepts multiple input types. Choose the one that matches your starting point:
1. Natural Language Prompt (simplest)
Type your idea directly into the AI chat. No files needed.
> I need a feature for user authentication with email/password login,
password reset via email, and JWT session managementThe AI calls sdd_init + sdd_discover to structure your idea into a spec project.
Best for: Quick prototyping, brainstorming, greenfield projects.
2. Meeting Transcript (VTT / SRT / TXT / MD)
Import a transcript from Teams, Zoom, or Google Meet. Specky extracts topics, decisions, action items, and requirements automatically.
> Import the requirements meeting transcript and create a specificationThe AI calls sdd_import_transcript → extracts:
Participants and speakers
Topics discussed with summaries
Decisions made
Action items
Raw requirement statements
Constraints mentioned
Open questions
Supported formats: .vtt (WebVTT), .srt (SubRip), .txt, .md
Pro tip: Use sdd_auto_pipeline to go from transcript to complete spec in one step:
> Run the auto pipeline from this meeting transcript: /path/to/meeting.vttGot multiple transcripts? Use batch processing:
> Batch import all transcripts from the meetings/ folderThe AI calls sdd_batch_transcripts → processes every .vtt, .srt, .txt, and .md file in the folder.
3. Existing Documents (PDF / DOCX / PPTX)
Import requirements documents, RFPs, architecture decks, or any existing documentation.
> Import this requirements document and create a specification:
/path/to/requirements.pdfThe AI calls sdd_import_document → converts to Markdown, extracts sections, and feeds into the spec pipeline.
Supported formats: .pdf, .docx, .pptx, .txt, .md
Batch import from a folder:
> Import all documents from the docs/ folder into specsThe AI calls sdd_batch_import → processes every supported file in the directory.
Tip: For best results with PDF/DOCX, install the optional
mammothandpdfjs-distpackages for enhanced formatting, table extraction, and image handling.
4. Figma Design (design-to-spec)
Convert Figma designs into requirements specifications. Works with the Figma MCP server.
> Convert this Figma design into a specification:
https://figma.com/design/abc123/my-appThe AI calls sdd_figma_to_spec → extracts components, layouts, and interactions, then routes to the Figma MCP server for design context.
Best for: Design-first workflows, UI-driven projects.
5. Codebase Scan (brownfield / modernization)
Scan an existing codebase to detect tech stack, frameworks, structure, and patterns before writing specs.
> Scan this codebase and tell me what we're working withThe AI calls sdd_scan_codebase → detects:
Detected | Examples |
Language | TypeScript, Python, Go, Rust, Java |
Framework | Next.js, Express, React, Django, FastAPI, Gin |
Package Manager | npm, pip, poetry, cargo, maven, gradle |
Runtime | Node.js, Python, Go, JVM |
Directory Tree | Full project structure with file counts |
Best for: Understanding an existing project before adding features or modernizing.
6. Raw Text (paste anything)
No file? Just paste the content directly. Every import tool accepts a raw_text parameter as an alternative to a file path.
> Here's the raw requirements from the client email:
The system needs to handle 10,000 concurrent users...
Authentication must support SSO via Azure AD...
All data must be encrypted at rest and in transit...
Import this and create a specification.Three Project Types, One Pipeline
Specky adapts to any project type. The pipeline is the same; the starting point is what changes.
Greenfield Project: Start from Scratch
Scenario: You're building a new application with no existing code.
Step 1: Initialize and discover
> I'm building a task management API. Initialize a Specky project and help
me define the scope.The AI calls sdd_init → creates .specs/001-task-management/CONSTITUTION.md
Then calls sdd_discover → asks you 7 structured questions:
Scope: What problem does this solve? What are the boundaries of v1?
Users: Who are the primary users? What are their skill levels?
Constraints: Language, framework, hosting, budget, timeline?
Integrations: What external systems, APIs, or services?
Performance: Expected load, concurrent users, response times?
Security: Authentication, authorization, compliance requirements?
Deployment: CI/CD, monitoring, rollback strategy?
Answer each question. Your answers feed directly into the specification.
Step 2: Write the specification
> Write the specification based on my discovery answersThe AI calls sdd_write_spec → creates SPECIFICATION.md with EARS requirements:
## Requirements
REQ-001 [Ubiquitous]: The system shall provide a REST API for task CRUD operations.
REQ-002 [Event-driven]: When a user creates a task, the system shall assign
a unique identifier and return it in the response.
REQ-003 [State-driven]: While a task is in "in-progress" state, the system
shall prevent deletion without explicit force confirmation.
REQ-004 [Unwanted]: If the API receives a malformed request body, then the
system shall return a 400 status with a descriptive error message.The AI pauses here. Review .specs/001-task-management/SPECIFICATION.md and reply LGTM when satisfied.
Step 3: Design the architecture
> LGTM.proceed to designThe AI calls sdd_write_design → creates DESIGN.md with:
System architecture diagram (Mermaid)
Data model / ER diagram
API contracts with endpoints, request/response schemas
Sequence diagrams for key flows
Technology decisions with rationale
Review and reply LGTM.
Step 4: Break into tasks
> LGTM.create the task breakdownThe AI calls sdd_write_tasks → creates TASKS.md with implementation tasks mapped to acceptance criteria, dependencies, and estimated complexity.
Step 5: Quality gates
> Run analysis, compliance check for SOC2, and generate all diagramsThe AI calls:
sdd_run_analysis→ completeness audit, orphaned criteria detectionsdd_compliance_check→ SOC2 controls validationsdd_generate_all_diagrams→ architecture, sequence, ER, flow, dependency, traceability diagrams
Step 6: Generate infrastructure and tests
> Generate Terraform for Azure, a Dockerfile, and test stubs for vitestThe AI calls:
sdd_generate_iac→ Terraform configurationsdd_generate_dockerfile→ Dockerfile + docker-composesdd_generate_tests→ Test stubs with acceptance criteria mapped to test cases
Step 7: Export and ship
> Export tasks to GitHub Issues and create a PRThe AI calls sdd_export_work_items + sdd_create_pr → generates work item payloads and PR body with full spec traceability.
Next: Next: Learn about EARS notation to understand the requirement patterns, or see All 57 Tools for a complete reference.
Brownfield Project: Add Features to Existing Code
Scenario: You have a running application and need to add a new feature with proper specifications.
Step 1: Scan the codebase first
> Scan this codebase so Specky understands what we're working withThe AI calls sdd_scan_codebase → detects tech stack, framework, directory structure. This context informs all subsequent tools.
Detected: TypeScript + Next.js + npm + Node.js
Files: 247 across 32 directoriesStep 2: Initialize with codebase context
> Initialize a feature for adding real-time notifications to this Next.js app.
Use the codebase scan results as context.The AI calls sdd_init → creates .specs/001-real-time-notifications/CONSTITUTION.md
Then calls sdd_discover with the codebase summary → the 7 discovery questions now include context about your existing tech stack:
"What technical constraints exist? Note: This project already uses TypeScript, Next.js, npm, Node.js. Consider compatibility with the existing stack."
Step 3: Import existing documentation
If you have existing PRDs, architecture docs, or meeting notes:
> Import the PRD for notifications: /docs/notifications-prd.pdfThe AI calls sdd_import_document → converts to Markdown and adds to the spec directory. The content is used as input when writing the specification.
Step 4: Write spec with codebase awareness
> Write the specification for real-time notifications. Consider the existing
Next.js architecture and any patterns already in the codebase.The specification references existing components, APIs, and patterns from the codebase scan.
Step 5: Check for drift
After implementation, verify specs match the code:
> Check if the implementation matches the specificationThe AI calls sdd_check_sync → generates a drift report flagging any divergence between spec and code.
Step 6: Cross-feature analysis
If you have multiple features specified:
> Run cross-analysis across all features to find conflictsThe AI calls sdd_cross_analyze → checks for contradictions, shared dependencies, and consistency issues across .specs/001-*, .specs/002-*, etc.
Next: Next: See compliance frameworks for regulatory validation, or MCP integration for routing to external tools.
Modernization Project: Assess and Upgrade Legacy Systems
Scenario: You have a legacy system that needs assessment, documentation, and incremental modernization.
Step 1: Scan and document the current state
> Scan this legacy codebase and help me understand what we haveThe AI calls sdd_scan_codebase → maps the technology stack, directory tree, and file counts.
Step 2: Import all existing documentation
Gather everything you have.architecture documents, runbooks, meeting notes about the system:
> Batch import all documents from /docs/legacy-system/ into specsThe AI calls sdd_batch_import → processes PDFs, DOCX, PPTX, and text files. Each becomes a Markdown reference in the spec directory.
Step 3: Import stakeholder meetings
If you have recorded meetings with stakeholders discussing the modernization:
> Batch import all meeting transcripts from /recordings/The AI calls sdd_batch_transcripts → extracts decisions, requirements, constraints, and open questions from every transcript.
Step 4: Create the modernization specification
> Write a specification for modernizing the authentication module.
Consider the legacy constraints from the imported documents and
meeting transcripts.The specification accounts for:
Current system behavior (from codebase scan)
Existing documentation (from imported docs)
Stakeholder decisions (from meeting transcripts)
Migration constraints and backward compatibility
Step 5: Compliance assessment
Legacy systems often need compliance validation during modernization:
> Run compliance checks against HIPAA and SOC2 for the modernized auth moduleThe AI calls sdd_compliance_check → validates the specification against regulatory controls and flags gaps.
Step 6: Generate migration artifacts
> Generate the implementation plan, Terraform for the new infrastructure,
and a runbook for the migrationThe AI calls:
sdd_implement→ phased implementation plan with checkpointssdd_generate_iac→ infrastructure configuration for the target environmentsdd_generate_runbook→ operational runbook with rollback procedures
Step 7: Generate onboarding for the team
> Generate an onboarding guide for developers joining the modernization projectThe AI calls sdd_generate_onboarding → creates a guide covering architecture decisions, codebase navigation, development workflow, and testing strategy.
Next: Next: See compliance frameworks for regulatory validation during modernization, or project configuration to customize Specky for your team.
Pipeline and LGTM Gates
Every Specky project follows the same 10-phase pipeline. The state machine blocks phase-skipping. You cannot jump from Init to Design without completing Specify first.
LGTM gates: After each major phase (Specify, Design, Tasks), the AI pauses and asks you to review. Reply LGTM to proceed. This ensures human oversight at every quality gate.
Feedback loop: If sdd_verify_tasks detects drift between specification and implementation, Specky routes you back to the Specify phase to correct the divergence before proceeding.
Advancing phases: If you need to manually advance:
> Advance to the next phaseThe AI calls sdd_advance_phase → moves the pipeline forward if all prerequisites are met.
Phase | What Happens | Required Output |
Init | Create project structure, constitution, scan codebase | CONSTITUTION.md |
Discover | Interactive discovery: 7 structured questions about scope, users, constraints | Discovery answers |
Specify | Write EARS requirements with acceptance criteria | SPECIFICATION.md |
Clarify | Resolve ambiguities, generate decision tree | Updated SPECIFICATION.md |
Design | Architecture, data model, API contracts, research unknowns | DESIGN.md, RESEARCH.md |
Tasks | Implementation breakdown by user story, dependency graph | TASKS.md |
Analyze | Cross-artifact analysis, quality checklist, compliance check | ANALYSIS.md, CHECKLIST.md, CROSS_ANALYSIS.md |
Implement | Ordered execution with checkpoints per user story | Implementation progress |
Verify | Drift detection, phantom task detection | VERIFICATION.md |
Release | PR generation, work item export, documentation | Complete package |
All artifacts are saved in .specs/NNN-feature/. See Input Methods for how to feed data into the pipeline.
All 57 Tools
Input and Conversion (6)
Tool | Description |
| Convert PDF, DOCX, PPTX, TXT, MD to Markdown |
| Parse meeting transcripts (Teams, Zoom, Google Meet) |
| Any input to complete spec pipeline (all documents) |
| Process folder of mixed documents |
| Scan folder of transcripts and run full auto-pipeline for each |
| Figma design to requirements specification |
Pipeline Core (8)
Tool | Description |
| Initialize project with constitution and scope diagram |
| Interactive discovery with stakeholder mapping |
| Write EARS requirements with flow diagrams |
| Resolve ambiguities with decision tree |
| 12-section system design (C4 model) with sequence diagrams, ERD, API flow |
| Task breakdown with dependency graph |
| Quality gate analysis with coverage heatmap |
| Move to next pipeline phase |
Quality and Validation (6)
Tool | Description |
| Mandatory quality checklist (security, accessibility, etc.) |
| Detect phantom completions |
| HIPAA, SOC2, GDPR, PCI-DSS, ISO 27001 validation |
| Spec-design-tasks alignment with consistency score |
| Batch EARS requirement validation |
| Spec-vs-implementation drift detection report |
Diagrams and Visualization (4) -- 17 Diagram Types
Tool | Description |
| Single Mermaid diagram (17 software engineering diagram types) |
| All diagrams for a feature at once |
| User stories with flow diagrams |
| FigJam-ready diagram via Figma MCP |
Infrastructure as Code (3)
Tool | Description |
| Terraform/Bicep from architecture design |
| Validation via Terraform MCP + Azure MCP |
| Dockerfile + docker-compose from tech stack |
Dev Environment (3)
Tool | Description |
| Docker-based local dev environment |
| GitHub Codespaces configuration |
| .devcontainer/devcontainer.json generation |
Integration and Export (5)
Tool | Description |
| Git branch naming convention |
| Tasks to GitHub Issues, Azure Boards, or Jira |
| PR payload with spec summary |
| Ordered implementation plan with checkpoints |
| Resolve unknowns in RESEARCH.md |
Documentation (5)
Tool | Description |
| Complete auto-documentation |
| API documentation from design |
| Operational runbook |
| Developer onboarding guide |
| Generate all documentation types in parallel (docs, API, runbook, onboarding, journey) |
Utility (6)
Tool | Description |
| Pipeline status with guided next action |
| Get any template |
| Detect tech stack and structure |
| Project metrics dashboard |
| Amend project constitution |
| Generate bugfix spec with root cause analysis and test plan |
Testing (3)
Tool | Description |
| Generate test stubs from acceptance criteria (vitest/jest/playwright/pytest/junit/xunit) |
| Verify test results against requirements, report traceability coverage |
| Generate property-based tests using fast-check (TypeScript) or Hypothesis (Python). Extracts invariants, round-trips, idempotence, state transitions, and negative properties from EARS requirements |
Turnkey Specification (1)
Tool | Description |
| Generate a complete EARS specification from a natural language description. Auto-extracts requirements, classifies all 5 EARS patterns, generates acceptance criteria, infers non-functional requirements, and identifies clarification questions |
Checkpointing (3)
Tool | Description |
| Create a named snapshot of all spec artifacts and pipeline state |
| Restore spec artifacts from a previous checkpoint (auto-creates backup before restoring) |
| List all available checkpoints for a feature with labels, dates, and phases |
Ecosystem (1)
Tool | Description |
| Report recommended MCP servers with install commands |
Governance (3)
Tool | Description |
| Model routing decision table for all 10 phases with cost analysis |
| Context tier assignment (Hot/Domain/Cold) for spec artifacts with token savings |
| RBAC access check for current role with per-tool permissions summary |
The Spec-Driven Development Platform
How Spec-Kit and Specky Complement Each Other
Spec-Kit is the open-source SDD methodology: EARS notation, gated pipeline phases, constitution model, 25+ specialized agents, and Markdown prompt templates. It defines what to do.
Specky is the CLI toolkit that reimplements that methodology as 57 enforceable MCP tools with 13 agents, 22 prompts, 8 skills, and 16 hooks. It enforces how to do it.
Spec-Kit (Methodology) | Specky (Plugin) | |
What it is | Prompt templates + agent definitions | CLI toolkit: 13 agents + 57 MCP tools + 22 prompts + 8 skills + 16 hooks |
How it works | AI reads | AI calls agents that orchestrate tools with hook validation |
Validation | AI tries to follow the prompts | State machine, EARS regex, Zod schemas, pre/post hooks |
Install | Copy |
|
Works standalone | Yes, in any AI IDE | Yes, includes all Spec-Kit patterns |
Best for | Learning SDD, lightweight adoption | Production enforcement, enterprise, compliance |
Together: The Complete SDD Layer
When you install Specky, you get the full Spec-Kit methodology reimplemented as validated MCP tools. No separate installation of Spec-Kit needed. But Spec-Kit remains available as a standalone learning tool for teams that want to adopt SDD concepts before using the engine.
Together they form the SDD layer of the GitHub + Microsoft enterprise platform. Specky reimplements the Spec-Kit methodology as enforceable MCP tools with compliance, traceability, and automation built in.
{
"servers": {
"specky": {
"command": "specky-sdd"
}
}
}Note: This example assumes Specky is installed via
specky install --ide=copilot(afternpm install -g specky-sdd@latest). See Quick Start for details.
Project Configuration
Create .specky/config.yml in your project root to customize Specky:
# .specky/config.yml
templates_path: ./my-templates # Override built-in templates
default_framework: vitest # Default test framework
compliance_frameworks: [hipaa, soc2] # Frameworks to check
audit_enabled: true # Enable audit trailWhen templates_path is set, Specky uses your custom templates instead of the built-in ones. When audit_enabled is true, tool invocations are logged locally.
MCP Integration Architecture
Specky outputs structured JSON with routing instructions. Your AI client calls the appropriate external MCP server:
Specky --> sdd_export_work_items(platform: "azure_boards") --> JSON payload
--> AI Client --> Azure DevOps MCP --> create_work_item()
Specky --> sdd_validate_iac(provider: "terraform") --> validation payload
--> AI Client --> Terraform MCP --> plan/validate
Specky --> sdd_figma_to_spec(file_key: "abc123") --> Figma request
--> AI Client --> Figma MCP --> get_design_context()Supported External MCP Servers
MCP Server | Integration |
GitHub MCP | Issues, PRs, Codespaces |
Azure DevOps MCP | Work Items, Boards |
Jira MCP | Issues, Projects |
Terraform MCP | Plan, Validate, Apply |
Azure MCP | Template validation |
Figma MCP | Design context, FigJam diagrams |
Docker MCP | Local dev environments |
EARS Notation
Every requirement in Specky follows EARS (Easy Approach to Requirements Syntax):
Pattern | Format | Example |
Ubiquitous | The system shall... | The system shall encrypt all data at rest |
Event-driven | When [event], the system shall... | When a user submits login, the system shall validate credentials |
State-driven | While [state], the system shall... | While offline, the system shall queue requests |
Optional | Where [condition], the system shall... | Where 2FA is enabled, the system shall require OTP |
Unwanted | If [condition], then the system shall... | If session expires, the system shall redirect to login |
Complex | While [state], when [event]... | While in maintenance, when request arrives, queue it |
The EARS validator programmatically checks every requirement against these 6 patterns. Vague terms like "fast", "good", "easy" are flagged automatically.
Compliance Frameworks
Built-in compliance checking against:
HIPAA: Access control, audit, encryption, PHI protection
SOC 2: Logical access, monitoring, change management, incident response
GDPR: Lawful processing, right to erasure, data portability, breach notification
PCI-DSS: Firewall, stored data protection, encryption, user identification
ISO 27001: Security policies, access control, cryptography, incident management
Educative Outputs
Every tool response includes structured guidance:
{
"explanation": "What was done and why",
"next_steps": "Guided next action with command suggestion",
"learning_note": "Educational context about the concept",
"diagram": "Mermaid diagram relevant to the output"
}Complete Pipeline Flow
From any input to production -- fully automated, MCP-orchestrated, with artifacts and diagrams generated at every step. All artifacts are saved in .specs/NNN-feature/.
Enterprise Ready
Specky is built with enterprise adoption in mind.
Security Posture
2 runtime dependencies — minimal attack surface (
@modelcontextprotocol/sdk,zod)Zero outbound network requests — all data stays local
No
eval()or dynamic code execution — template rendering is string replacement onlyPath traversal prevention: FileManager sanitizes all paths, blocks
..sequencesZod
.strict()validation — every tool input is schema-validated; unknown fields rejectedsecurity-scan hook blocks commits containing hardcoded secrets (exit code 2)
See SECURITY.md for full OWASP Top 10 coverage
See docs/SYSTEM-DESIGN.md for complete security architecture
Security Best Practices
When using Specky, follow these practices to protect your data:
Practice | Why | How |
Use stdio mode for local development | No network exposure |
|
Never expose HTTP mode to public networks | HTTP is unencrypted, no auth | If using |
Protect the | Contains your specification artifacts (architecture, API contracts, business logic) | Add |
Protect checkpoints |
| Same as above — treat checkpoints like source code |
Review auto-generated specs before committing | Turnkey and auto-pipeline generate from natural language — may capture sensitive details | Review SPECIFICATION.md and DESIGN.md before |
Keep the security-scan hook enabled | Detects API keys, passwords, tokens in staged files | Comes pre-configured; don't disable |
Use environment variables for secrets | Specky never stores credentials, but your specs might reference them | Write |
Run | Catches dependency vulnerabilities |
|
Data Sensitivity Guide
What Specky creates | Contains | Sensitivity | Recommendation |
| Project scope, principles | Low | Safe to commit |
| Requirements, acceptance criteria | Medium | Review before committing — may contain business logic details |
| Architecture, API contracts, security model | High | May contain infrastructure details, auth flows, data schemas |
| Implementation plan, effort estimates | Low | Safe to commit |
| Quality gate results, coverage | Low | Safe to commit |
| Pipeline phase timestamps | Low | Safe to commit |
| Full copies of all artifacts | High | Protect like source code — contains everything above |
| Complete SDD audit trail with timestamps | Medium | Review before sharing externally |
Routing payloads | Branch names, PR bodies, work items | Transient (memory only) | Never persisted by Specky; forwarded to external MCPs by the AI client |
Key principle: Specky creates files only on your local filesystem. Nothing is sent to any cloud service unless you push to git or the AI client routes a payload to an external MCP server. You are always in control.
Compliance Validation
Built-in compliance checking validates your specifications against industry frameworks:
Framework | Controls | Use Case |
HIPAA | 6 controls | Healthcare applications |
SOC 2 | 6 controls | SaaS and cloud services |
GDPR | 6 controls | EU data processing |
PCI-DSS | 6 controls | Payment card handling |
ISO 27001 | 6 controls | Enterprise security management |
Audit Trail
Every pipeline phase produces a traceable artifact in .specs/NNN-feature/. The complete specification-to-code journey is documented in the SDD Journey document (docs/journey-{feature}.md) with phase timestamps, gate decisions, and traceability metrics.
Quality Gates
Phase Validation — every tool validates it's being called in the correct pipeline phase
Gate Enforcement —
advancePhase()blocks if gate decision is BLOCK or CHANGES_NEEDEDEARS Validator — programmatic requirement quality enforcement
Cross-Artifact Analysis — automatic alignment checking between spec, design, and tasks
Phase Enforcement — state machine blocks phase-skipping; required files gate advancement
Unit tests — CI enforces thresholds on every push
Development
# Clone and setup
git clone https://github.com/paulasilvatech/specky.git
cd specky
npm install
# Build
npm run build
# Run tests (507 tests)
npm test
# Run tests with coverage report
npm run test:coverage
# Development mode (auto-reload on file changes)
npm run dev
# Verify MCP handshake (quick smoke test)
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' | node dist/index.js 2>/dev/null
# Build and run with Docker locally
docker build -t specky-sdd:dev .
docker run -p 3200:3200 -v $(pwd):/workspace specky-sdd:dev
curl http://localhost:3200/healthRoadmap
v3.4 (current)
Capability | Status |
57 MCP tools across 10 enforced pipeline phases | Stable |
Unified | Stable |
IDE-specific install: | Stable |
Copilot-safe hook manifests (no lifecycle event cross-read) | Stable |
Phase validation on every tool with gate enforcement | Stable |
17 software engineering diagram types (C4, sequence, ER, DFD, deployment, network) | Stable |
12-section system design template (C4 model, security, infrastructure) | Stable |
Enriched interactive responses on all tools (progress, handoff, education) | Stable |
Parallel documentation generation (5 types via Promise.all) | Stable |
Turnkey spec from natural language ( | Stable |
Property-based testing with fast-check and Hypothesis ( | Stable |
Checkpoint/restore for spec artifacts | Stable |
Intelligence layer: model routing hints on all tools | Stable |
Context tiering: Hot/Domain/Cold with token savings | Stable |
Cognitive debt metrics at LGTM gates | Stable |
Test traceability: REQ-ID → test coverage mapping | Stable |
Intent drift detection with amendment suggestions | Stable |
16 automation hooks (advisory-default, strict opt-in via SPECKY_GUARD) | Stable |
13 specialized agents + 22 prompts + 8 skills | Stable |
6 compliance frameworks (HIPAA, SOC2, GDPR, PCI-DSS, ISO 27001) | Stable |
6 input types (transcript, PDF, DOCX, Figma, codebase, raw text) | Stable |
Test generation for 6 frameworks (vitest, jest, playwright, pytest, junit, xunit) | Stable |
MCP-to-MCP routing (GitHub, Azure DevOps, Jira, Terraform, Figma, Docker) | Stable |
SBOM + cosign signing on Docker image | Stable |
JSONL audit logger (optional) | Stable |
RBAC foundation (opt-in role-based access control) | Stable |
Rate limiting for HTTP transport (opt-in) | Stable |
v3.5+ (planned)
Feature | Description |
HTTP authentication | Token-based auth for the HTTP transport |
Observability | OpenTelemetry metrics and structured logging |
Internationalization | Spec templates in PT-BR, ES, FR, DE, JA |
Automated shrinking | fast-check/Hypothesis shrinking feedback into spec refinement |
Centralized audit log | SIEM-integrated tamper-evident audit trail |
Multi-tenant | Isolated workspaces for multiple teams |
SSO / SAML | Federated identity for enterprise auth |
Have a feature request? Open an issue.
Contributing
See CONTRIBUTING.md for architecture details and how to add tools, templates, or services.
Links
CHANGELOG.md: Version history and release notes
SECURITY.md: Vulnerability disclosure policy and OWASP Top 10 coverage
CONTRIBUTING.md: How to add tools, templates, or services
Spec-Kit: The SDD methodology foundation
npm package:
specky-sddon npm
License
MIT. Created by Paula Silva | Americas Software GBB, Microsoft
Available Tools
58 toolssdd_advance_phaseAdvance Pipeline PhaseA
Validates that the current phase's required files exist, then transitions the state machine to the next phase. When pipeline.require_lgtm is enabled, completing the specify/design/tasks quality gates requires lgtm: true.
Inputs: lgtm, spec_dir, feature_number.
sdd_amendAmend ConstitutionA
Appends an amendment entry to CONSTITUTION.md's changelog and updates the amendment_count in frontmatter.
Inputs: rationale (required), articles_affected (required), changes_description (required), spec_dir, +1 more.
sdd_auto_pipelineAuto Pipeline from TranscriptA
FULLY AUTOMATED: Reads a meeting transcript, extracts requirements, and runs the complete SDD pipeline in one call. Creates CONSTITUTION.md, SPECIFICATION.md, DESIGN.md, TASKS.md, and ANALYSIS.md from a single transcript file. Supports VTT (Teams), SRT (Zoom), TXT, and MD formats.
Inputs: project_name (required), force, format, raw_text, +3 more.
sdd_batch_importBatch Import DocumentsARead-onlyIdempotent
Scans a directory for supported documents (PDF, DOCX, PPTX, TXT, MD, VTT, SRT) and converts each to Markdown. Returns an array of conversion results with total count and per-file metadata. Compressed PDF/DOCX/PPTX files (what Office/PDF exporters typically produce) are counted as failed with the reason — only uncompressed ones convert natively; use the MarkItDown MCP integration (uvx markitdown-mcp) for full Office/PDF support.
Inputs: documents_dir (required), force, spec_dir.
sdd_batch_transcriptsBatch Process Transcript FolderA
Scans a folder for transcript files (.vtt, .srt, .txt, .md) and runs the full SDD auto-pipeline for each one. Designed for Power Automate + OneDrive workflows where meeting transcripts are saved automatically to a shared folder. Each transcript becomes its own feature spec package.
Inputs: transcripts_dir (required), force, spec_dir.
sdd_check_accessA
Check RBAC access for the current caller. Returns the active role (authenticated token role > SDD_ROLE > default_role), whether a specific tool is accessible, and a summary of what each role can do. Useful for diagnosing permission issues in enterprise deployments.
Inputs: tool_name, role_override.
sdd_check_ecosystemCheck MCP EcosystemARead-onlyIdempotent
Reports which external MCP servers are recommended for the full Specky experience. Shows what each server does, which Specky tools it enhances, and how to install it. Run this first to understand what integrations are available.
Inputs: no named parameters.
sdd_checklistGenerate Quality ChecklistA
Generates a domain-specific quality checklist (security, accessibility, performance, etc.) by analyzing SPECIFICATION.md and DESIGN.md. Writes CHECKLIST.md.
Inputs: domain (required), force, spec_dir, feature_number.
sdd_checkpointCreate CheckpointA
Creates a named snapshot of all spec artifacts (CONSTITUTION.md, SPECIFICATION.md, DESIGN.md, TASKS.md, etc.) and the current pipeline state. Use before making major changes so you can rollback if needed.
Inputs: label, spec_dir, feature_number.
sdd_check_syncCheck Spec-Code SyncARead-onlyIdempotent
Compares specification requirements against implementation files and returns a drift report showing which requirements are implemented and which are missing.
Inputs: spec_dir, code_paths, feature_number.
sdd_clarifyClarify RequirementsAIdempotent
Reads SPECIFICATION.md and returns up to 5 disambiguation questions targeting ambiguous or incomplete requirements.
Inputs: spec_dir, feature_number.
sdd_compliance_checkRun Compliance CheckBRead-onlyIdempotent
Validates specification and design against a compliance framework (HIPAA, SOC2, GDPR, PCI-DSS, ISO27001, or general). Writes COMPLIANCE.md.
Inputs: framework (required), spec_dir, feature_number.
sdd_context_statusContext Tier StatusARead-onlyIdempotent
Return the context tier assignment (Hot/Domain/Cold) for all spec artifacts in the active feature. Includes estimated token load for current session vs universal loading, and savings percentage.
Inputs: spec_dir, feature_number.
sdd_create_branchCreate Feature BranchARead-onlyIdempotent
Generates a branch name following SDD conventions and returns a command_hint for creating the branch. Does not execute git commands — the AI client or user runs the command.
Inputs: spec_dir, base_branch, branch_prefix, feature_number.
sdd_create_prCreate Pull Request PayloadARead-onlyIdempotent
Generates a pull request payload from SPECIFICATION.md and TASKS.md with spec summary, requirements covered, and task progress. Returns routing_instructions for GitHub MCP's create_pull_request tool.
Inputs: draft, spec_dir, base_branch, head_branch, +1 more.
sdd_cross_analyzeCross-Artifact AnalysisARead-onlyIdempotent
Cross-artifact consistency analysis: checks alignment between SPECIFICATION.md, DESIGN.md, and TASKS.md. Finds orphaned requirements, missing designs, and untraced tasks. Writes CROSS_ANALYSIS.md.
Inputs: spec_dir, feature_number.
sdd_discoverDiscover Project RequirementsAIdempotent
Returns 7 structured discovery questions tailored to your project idea. Covers: scope, users, constraints, integrations, performance, security, and deployment.
Inputs: project_idea (required), spec_dir, feature_number, codebase_summary.
sdd_export_work_itemsExport Work ItemsARead-onlyIdempotent
Transforms TASKS.md into platform-specific work item payloads: GitHub Issues {title, body, labels}, Jira {fields: {project.key, summary, description, issuetype}} (project_key required), or Azure Boards {work_item_type, fields: System.Title/System.Description/System.AreaPath/System.IterationPath}. Honors include_subtasks and preserves REQ/task traceability in every shape. Returns routing_instructions for the AI client to create items via the appropriate MCP server.
Inputs: platform (required), spec_dir, area_path, project_key, +3 more.
sdd_figma_diagramGenerate Figma Diagram PayloadARead-onlyIdempotent
Generates a FigJam-ready diagram payload from DESIGN.md. Returns structured data with routing_instructions for the AI client to call Figma MCP's generate_diagram tool.
Inputs: diagram_type (required), spec_dir, feature_number.
sdd_figma_to_specFigma to SpecARead-onlyIdempotent
Prepares a structured payload for extracting design context from a Figma file. The AI client should use the returned routing_instructions to call Figma MCP's get_design_context tool with the provided file key and node ID.
Inputs: project_name (required), figma_file_key (required), force, spec_dir, +1 more.
sdd_generate_all_diagramsGenerate All DiagramsAIdempotent
Generates ALL diagram types for a feature in one call. Produces architecture, sequence, ERD, flow, dependency, and traceability diagrams from all available artifacts, and writes the full set to DIAGRAMS.md in the feature directory, grouped by source artifact.
Inputs: spec_dir, feature_number.
sdd_generate_all_docsGenerate All DocumentationA
Generates ALL documentation types in parallel: full docs, API docs, runbook, onboarding guide, and SDD journey. All documents are written to docs/ directory. This is the fastest way to generate complete project documentation.
Inputs: feature_number (required), spec_dir.
sdd_generate_api_docsGenerate API DocumentationA
Extracts API endpoints from DESIGN.md and generates structured API documentation with request/response examples. Writes to docs/api-{feature}.md.
Inputs: feature_number (required), spec_dir.
sdd_generate_devcontainerGenerate Devcontainer ConfigAIdempotent
Generates .devcontainer/devcontainer.json from the detected tech stack (codebase manifests, falling back to DESIGN.md). Writes the file to disk for local use with VS Code Dev Containers or GitHub Codespaces.
Inputs: features, spec_dir, base_image, feature_number.
sdd_generate_diagramGenerate Mermaid DiagramBRead-onlyIdempotent
Generates a single Mermaid diagram from a specification artifact. Supports 17 diagram types: flowchart, sequence, class, ER, state machine, C4 context, C4 container, C4 component, C4 code, activity, use case, DFD (data flow), deployment, network topology, Gantt, pie chart, and mind map.
Inputs: source (required), diagram_type (required), spec_dir, feature_number.
sdd_generate_dockerfileGenerate DockerfileAIdempotent
Reads DESIGN.md or uses sdd_scan_codebase results to detect the tech stack, then generates a Dockerfile and optionally a docker-compose.yml. Supports multi-stage builds for smaller production images.
Inputs: spec_dir, multi_stage, feature_number, include_compose.
sdd_generate_docsGenerate Full DocumentationB
Generates comprehensive feature documentation from SPECIFICATION.md, DESIGN.md, TASKS.md, and ANALYSIS.md. Writes a combined Markdown file to docs/ with all sections.
Inputs: feature_number (required), spec_dir.
sdd_generate_iacGenerate Infrastructure as CodeAIdempotent
Reads DESIGN.md to detect infrastructure needs and generates Terraform or Bicep files. Returns generated file contents, variables, and a Mermaid diagram of the infrastructure topology.
Inputs: cloud, modules, provider, spec_dir, +1 more.
sdd_generate_onboardingGenerate Onboarding GuideA
Generates a developer onboarding guide with feature overview, architecture summary, getting started steps, key concepts, and file locations. Writes to docs/onboarding-{feature}.md.
Inputs: feature_number (required), spec_dir.
sdd_generate_pbtGenerate Property-Based TestsA
Extracts universal properties (invariants, round-trips, idempotence) from EARS requirements and generates property-based tests using fast-check (TypeScript) or hypothesis (Python). Unlike example-based tests, PBT uses random input generation to discover edge cases that manual tests miss.
Inputs: framework (required), spec_dir, output_dir, feature_number.
sdd_generate_runbookGenerate Operational RunbookB
Generates an operational runbook with deployment, monitoring, troubleshooting, and rollback procedures. Writes to docs/runbook-{feature}.md.
Inputs: feature_number (required), spec_dir.
sdd_generate_testsGenerate Test StubsA
Generate test stubs from acceptance criteria in SPECIFICATION.md and TASKS.md. Supports 6 frameworks: vitest, jest, playwright, pytest, junit, xunit. Each test stub traces to a requirement ID for full traceability.
Inputs: framework (required), spec_dir, output_dir, feature_number.
sdd_generate_user_storiesGenerate User StoriesARead-onlyIdempotent
Generates user stories with acceptance criteria and flow diagrams from SPECIFICATION.md. Each story includes a Mermaid flowchart of the user journey.
Inputs: spec_dir, max_stories, feature_number.
sdd_get_statusGet Pipeline StatusARead-onlyIdempotent
Returns the current pipeline status including: current phase, completed phases, files on disk, completion percentage, and recommended next action.
Inputs: spec_dir, feature_number.
sdd_get_templateGet Raw TemplateARead-onlyIdempotent
Returns the raw Markdown template for a given artifact type with {{placeholder}} variables intact. Does not write any files.
Inputs: template_name (required).
sdd_implementGenerate Implementation PlanARead-onlyIdempotent
Reads TASKS.md and produces an ordered implementation roadmap with phases, parallel groups, dependency resolution, and checkpoints. Does NOT write code — it generates the plan the developer or AI agent follows.
Inputs: spec_dir, task_ids, checkpoint, feature_number.
sdd_import_documentImport DocumentARead-onlyIdempotent
Imports a document (PDF, DOCX, PPTX, TXT, MD, VTT, SRT) or raw text and converts it to Markdown for SDD processing. Returns the converted content, metadata, and word count. Native support: MD, TXT, VTT, SRT, and raw text are fully supported; PDF/DOCX/PPTX are natively readable only when UNCOMPRESSED — typical real-world (compressed) Office/PDF files fail with an actionable error. For those, install the MarkItDown MCP integration (uvx markitdown-mcp) or convert to md/txt first.
Inputs: format, raw_text, spec_dir, file_path.
sdd_import_transcriptImport Meeting TranscriptARead-onlyIdempotent
Parses a meeting transcript (VTT, SRT, TXT, or MD) and extracts structured data: participants, topics, decisions, action items, raw requirements, constraints, and open questions. Supports Teams, Zoom, Google Meet, and Otter.ai transcripts.
Inputs: file_path (required), format, raw_text, spec_dir.
sdd_initInitialize SDD PipelineA
Creates .specs/ directory, writes CONSTITUTION.md skeleton, and initializes the state machine. Call this first before any other SDD tool.
Inputs: project_name (required), spec_dir, principles, constraints.
sdd_list_checkpointsList CheckpointsARead-onlyIdempotent
Lists all available checkpoints for a feature with their labels, dates, and phases.
Inputs: spec_dir, feature_number.
sdd_metricsGenerate Metrics DashboardAIdempotent
Generate a self-contained HTML metrics dashboard for a feature. Reads SPECIFICATION.md, ANALYSIS.md, VERIFICATION.md, CHECKLIST.md and .sdd-state.json. Produces metrics-dashboard.html with: requirement count, task coverage, compliance score, checklist pass rate, and a phase timeline with durations.
Inputs: spec_dir, feature_number.
sdd_model_routingModel Routing Decision TableARead-onlyIdempotent
Return the full model routing decision table for all 10 SDD pipeline phases. Includes the optimal model, chat mode, extended thinking setting, rationale, evidence arXiv ID, and cost savings vs Opus-for-everything for your team size.
Inputs: team_size, requests_per_day.
sdd_researchResearch QuestionsA
Takes an array of research questions, generates RESEARCH.md with structured entries (question, findings placeholder, sources, recommendation, status), and writes it to the feature directory.
Inputs: questions (required), spec_dir, feature_number.
sdd_restoreRestore from CheckpointADestructive
Restores all spec artifacts to a previous checkpoint snapshot. Overwrites current files with the checkpoint versions. Creates an automatic backup checkpoint of current state before restoring.
Inputs: checkpoint_id (required), spec_dir, feature_number.
sdd_run_analysisRun Specification AnalysisA
Reads all spec files, generates ANALYSIS.md with traceability matrix and coverage report, and returns a gate decision (APPROVE, CHANGES_NEEDED, or BLOCK).
Inputs: force, spec_dir, feature_number.
sdd_scan_codebaseScan CodebaseARead-onlyIdempotent
Scans the workspace project structure and returns auto-steering context: detected language, framework, package manager, folder structure, and key files.
Inputs: depth, exclude.
sdd_setup_codespacesSetup GitHub CodespacesAIdempotent
Detects the project tech stack (codebase manifests, falling back to DESIGN.md) and generates a devcontainer configuration suitable for GitHub Codespaces. Returns the devcontainer.json payload with routing_instructions to commit it via GitHub MCP, plus the GitHub UI/CLI/API steps to create the Codespace (the official GitHub MCP does not expose Codespace creation).
Inputs: spec_dir, extensions, machine_type, feature_number.
sdd_setup_local_envSetup Local Dev EnvironmentBIdempotent
Detects the project tech stack (codebase manifests, falling back to DESIGN.md) and generates a Docker-based local development environment (Dockerfile + docker-compose.yml with auto-detected sidecar services). Returns a payload with routing_instructions for Docker MCP to create and manage containers.
Inputs: port, services, spec_dir, feature_number.
sdd_turnkey_specTurnkey Specification from DescriptionA
Generates a complete EARS specification from a natural language feature description. Automatically extracts requirements, classifies into EARS patterns (ubiquitous, event-driven, state-driven, optional, unwanted), generates acceptance criteria, and identifies areas needing clarification. This is the fastest way to go from idea to spec.
Inputs: description (required), feature_name (required), force, spec_dir, +2 more.
sdd_validate_earsValidate EARS RequirementsARead-onlyIdempotent
Validates requirement statements against EARS notation patterns (ubiquitous, event-driven, state-driven, optional, unwanted, complex). Accepts a direct list of requirements OR reads from SPECIFICATION.md. Returns per-requirement compliance results with actionable suggestions.
Inputs: spec_dir, requirements, feature_number.
sdd_validate_iacValidate Infrastructure as CodeARead-onlyIdempotent
Generates a validation payload for Terraform MCP (plan/validate) or Azure MCP (template validation). The AI client routes this payload to the appropriate MCP server for execution.
Inputs: cloud, iac_dir, provider, spec_dir, +1 more.
sdd_verify_auditVerify Audit TrailARead-onlyIdempotent
Verifies the hash-chain integrity of the Specky audit log for a spec directory. When an HMAC key is configured (SDD_AUDIT_HMAC_KEY / SDD_AUDIT_HMAC_KEY_FILE), also verifies each entry's HMAC-SHA256 signature (tamper evidence). Returns whether the chain is valid, entry count, current hash, hmac_checked/signed_entries, and any mismatch errors.
Inputs: spec_dir.
sdd_verify_tasksVerify Task CompletionsBRead-onlyIdempotent
Reads TASKS.md and checks code_paths for implementation evidence. Detects phantom completions — tasks marked [x] but with no corresponding code. Writes VERIFICATION.md.
Inputs: code_paths (required), spec_dir, feature_number.
sdd_verify_testsVerify Test Coverage Against RequirementsARead-onlyIdempotent
Reads test results JSON and cross-references with requirement IDs from SPECIFICATION.md. Reports requirement coverage percentage, uncovered requirements, and a traceability matrix.
Inputs: test_results_json (required), spec_dir, feature_number.
sdd_write_bugfixWrite Bugfix SpecificationB
Generates and writes BUGFIX_SPEC.md with current behavior, expected behavior, unchanged behavior, root cause analysis, and test plan. Not gated by the state machine.
Inputs: bug_title (required), current_behavior (required), expected_behavior (required), spec_dir, +4 more.
sdd_write_designWrite Design DocumentB
Generates and writes DESIGN.md with architecture overview, Mermaid diagrams, ADRs, and API contracts.
Inputs: mermaid_diagrams (required), architecture_overview (required), adrs, force, +12 more.
sdd_write_specWrite SpecificationB
Generates and writes SPECIFICATION.md with all requirements in EARS notation. Validates each requirement against EARS patterns.
Inputs: feature_name (required), requirements (required), discovery_answers (required), force, +2 more.
sdd_write_tasksWrite Task BreakdownB
Generates and writes TASKS.md with pre-implementation gates, sequenced tasks with [P] parallel markers, effort estimates, and requirement traceability.
Inputs: tasks (required), force, spec_dir, feature_number, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 58 tools
Several tool pairs have unclear boundaries: sdd_write_spec vs sdd_turnkey_spec, sdd_generate_dockerfile vs sdd_setup_local_env, sdd_generate_docs vs sdd_generate_all_docs, and sdd_import_document vs sdd_batch_import all appear to produce overlapping artifacts. While descriptions add nuance, an agent would frequently need to read deeply to choose correctly, and mis-selection risk is high across the 58 tools.
All tool names share the sdd_ prefix and almost all follow snake_case verb_noun structure, making the surface feel predictable. A few names deviate (sdd_metrics, sdd_model_routing, sdd_turnkey_spec, sdd_context_status) and the verbs write/generate/setup are used somewhat interchangeably, so it is not a perfect 5.
At 58 tools, this is far beyond the 15-tool well-scoped range and even beyond the 25-tool heavy threshold. Many tools could be consolidated (all the generate_docs variants, the docker/devcontainer generators, and the batch import variants), so the count feels bloated rather than purposeful.
The tool surface covers the entire SDD lifecycle: discovery, specification, design, tasks, analysis, verification, diagrams, documentation, test generation, environment setup, and export integrations. It also includes backup/restore, RBAC, audit verification, and metrics, so there are no obvious dead ends for the stated purpose.
Maintenance
Related MCP Connectors
Spec-driven development MCP server: 8 phases, bi-directional traceability, 7 quality gates.
MCP server for generating rough-draft project plans from natural-language prompts.
Spec-driven development for AI coding agents: live requirements, stories and traceability over MCP
Hosted MCP server and Agent Skills for specs, engineering threads, and project memory.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn intelligent MCP server that helps development teams maintain high-quality project documentation by providing an AI-powered workflow for creating comprehensive specifications through requirements, design, and implementation documents.158 npm127MIT
- AlicenseNot gradedqualityDmaintenanceAn AI-native specification framework that enables deep requirements analysis and structured project planning through intelligent Q\&A workflows. The MCP server provides tools for project initialization, requirement analysis, and the generation of living documentation like development plans and architecture specs.3 npmApache 2.0
- FlicenseAqualityDmaintenanceAn MCP server that automates the full software development lifecycle through an AI-driven TDD state machine. It handles everything from task decomposition and test-driven development to integration testing and automated pull request creation.4-
- AlicenseCqualityBmaintenanceAn MCP server implementing Spec-Driven Development workflows for AI-agent CLIs and IDEs like Claude Code and Cursor, enabling spec-first development with automated workflow guidance and quality checks.17137 npm54MIT