sdd-speckit-framework
A Spec-Driven Development starter kit for Claude Code, GitHub Copilot and Factory Droid, packaging
GitHub's Speckit methodology as a Claude Code plugin, a set
of Copilot skills, custom agents and hooks, a Factory Droid plugin, and a one-command project
scaffolder.
Pick one assistant or both. The Claude Code sources are canonical. The Copilot files are rendered
from them, so each phase is written once. See docs/COPILOT.md.
You get:
- The Speckit phase workflow, with phase-matched subagents on the right model tier.
- Layered artifact templates. A base template for every artifact, composed with an
industry profile (general SaaS, healthcare, financial services, public sector) and a
stack profile (Node full-stack, Python FastAPI, .NET Aspire).
- Onboarding for new and existing codebases. Greenfield starts with the constitution.
Brownfield starts with discovery, a constitution derived from the code, baseline specs and an
adoption roadmap.
- A harness. Six gates, each
off, warn or block, run by one script in the assistant
hooks and in CI.
- A curated MCP connector catalog and editor scaffolding.
An installer wires it up. It asks eight questions first.
Ways in
1. Scaffold a new project
npx github:your-org/sdd-speckit-framework my-app
cd my-app
Answers eight questions — telemetry, project mode, industry, tech stack, primary assistant, MCP
connectors, editor, harness gates — then scaffolds. Non-interactive for CI:
npx create-sdd-speckit-app my-app --yes \
--industry=healthcare --stack=python-fastapi --assistant=claude --telemetry=off \
--mcp=github,playwright --editor=vscode
--assistant takes claude, copilot, factory, both, cursor or other.
No Node? ./installer/install.sh my-app asks the same eight questions and writes the same files.
Then run /sdd-speckit:speckit.onboard in the project.
2. Onboard an existing codebase (brownfield)
cd existing-repo
npx create-sdd-speckit-app . --yes --mode=brownfield --industry=financial-services --stack=auto
Existing files are merged or kept, never replaced. The gates start at warn. Then:
/sdd-speckit:speckit.onboard → speckit.discover → speckit.constitution → speckit.baseline
See docs/ONBOARDING-GREENFIELD-BROWNFIELD.md.
3. Plugin only — Claude Code
claude plugin marketplace add your-org/sdd-speckit-framework
claude plugin install sdd-speckit@sdd-speckit-framework
Or, inside an interactive session — this form always works:
/plugin marketplace add your-org/sdd-speckit-framework
/plugin install sdd-speckit@sdd-speckit-framework
Then run /sdd-speckit:speckit.setup to answer the same eight questions in-session.
For local development, skip the marketplace: claude --plugin-dir /path/to/this/repo.
4. Files only — GitHub Copilot
npx create-sdd-speckit-app . --emit=copilot
This writes .github/skills/, .github/agents/, .github/hooks/sdd-speckit.json, a marked block
in .github/copilot-instructions.md, and .specify/sdd-speckit/. Commit them. There is nothing
to register. With no Node, copy adapters/copilot/dist/ into the repo.
5. Plugin — Factory Droid
droid plugin marketplace add your-org/sdd-speckit-framework
droid plugin install sdd-speckit@sdd-speckit-framework --scope project
Then run /sdd-speckit-onboard. To scaffold a project for Droid, use --assistant=factory. It
writes the templates, gates and AGENTS.md, and prints these two commands. The plugin is
rendered into adapters/factory/dist/ from the Claude Code sources, and the repo-root .factory-plugin/marketplace.json points Droid at it. See
docs/FACTORY.md.
The workflow
constitution → specify → clarify → plan → checklist → tasks → analyze → implement → converge
└─ required ─┘ ▲ ▲ ▲
└───────┴─ optional gates ─┘
Only specify before plan is strict. clarify, checklist and analyze are quality gates.
analyze is read-only — its write tools are removed, not merely discouraged.