百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

specpulse

> DevOps
开源

基于规范的开发 (SDD) 框架

391 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

基于规范的开发 (SDD) 框架

SpecPulse v2.7.5


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:

  1. Specifications First - Clear, detailed specs before any code
  2. AI-Powered - Your favorite AI assistant helps create and expand specs
  3. Structured Planning - Break down features into manageable tasks
  4. Universal Integration - Works across 8 major AI platforms
  5. 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:

…

** 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

bash
# 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

bash
# 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

bash
# 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

bash
# 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

bash
# In your AI assistant:
/sp-task

AI creates actionable tasks:

…

Step 6: Execute Tasks Continuously

bash
# 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:

  1. Task Selection: Finds next pending task
  2. Status Update: Marks task as "in-progress"
  3. Implementation: AI writes the actual code
  4. ✅ Validation: Ensures requirements are met
  5. Documentation: Updates task status and moves to next

Step 7: Track Progress and Validate

bash
# Check current progress
/sp-status

# Validate all work completed
/sp-validate

Real-World Workflow Examples

Example 1: E-commerce Payment System

bash
# 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

bash
# 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

Initialize a new feature with intelligent suggestions

bash
# 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

Switch to existing feature

bash
# Examples
/sp-continue 001-auth
/sp-continue payment-system
/sp-continue 003-notifications

Specification Commands

/sp-spec ""

Create and expand detailed specification

bash
# 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 clarify

AI generates complete specification with:

  • Business problem and solution overview
  • Functional and non-functional requirements
  • API contracts and data models
  • Security and performance considerations
  • User experience and interface design
  • Acceptance criteria and success metrics

/sp-spec validate

Validate specification completeness

bash
# Validate current feature's specifications
/sp-spec validate

/sp-spec clarify

Clarify and expand specification details

bash
# Clarify current feature's specifications
/sp-spec clarify

Planning Commands

/sp-plan

Generate and expand implementation plan

bash
# Generate plan (default)
/sp-plan

# With explicit action
/sp-plan generate
/sp-plan validate
/sp-plan optimize

AI creates:

  • Architecture decisions and technology choices
  • File structure and organization
  • Implementation steps in logical order
  • Dependencies and integration points
  • Risk assessment and mitigation strategies

/sp-plan validate

Validate implementation plan

bash
# Validate current feature's plan
/sp-plan validate

Task Management Commands

/sp-task

Break plan into detailed, actionable tasks

bash
# Break down into tasks (default)
/sp-task

# With explicit action
/sp-task breakdown
/sp-task update
/sp-task status
/sp-task validate

Each task includes:

  • Clear problem statement and necessity
  • Step-by-step implementation approach
  • Files to be created/modified with reasons
  • Success criteria and acceptance tests
  • Dependencies and task relationships
  • Risk assessment and mitigation
  • MoSCoW priority breakdown (Must, Should, Could, Won't)

/sp-task validate

Validate task completeness and correctness

bash
# Validate current feature's tasks
/sp-task validate

Execution Commands

/sp-execute [task-id|all]

Execute tasks continuously without stopping

bash
# 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-middleware

Execution behavior:

  • Marks task as in-progress
  • Implements requirements with code
  • Validates against success criteria
  • Updates task status to completed
  • Automatically moves to next task
  • Continues until all tasks done or blocked

Progress and Validation Commands

/sp-status

Show comprehensive project progress

bash
# 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-validate

Validate all project artifacts

bash
# Validates:
# - Specification completeness and quality
# - Plan feasibility and coverage
# - Task breakdown and dependencies
# - Code quality and test coverage
# - Documentation and standards compliance

Advanced Commands

/sp-decompose

Decompose specification into components

bash
# Examples
/sp-decompose spec-001
/sp-decompose auth-spec

Useful for:

  • Microservices architecture design
  • Component-based development
  • Team distribution and parallel work
  • Complex feature breakdown

/sp-clarify

Clarify requirements and resolve ambiguities

bash
# Examples
/sp-clarify spec-001
/sp-clarify payment-spec

Helps resolve:

  • Unclear requirements
  • Missing details
  • Conflicting specifications
  • Implementation questions

`

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonsddspecificationspecification-driven-development

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理