SpecPilot
Generates GitHub Copilot configuration during project init, including a .github/copilot-instructions.md AI context file and a set of specpilot-* workflow prompts in .github/prompts/, so Copilot can follow spec-driven development, code philosophy/rules, and re-anchor prompts for the project.
Generates instruction context for the OpenAI Codex agent (via .github/copilot-instructions.md), equipping it with the project's mandates, code rules, and re-anchor prompt for AI-assisted spec-driven development.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SpecPilotOnboard this project by inferring specs from my repo."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SpecPilot
SpecPilot is a spec-driven development (SDD) CLI for AI coding agents like Claude Code, Cursor, and ChatGPT. It initializes, validates, and syncs a .specs/ directory so AI-assisted coding stays grounded in living requirements, architecture, and task specs instead of drifting from the codebase.

MCP server
Prefer to stay inside your editor? SpecPilot also runs as a remote MCP server, so Claude Code, Cursor or Copilot can run the whole onboarding itself - answering what it can infer from your repo and asking you only the rest.
claude mcp add --transport http specpilot https://init.specpilot.dev/mcpThen ask your agent: "Onboard this project with SpecPilot".
For Cursor, VS Code and other clients, add it as an HTTP (streamable) server:
{
"mcpServers": {
"specpilot": {
"type": "http",
"url": "https://init.specpilot.dev/mcp"
}
}
}No install, no API key. Full setup notes: https://specpilot.dev/mcp-setup
Related MCP server: OpenSpec MCP Server
Quick Start
# Install globally
npm install -g specpilot
# Create a new project
specpilot init my-project --lang typescript --framework react
# Add specs to existing project
cd existing-project
specpilot add-specs
# Validate specifications
specpilot validate๐ Next Steps to Populate Your Specs with AI
After creating a project, follow these steps to populate your specifications using AI:
Open the generated guide: Check
.specs/README.mdfor full guidanceCopy the onboarding prompt: Use the prompt from
.specs/development/onboarding.mdPaste into your AI agent: ChatGPT, Claude, or other AI assistants
Review generated spec files: Examine the AI-generated requirements and architecture
This AI-assisted approach ensures comprehensive, high-quality specifications tailored to your project needs.
Commands
Command | Description |
| Initialize new SDD project |
| Preview files that would be created without writing |
| Add specs to existing project |
| Validate specification files |
| Archive oversized |
| Backfill missing mandates & slash commands into existing project files |
| Show available templates |
| Convert legacy |
| Refine project specifications |
Tip โ command aliases: All commands have a short alias you can use instead of the full name.
initโi ยท validateโv ยท migrateโm ยท listโls ยท refineโref ยท archiveโar ยท add-specsโadd ยท backfillโbfExample:specpilot i my-appis identical tospecpilot init my-app.
Per-Command Options
Command | Options |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Run
specpilot <command> --helpfor full flag descriptions and default values.
Examples
# Initialize with specific language/framework
specpilot init api --lang python --framework fastapi
# Preview files that would be created without writing anything
specpilot init api --dry-run
# Refine specifications
specpilot refine "REST API for user management" --update
# Validate with auto-fix
specpilot validate --fixSupported Languages & Frameworks
TypeScript
React: SPA applications
Express: REST APIs
Next.js: Full-stack apps
Nest.js: Scalable server-side apps
Vue: Progressive UI framework
Angular: Enterprise SPA framework
JavaScript
React: SPA applications
Express: REST APIs
Note: no framework prompt is shown for JavaScript โ pass
--frameworkexplicitly if needed.
Python
FastAPI: Modern REST APIs
Django: Full-stack applications
Flask: Lightweight REST APIs
Streamlit: Data Science / ML apps
Kotlin
Android: Native Android apps
Spring: Server-side REST APIs
Ktor: Async Kotlin web framework
Compose: Jetpack Compose UI
Swift
iOS: Native iOS apps
SwiftUI: Declarative Apple UI
Vapor: Swift server-side framework
Project Structure
SpecPilot generates a .specs/ folder with organized subdirectories:
.specs/
โโโ architecture/
โ โโโ api.yaml # CLI / REST API / GraphQL interface spec
โ โโโ architecture.md # System design decisions and patterns
โโโ development/
โ โโโ context.md # Development memory, decisions, learnings
โ โโโ onboarding.md # One-time AI bootstrap prompt โ delete after first use
โ โโโ prompts.md # AI interaction log โ MANDATED, update every session
โโโ planning/
โ โโโ roadmap.md # Release milestones and objectives
โ โโโ tasks.md # Sprint tracker (backlog / current / completed)
โโโ project/
โ โโโ project.yaml # Project config, rules, and AI context (MANDATED)
โ โโโ requirements.md # Functional & non-functional requirements
โโโ quality/
โ โโโ tests.md # Test strategy, coverage targets, acceptance criteria
โโโ security/
โโโ security-decisions.md # ADR-style security design decisions
โโโ threat-model.md # Threat inventory with impact/likelihood/mitigationAlso generated at project root: an AI context file (
.github/copilot-instructions.md,CLAUDE.md,.cursor/rules/specpilot.mdc,.windsurfrules,.antigravity/rules.mdetc.) based on your selected IDE/Agent
Configuration
SpecPilot requires no global configuration. Each project is self-contained with settings in project.yaml.
IDE & Agent Support
SpecPilot generates AI agent configuration files during project initialization. When you run specpilot init, you'll be prompted to select your AI IDE/Agent:
Desktop IDEs (Workspace Settings):
GitHub Copilot - Industry standard with Copilot integration
Cursor - AI-first code editor with enhanced AI context
Windsurf - Advanced AI coding assistant
Antigravity - AI-powered IDE with context awareness
Cloud-Based AI Agents (Instruction Files):
Claude Code - Anthropic Claude Code CLI agent (
CLAUDE.md)Codex - OpenAI Codex agent with instruction context
Generated Configuration Files:
Each IDE/Agent selection generates one AI context file at the project root:
IDE/Agent | Generated file |
GitHub Copilot |
|
Codex |
|
Cursor |
|
Windsurf |
|
Antigravity |
|
Claude Code |
|
All context files contain: project name/stack, critical mandates, Code Philosophy, Code Rules, and a Re-Anchor Prompt.
For desktop IDEs: .vscode/settings.json (or .cursor/, .windsurf/, etc.)
IDE-specific workspace folder setup for code + .specs
Extensions recommendations for development
AI context configuration for better spec integration
Generated Slash Commands
Each IDE/Agent selection also generates 8 specpilot-* slash/workflow commands (status, reanchor, report, sync, refine, validate, archive, backfill) that mirror key CLI operations as in-editor commands โ e.g. .claude/commands/specpilot-status.md for Claude Code, .cursor/commands/ for Cursor, .github/prompts/ for GitHub Copilot. Running backfill on an existing project fills in any commands missing for your already-configured IDE(s). See the Full Guide for the complete list and per-IDE paths.
The generated settings/instructions automatically configure your AI agent to:
Include
.specs/folder in AI contextUnderstand project structure and requirements
Follow specification-driven development principles
Access development guidelines and onboarding prompts
Example:
# During init, you'll be prompted to select your IDE/Agent
specpilot init my-project --lang typescript --framework react
# Respond with your preferred IDE/Agent:
# - vscode, cursor, windsurf, antigravity (desktop)
# - claude-code, codex (cloud agents)Troubleshooting
Common Issues
Permission Errors
sudo chown -R $USER ~/.npm-global
npm config set prefix '~/.npm-global'Template Not Found
specpilot list --verboseValidation Failures
specpilot validate --verbose --fixMigration Issues
Error: "Source structure 'complex' not found"
# For NEW projects, use:
specpilot init my-project
# For EXISTING projects without specs:
specpilot add-specs
# Only use migrate if you have an old .project-spec folder
specpilot migrate --from complex --to simple --backupDebug Mode
DEBUG=specpilot specpilot <command>Why SpecPilot?
SpecPilot implements Specification-Driven Development (SDD) where specifications come first:
Specifications โ Architecture โ Code โ Tests โ DeploymentBenefits:
Clarity: Everyone understands what needs to be built
Consistency: Standardized structure across projects
Quality: Built-in validation and testing
AI-Ready: Clear context for AI assistants
Maintainable: Comprehensive documentation
Contributing
This project follows SDD principles. See .specs/ for contribution guidelines.
Development Setup
git clone https://github.com/girishr/SpecPilot.git
cd SpecPilot
npm install
npm run build
npm link # For local testingQuick Contribution Guide
Check
.specs/planning/tasks.mdUpdate specs when making changes
Run
specpilot validatebefore committing
Documentation
Full Guide: Comprehensive documentation
SpecPilot vs GitHub Spec Kit: Side-by-side comparison to help you choose the right tool
CHANGELOG: Version history
Issues: Bug reports & feature requests
License
MIT License - see LICENSE file for details.
Built with specification-driven development principles for serious production projects.
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn PRDs and product ideas into structured specs so coding agents build your intent, not theirs.
Serves your design system and coding standards to coding agents, so they stop guessing.
Project registry, behavioral specs, and engineering threads for AI coding agent workflows.
- OolkinOAuthcom.oolkin
AI colleagues that keep your standards, your project and their reasoning between sessions
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables spec-driven development workflows with AI assistants, providing tools for managing specification lifecycles, task dependencies, code navigation, testing, and automated reviews through a unified CLI and MCP interface.4MIT
- AlicenseBqualityCmaintenanceConnects OpenSpec specification system to AI coding assistants, enabling automated spec-driven development workflows.1120 npm2MIT

SpecDown MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceGives AI assistants direct read/write access to SpecDown Markdown spec documents, enabling spec-driven development without copy-pasting.7 npm3MIT- AlicenseNot gradedqualityBmaintenanceUnified AI coding-agent framework combining Spec-Driven Development (SDD), AST semantic code reuse, and progressive project memory (.ai/) for Claude Code, Cursor, Windsurf, and Zed.180 npm3MIT