Gigaspec
An 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.
README
<div align="center">
<img src="logo.svg" alt="Gigaspec Logo" width="120" height="120">
๐ Gigaspec
AI-Native Specification Framework
The AI does the thinking. We provide the structure.
Installation โข Quick Start โข Documentation โข GitHub
</div>
๐ฏ What is Gigaspec?
Gigaspec is an AI-native collaboration framework that transforms how software projects are planned and built. Instead of static templates or keyword-based recommendations, Gigaspec enables deep AI analysis of your requirements with intelligent Q&A workflows.
The Problem with Traditional Tools
User: "I want to build a real-time collaborative app"
Traditional Tool: "Use Elixir!" โ No questions, no reasoning
The Gigaspec Way
User: "I want to build a real-time collaborative app"
AI: "Tell me more! What's your expected user count? Do you need
offline support? What's your team's expertise?"
โ Analyzes deeply
โ Explains reasoning
โ Recommends tailored stack
โจ Features
| Feature | Description |
|---|---|
| ๐ Gigaspec v5.0 | Ultimate spec kit with forced AI compliance |
| ๐ Immutable Rules | CLAUDE.md enforces standards that AI cannot override |
| โ Automated Verification | Every code change validated before completion |
| ๐ ๏ธ Universal Tool Support | Claude Code, Cursor, Kimi adapters |
| ๐ Model-Agnostic | Works with Claude, GPT, Gemini, Llama |
| ๐ค AI-Native Workflow | Designed for AI assistants to drive development |
| ๐ฌ Intelligent Q&A | AI asks clarifying questions, not keyword matching |
| ๐ Living Documentation | STATE.md tracks progress, AGENT.md guides AI coding |
| ๐ฏ Stack Recommendations | Deep analysis with transparent reasoning |
| ๐ง MCP Server | Native integration with AI IDEs |
| ๐ฆ Zero Config | Works out of the box with sensible defaults |
๐ Quick Start
Installation
# Global installation
npm install -g gigaspec
# Or use without installing
npx gigaspec init --name "MyApp"
Create Your First Project
# Interactive AI-guided wizard
gigaspec init
# Or specify your stack directly
gigaspec init --name "MyApp" --stack "Node.js/Next.js"
# Non-interactive with defaults
gigaspec init --name "MyApp" --yes
# Generate v5.0 Ultimate Spec Kit (RECOMMENDED)
gigaspec generate --name "MyApp" --stack "Node.js/Express" --v5
๐ Gigaspec v5.0 (Ultimate Spec Kit)
The specification framework that forces AI compliance.
# Generate v5.0 spec kit with immutable rules
gigaspec generate --name "MyApp" --stack "Node.js/Express" --v5
What makes v5.0 different:
- CLAUDE.md - Immutable system rules that AI cannot override
- Automated Verification - Every code change validated
- Multi-Tool Adapters - Claude Code, Cursor, Kimi support
- Model-Agnostic - Works with any LLM
Generated v5.0 Structure:
my-project/
โโโ CLAUDE.md โ IMMUTABLE system rules (AI cannot override)
โโโ AGENT.md โ Project-specific standards
โโโ STATE.md โ Living project status
โโโ ARCHITECTURE.md โ System design
โโโ PLAN.md โ Development roadmap
โโโ RULES/ โ Modular rule modules
โ โโโ security.md
โ โโโ testing.md
โโโ .claude/ โ Claude Code adapter
โ โโโ CLAUDE.md
โ โโโ skills/
โ โโโ agents/
โโโ .cursorrules โ Cursor IDE adapter
โโโ .cursor/
โ โโโ agents/
โโโ .kimi/ โ Kimi CLI adapter
โโโ AGENT.md
What Gets Created (v4.x)
my-project/
โโโ AGENT.md โ AI coding standards & constraints
โโโ ARCHITECTURE.md โ System design & decisions
โโโ PLAN.md โ Development roadmap
โโโ STATE.md โ Project status (living document)
โโโ WORKFLOW.md โ AI development protocols
โโโ SETUP.md โ Local development guide
โโโ DEPLOYMENT.md โ Production deployment
โโโ ENVIRONMENT.md โ Secrets & configuration
โโโ CLAUDE.md โ Claude Code integration guide
โโโ .cursorrules โ Cursor IDE rules
โโโ .github/workflows/ โ CI/CD automation
โโโ .hooks/ โ Git hooks
โโโ scripts/ โ Utility scripts
โโโ prompts/ โ AI prompt templates
๐ค For AI Assistants
Gigaspec works both as a CLI tool (for humans) and an MCP server (for AI IDEs). Use whichever fits your workflow:
- CLI: Run
gigaspeccommands directly in terminal - MCP: AI assistants use tools via MCP integration
All CLI commands support --json for structured output:
# Start AI workflow
gigaspec init --json
# Get current task to implement
gigaspec continue --json
# Verify code compliance
gigaspec verify --json
MCP Integration
Gigaspec includes an MCP (Model Context Protocol) server for AI IDEs like Kimi, Claude Desktop, and Cline.
Configuration
Add to your AI IDE's MCP settings:
Option 1: Global Install (Recommended)
npm install -g gigaspec
Then configure your AI IDE:
Kimi Desktop (~/.kimi/mcp.json):
{
"mcpServers": {
"gigaspec": {
"command": "gigaspec-mcp"
}
}
}
Claude Desktop (%APPDATA%/Claude/claude_desktop_config.json on Windows):
{
"mcpServers": {
"gigaspec": {
"command": "gigaspec-mcp"
}
}
}
Option 2: Using npx (No Install)
{
"mcpServers": {
"gigaspec": {
"command": "npx",
"args": ["-y", "gigaspec-mcp"]
}
}
}
Option 3: Local Development (Project Path)
When developing gigaspec itself or using a local copy:
{
"mcpServers": {
"gigaspec": {
"command": "node",
"args": [
"./bin/mcp-server.js"
],
"env": {}
}
}
}
Available Tools
Once configured, your AI assistant can use:
gigaspec-initโ Initialize projectgigaspec-analyzeโ Create analysis promptgigaspec-generateโ Generate specification filesgigaspec-statusโ Get project statusgigaspec-wizardโ Interactive project setup
๐ Commands
Core Commands
| Command | Description |
|---|---|
gigaspec init |
Initialize project with AI collaboration framework |
gigaspec analyze "<description>" |
Create analysis prompt for AI |
gigaspec generate |
Generate specification files |
gigaspec status |
Show current project status |
gigaspec continue |
Get next development task |
gigaspec verify |
Verify code against AGENT.md |
Options
# JSON output for AI consumption
gigaspec init --name "MyApp" --json
# Specify stack
gigaspec init --name "MyApp" --stack "Elixir/Phoenix"
# With all options
gigaspec init \
--name "MyApp" \
--stack "Node.js/Express" \
--database "PostgreSQL" \
--deploy "Railway" \
--yes
๐ How It Works
1. Describe Your Project
"I want to build a math learning app for kids"
2. AI Analyzes Deeply
The AI receives a structured prompt and:
- โ Analyzes core requirements
- โ Identifies user types and scale
- โ Considers technical challenges
- โ Asks clarifying questions
3. Intelligent Q&A
AI: "I have some questions to better understand your needs:
1. What age range are you targeting?
2. Do you need offline capability?
3. Will this be free or subscription?
4. Any compliance requirements (COPPA)?"
4. Tailored Recommendations
AI: "Based on your answers, I recommend:
Stack: Next.js 14 with PWA capabilities
Why: PWA gives offline capability, Next.js excels at interactive content
Database: PostgreSQL via Supabase
Why: Built-in realtime for progress sync, COPPA compliance features
Services: Clerk (COPPA-compliant auth), Stripe (payments)"
5. Generate & Build
gigaspec generate --stack "Next.js 14" --name "MathLearn"
๐ Comparison
| Traditional Tools | Gigaspec | |
|---|---|---|
| Analysis | Keyword matching | Deep AI reasoning |
| Questions | None | Intelligent Q&A |
| Explanations | "Use X" | "Use X because of Y" |
| Tailored | One-size-fits-all | Project-specific |
| AI Workflow | Not designed for AI | Built for AI collaboration |
๐ Project Structure
When you run gigaspec init, you get a complete specification framework:
๐ฆ my-project/
โโโ ๐ AGENT.md AI coding standards (the "rulebook")
โโโ ๐ ARCHITECTURE.md System design & tech decisions
โโโ ๐ PLAN.md Development phases & milestones
โโโ ๐ STATE.md Current status & next tasks
โโโ ๐ WORKFLOW.md AI collaboration protocols
โโโ ๐ SETUP.md Environment setup guide
โโโ ๐ DEPLOYMENT.md Production deployment
โโโ ๐ ENVIRONMENT.md Secrets & configuration
โโโ ๐ CLAUDE.md Claude Code integration
โโโ โ๏ธ .cursorrules Cursor IDE rules
โโโ ๐๏ธ .github/workflows/ CI/CD automation
โโโ ๐๏ธ .hooks/ Git hooks
โโโ ๐๏ธ scripts/ Utility scripts
โโโ ๐๏ธ prompts/ AI prompt templates
๐งช Example Walkthrough
See EXAMPLE.md for a complete walkthrough of building a math learning app, including:
- Initial project description
- AI analysis and questions
- Stack recommendation with reasoning
- Full specification generation
- Development workflow
๐ง Requirements
- Node.js >= 16.0.0
- npm or yarn
๐ License
Apache License 2.0 โ see LICENSE file for details.
<div align="center">
Made with โค๏ธ for AI-human collaboration
โญ Star us on GitHub โข ๐ Report Issues
</div>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.