基于规范的开发 (SDD) 框架
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.
Traditional development is chaotic:
SpecPulse introduces AI-Enhanced Specification-Driven Development:
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 |
The same 11 commands work everywhere with identical functionality:
…** IMPORTANT: Always start with /sp-pulse - this is your entry point to everything!**
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✅ 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
Let's build your first feature with SpecPulse step by step:
# Install SpecPulse
pip install specpulse
# Create your first project (choosing your AI platform)
specpulse init my-awesome-project --ai claude
cd my-awesome-projectProject Structure Created:
my-awesome-project/
├── .specpulse/ # All your project data (specs, plans, tasks)
├── .claude/ # Claude Code commands (auto-deployed)
├── README.md
└── package.json# THE WAY TO START - AI-Powered Approach
# In your AI assistant (Claude, Gemini, Windsurf, Cursor, etc.):
/sp-pulse user-authenticationWhat happens:
specs/001-user-authentication/# In your AI assistant (Claude, Gemini, Windsurf, Cursor, etc.):
/sp-spec "OAuth2 authentication with JWT tokens"AI-powered specification includes:
# In your AI assistant (works on all platforms):
/sp-planAI generates comprehensive plan:
# In your AI assistant:
/sp-taskAI creates actionable tasks:
…# Execute next task and continue automatically
/sp-execute
# OR execute ALL tasks without stopping
/sp-execute all
# OR execute specific task
/sp-execute task-001What happens during execution:
# Check current progress
/sp-status
# Validate all work completed
/sp-validate# 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-statusResult in 30 minutes:
# 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 setupResult: Seamless collaboration across different AI platforms
/sp-pulse Initialize a new feature with intelligent suggestions
# Examples
/sp-pulse user-authentication
/sp-pulse payment-gateway
/sp-pulse real-time-notificationsWhat it does:
/sp-continue Switch to existing feature
# Examples
/sp-continue 001-auth
/sp-continue payment-system
/sp-continue 003-notifications/sp-spec ""Create and expand detailed specification
# Examples
/sp-spec "User authentication with OAuth2 and JWT"
/sp-spec "REST API for product catalog with filtering"
/sp-spec "Real-time chat with WebSocket and rooms"
# With explicit action
/sp-spec create "Payment processing system"
/sp-spec update "Add error handling requirements"
/sp-spec validate
/sp-spec clarifyAI generates complete specification with:
/sp-spec validateValidate specification completeness
# Validate current feature's specifications
/sp-spec validate/sp-spec clarifyClarify and expand specification details
# Clarify current feature's specifications
/sp-spec clarify/sp-planGenerate and expand implementation plan
# Generate plan (default)
/sp-plan
# With explicit action
/sp-plan generate
/sp-plan validate
/sp-plan optimizeAI creates:
/sp-plan validateValidate implementation plan
# Validate current feature's plan
/sp-plan validate/sp-taskBreak plan into detailed, actionable tasks
# Break down into tasks (default)
/sp-task
# With explicit action
/sp-task breakdown
/sp-task update
/sp-task status
/sp-task validateEach task includes:
/sp-task validateValidate task completeness and correctness
# Validate current feature's tasks
/sp-task validate/sp-execute [task-id|all]Execute tasks continuously without stopping
# Execute next pending task
/sp-execute
# Execute ALL pending tasks non-stop
/sp-execute all
# Execute specific task
/sp-execute task-001
/sp-execute auth-middlewareExecution behavior:
/sp-statusShow comprehensive project progress
# Shows:
# - Overall completion percentage
# - Feature-by-feature progress
# - Task status breakdown (pending/in-progress/completed/blocked)
# - Current blockers and issues
# - Time estimates and velocity
# - Quality metrics and test coverage/sp-validateValidate all project artifacts
# Validates:
# - Specification completeness and quality
# - Plan feasibility and coverage
# - Task breakdown and dependencies
# - Code quality and test coverage
# - Documentation and standards compliance/sp-decompose Decompose specification into components
# Examples
/sp-decompose spec-001
/sp-decompose auth-specUseful for:
/sp-clarify Clarify requirements and resolve ambiguities
# Examples
/sp-clarify spec-001
/sp-clarify payment-specHelps resolve:
暂无开放 Issues,或尚未同步最近议题。