Gigaspec
README.md
<div align="center">
<img src="logo.svg" alt="Gigaspec Logo" width="120" height="120">
# ๐ Gigaspec
### **AI-Native Specification Framework**
[](https://www.npmjs.com/package/gigaspec)
[](LICENSE)
[](https://nodejs.org/)
[](https://github.com/oleksiitrembach/gigaspec/actions)
**The AI does the thinking. We provide the structure.**
[Installation](#installation) โข [Quick Start](#quick-start) โข [Documentation](#documentation) โข [GitHub](https://github.com/oleksiitrembach/gigaspec)
</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
```bash
# Global installation
npm install -g gigaspec
# Or use without installing
npx gigaspec init --name "MyApp"
```
### Create Your First Project
```bash
# 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.**
```bash
# 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 `gigaspec` commands directly in terminal
- **MCP**: AI assistants use tools via MCP integration
All CLI commands support `--json` for structured output:
```bash
# 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)**
```bash
npm install -g gigaspec
```
Then configure your AI IDE:
**Kimi Desktop** (`~/.kimi/mcp.json`):
```json
{
"mcpServers": {
"gigaspec": {
"command": "gigaspec-mcp"
}
}
}
```
**Claude Desktop** (`%APPDATA%/Claude/claude_desktop_config.json` on Windows):
```json
{
"mcpServers": {
"gigaspec": {
"command": "gigaspec-mcp"
}
}
}
```
**Option 2: Using npx (No Install)**
```json
{
"mcpServers": {
"gigaspec": {
"command": "npx",
"args": ["-y", "gigaspec-mcp"]
}
}
}
```
**Option 3: Local Development (Project Path)**
When developing gigaspec itself or using a local copy:
```json
{
"mcpServers": {
"gigaspec": {
"command": "node",
"args": [
"./bin/mcp-server.js"
],
"env": {}
}
}
}
```
#### Available Tools
Once configured, your AI assistant can use:
- `gigaspec-init` โ Initialize project
- `gigaspec-analyze` โ Create analysis prompt
- `gigaspec-generate` โ Generate specification files
- `gigaspec-status` โ Get project status
- `gigaspec-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
```bash
# 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
```bash
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](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](LICENSE) file for details.
---
<div align="center">
**Made with โค๏ธ for AI-human collaboration**
[โญ Star us on GitHub](https://github.com/oleksiitrembach/gigaspec) โข [๐ Report Issues](https://github.com/oleksiitrembach/gigaspec/issues)
</div>
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues