Specpulse
Specification-Driven Development (SDD) Framework
Install / Use
/learn @specpulse/SpecpulseREADME
SpecPulse v2.7.5
<div align="center">The Complete AI-Enhanced Development Framework
Build better software with specifications first, powered by AI assistants across 8 major platforms
</div>🚀 What Makes SpecPulse Revolutionary?
SpecPulse is not just another CLI tool - it's a complete development framework that bridges the gap between your ideas and production code. By combining structured specifications with AI-powered assistance, SpecPulse transforms how you build software.
🎯 The Core Problem We Solve
Traditional development is chaotic:
- ❌ Ideas jump directly to coding without proper planning
- ❌ Requirements get lost in scattered documentation
- ❌ AI assistants lack context about your project structure
- ❌ Teams work without clear specifications or task breakdowns
✅ Our Solution: Specification-Driven Development
SpecPulse introduces AI-Enhanced Specification-Driven Development:
- Specifications First - Clear, detailed specs before any code
- AI-Powered - Your favorite AI assistant helps create and expand specs
- Structured Planning - Break down features into manageable tasks
- Universal Integration - Works across 8 major AI platforms
- CLI Foundation - Reliable command-line structure with AI enhancement
🤖 Universal AI Platform Support
SpecPulse works everywhere you work - supporting 8 major AI platforms with identical functionality:
| Platform | Integration Type | Commands | Status |
|----------|------------------|----------|--------|
| Claude Code | Custom Slash Commands | /sp-* | ✅ Full Support |
| Gemini CLI | Custom Commands | /sp-* | ✅ Full Support |
| Windsurf | Custom Slash Commands | /sp-* | ✅ Full Support |
| Cursor | Custom Slash Commands | /sp-* | ✅ Full Support |
| GitHub Copilot | Custom Prompts | .prompt.md | ✅ Full Support |
| OpenCode | Agent-Based Workflow | /sp-* | ✅ Full Support |
| Crush | Category Commands | /sp-* | ✅ Full Support |
| Qwen Code | TOML Configuration | /sp-* | ✅ Full Support |
🔄 Identical Experience Across All Platforms
The same 11 commands work everywhere with identical functionality:
# These commands work identically on ALL 8 platforms:
/sp-pulse payment-system # Initialize new feature - START HERE
/sp-spec "User authentication" # Create specification
/sp-plan # Generate implementation plan
/sp-task # Break down into tasks
/sp-execute # Execute tasks continuously
/sp-status # Check progress
/sp-validate # Validate work
/sp-continue feature-id # Switch to existing feature
/sp-decompose spec-id # Decompose specifications
/sp-clarify spec-id # Clarify requirements
/sp-llm-enforce [action] # LLM compliance enforcement
🎯 IMPORTANT: Always start with /sp-pulse - this is your entry point to everything!
🎯 The Magic: How SpecPulse Works
The CLI-AI Partnership
SpecPulse uses a revolutionary CLI-First with AI Enhancement approach:
You: /sp-spec "OAuth2 authentication system"
↓
Step 1: CLI Creates Foundation (Always Works)
specpulse spec create "OAuth2 authentication system"
✓ Creates empty spec file
✓ Adds metadata and structure
✓ Updates project directories
↓
Step 2: AI Enhances Content (Safe Operations)
AI reads created file
AI adds detailed requirements and technical specs
AI enhances with comprehensive documentation
↓
Result: Complete, detailed specification ready for development
Why This Approach Is Game-Changing
✅ CLI First: Creates reliable, cross-platform structure that never fails ✅ AI Enhanced: Leverages AI for what it does best - detailed content creation ✅ Fallback Protection: Work continues even if CLI fails ✅ Platform Independence: Works identically on Windows, macOS, Linux ✅ Safe Operations: AI only works on files CLI has created
🚀 Getting Started: Your Complete First Project
Let's build your first feature with SpecPulse step by step:
Step 1: Installation and Project Setup
# Install SpecPulse
pip install specpulse
# Create your first project (choosing your AI platform)
specpulse init my-awesome-project --ai claude
cd my-awesome-project
Project Structure Created:
my-awesome-project/
├── .specpulse/ # All your project data (specs, plans, tasks)
├── .claude/ # Claude Code commands (auto-deployed)
├── README.md
└── package.json
Step 2: Initialize Your First Feature
# THE WAY TO START - AI-Powered Approach
# In your AI assistant (Claude, Gemini, Windsurf, Cursor, etc.):
/sp-pulse user-authentication
What happens:
- ✅ Creates feature directory:
specs/001-user-authentication/ - ✅ Sets up project context and metadata
- ✅ Updates current working feature tracking
- ✅ Prepares structured environment for development
- ✅ Deploys AI platform-specific commands automatically
Step 3: Create Detailed Specification
# In your AI assistant (Claude, Gemini, Windsurf, Cursor, etc.):
/sp-spec "OAuth2 authentication with JWT tokens"
AI-powered specification includes:
- 🎯 Problem Statement: Clear business problem and solution overview
- 🔧 Functional Requirements: Complete feature functionality
- 🔐 Security Requirements: Authentication, authorization, data protection
- 🎨 User Experience: UI/UX considerations and user flows
- 🔌 API Design: Endpoint specifications and data contracts
- 💾 Data Models: Database schemas and relationships
- ✅ Acceptance Criteria: How to verify the implementation works
Step 4: Generate Implementation Plan
# In your AI assistant (works on all platforms):
/sp-plan
AI generates comprehensive plan:
- 🏗️ Architecture Decisions: Technology choices and system design
- 📁 File Structure: What files need to be created/modified
- 🔄 Implementation Steps: Sequential development approach
- 🔗 Dependencies: What needs to be built first
- ⏱️ Time Estimates: Realistic development timelines
- 🧪 Testing Strategy: How to ensure quality and reliability
Step 5: Break Down into Development Tasks
# In your AI assistant:
/sp-task
AI creates actionable tasks:
---
id: task-001
status: todo
title: "Set up authentication middleware"
description: |
- What problem does this solve?: Foundation for secure route protection
- Why is this necessary?: All protected endpoints require authentication
- How will this be done?: Express middleware with JWT validation
- When is this complete?: Middleware successfully validates tokens
files_touched:
- path: src/middleware/auth.js
reason: "JWT token validation middleware"
goals: ["Secure authentication middleware", "JWT token validation"]
success_criteria: ["Valid tokens pass", "Invalid tokens are rejected"]
dependencies: []
next_tasks: ["task-002", "task-003"]
---
Step 6: Execute Tasks Continuously
# Execute next task and continue automatically
/sp-execute
# OR execute ALL tasks without stopping
/sp-execute all
# OR execute specific task
/sp-execute task-001
What happens during execution:
- 🎯 Task Selection: Finds next pending task
- 🔄 Status Update: Marks task as "in-progress"
- 💻 Implementation: AI writes the actual code
- ✅ Validation: Ensures requirements are met
- 📝 Documentation: Updates task status and moves to next
Step 7: Track Progress and Validate
# Check current progress
/sp-status
# Validate all work completed
/sp-validate
💡 Real-World Workflow Examples
Example 1: E-commerce Payment System
# 1. Initialize payment feature
/sp-pulse payment-system
# 2. Create comprehensive specification
/sp-spec "Stripe integration with payment processing, refunds, and subscription management"
# 3. Generate detailed implementation plan
/sp-plan
# 4. Break into development tasks
/sp-task
# 5. Execute all tasks continuously
/sp-execute all
# 6. Review progress
/sp-status
Result in 30 minutes:
- ✅ Complete payment specification (12 pages)
- ✅ Implementation plan with 24 tasks
- ✅ Stripe integration code
- ✅ Payment processing logic
- ✅ Refund system
- ✅ Subscription management
- ✅ Error handling and logging
- ✅ Test suite with 95% coverage
Example 2: Real-time Chat Application
# Team collaboration with different AI platforms:
# Backend developer uses Claude Code:
/sp-pulse realtime-chat
/sp-spec "WebSocket-based chat with rooms, typing indicators, and file sharing"
# Frontend developer uses Gemini CLI:
/sp-continue 001-chat
/sp-task
# DevOps engineer uses Windsurf:
/sp-execute task-005 # WebSocket server setup
Result: Seamless collaboration across different AI platforms
🎯 Complete AI Command Reference
Feature Management Commands
/sp-pulse <feature-name>
Initialize a new feature with intelligent suggestions
# Examples
/sp-pulse user-authentication
/sp-pulse payment-gateway
/sp-pulse real-time-notifications
What it does:
- Creates feature directory structure
- Detects project type (web, mobile, API, etc.)
- Suggests specification approaches
- Sets up project context and metadata
/sp-continue <feature-id>
**Swi
