sparc-methodology
Skill này làm gì
Skill này hướng dẫn AI qua phương pháp SPARC: specification (đặc tả), pseudocode, architecture (kiến trúc), refinement (tinh chỉnh) và completion (hoàn tất). Skill dành cho lập trình viên muốn một cách từng bước rõ ràng để xây dựng phần mềm.
Khi nào nên dùng
- ✓Khi bạn muốn một tính năng mới được lên kế hoạch từng bước trước khi viết bất kỳ code nào.
- ✓Khi bạn cần chia một dự án lớn thành các giai đoạn rõ ràng với test đi trước.
- ✓Khi bạn muốn nhiều trợ lý AI cùng làm các phần khác nhau của một dự án.
Liên kết skill
https://github.com/ruvnet/RuView/blob/main/.claude/skills/sparc-methodology/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Dùng phương pháp SPARC để lên kế hoạch và xây dựng một hệ thống đặt chỗ đơn giản, bắt đầu từ các yêu cầu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI đi qua năm giai đoạn, bắt đầu từ yêu cầu, rồi pseudocode, thiết kế, code đã tinh chỉnh và kiểm tra cuối cùng. Nó dùng test và đánh giá trong suốt quá trình để giữ chất lượng cao.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
SPARC Methodology - Comprehensive Development Framework
Overview
SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) is a systematic development methodology integrated with Claude Flow's multi-agent orchestration capabilities. It provides 17 specialized modes for comprehensive software development, from initial research through deployment and monitoring.
Table of Contents
- Core Philosophy
- Development Phases
- Available Modes
- Activation Methods
- Orchestration Patterns
- TDD Workflows
- Best Practices
- Integration Examples
- Common Workflows
Core Philosophy
SPARC methodology emphasizes:
- Systematic Approach: Structured phases from specification to completion
- Test-Driven Development: Tests written before implementation
- Parallel Execution: Concurrent agent coordination for 2.8-4.4x speed improvements
- Memory Integration: Persistent knowledge sharing across agents and sessions
- Quality First: Comprehensive reviews, testing, and validation
- Modular Design: Clean separation of concerns with clear interfaces
Key Principles
- Specification Before Code: Define requirements and constraints clearly
- Design Before Implementation: Plan architecture and components
- Tests Before Features: Write failing tests, then make them pass
- Review Everything: Code quality, security, and performance checks
- Document Continuously: Maintain current documentation throughout
Development Phases
Phase 1: Specification
Goal: Define requirements, constraints, and success criteria
- Requirements analysis
- User story mapping
- Constraint identification
- Success metrics definition
- Pseudocode planning
Key Modes: researcher, analyzer, memory-manager
Phase 2: Architecture
Goal: Design system structure and component interfaces
- System architecture design
- Component interface definition
- Database schema planning
- API contract specification
- Infrastructure planning
Key Modes: architect, designer, orchestrator
Phase 3: Refinement (TDD Implementation)
Goal: Implement features with test-first approach
- Write failing tests
- Implement minimum viable code
- Make tests pass
- Refactor for quality
- Iterate until complete
Key Modes: tdd, coder, tester
Phase 4: Review
Goal: Ensure code quality, security, and performance
- Code quality assessment
- Security vulnerability scanning
- Performance profiling
- Best practices validation
- Documentation review
Key Modes: reviewer, optimizer, debugger
Phase 5: Completion
Goal: Integration, deployment, and monitoring
- System integration
- Deployment automation
- Monitoring setup
- Documentation finalization
- Knowledge capture
Key Modes: workflow-manager, documenter, memory-manager
Available Modes
Core Orchestration Modes
orchestrator
Multi-agent task orchestration with TodoWrite/Task/Memory coordination.
Capabilities:
- Task decomposition into manageable units
- Agent coordination and resource allocation
- Progress tracking and result synthesis
- Adaptive strategy selection
- Cross-agent communication
Usage:
mcp__claude-flow__sparc_mode {
mode: "orchestrator",
task_description: "coordinate feature development",
options: { parallel: true, monitor: true }
}
swarm-coordinator
Specialized swarm management for complex multi-agent workflows.
Capabilities:
- Topology optimization (mesh, hierarchical, ring, star)
- Agent lifecycle management
- Dynamic scaling based on workload
- Fault tolerance and recovery
- Performance monitoring
workflow-manager
Process automation and workflow orchestration.
Capabilities:
- Workflow definition and execution
- Event-driven triggers
- Sequential and parallel pipelines
- State management
- Error handling and retry logic
batch-executor
Parallel task execution for high-throughput operations.
Capabilities:
- Concurrent file operations
- Batch processing optimization
- Resource pooling
- Load balancing
- Progress aggregation
Development Modes
coder
Autonomous code generation with batch file operations.
Capabilities:
- Feature implementation
- Code refa
Câu hỏi thường gặp
Các chữ cái trong SPARC có nghĩa là gì?
Specification (đặc tả), Pseudocode, Architecture (kiến trúc), Refinement (tinh chỉnh) và Completion (hoàn tất).
Nó có bao nhiêu chế độ?
Skill mô tả 17 chế độ chuyên biệt cho các giai đoạn phát triển khác nhau.
Nó có cần nhiều agent AI không?
Skill được xây dựng quanh việc điều phối nhiều agent, nên nhiều trợ lý là một phần trong thiết kế của nó.
Chi tiết
Mô tả gốc của tác giả
SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration
repo: ruvnet/RuView
Độ phổ biến
- Sao GitHub
- 102k
- Vị trí xếp hạng
- #839
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
AgentDB Advanced Features
102kGiới thiệu cho agent của bạn các tính năng nâng cao của AgentDB, như đồng bộ cơ sở dữ liệu giữa nhiều máy và kết hợp tìm kiếm vector với bộ lọc metadata.
AgentDB Learning Plugins
102kCho phép agent của bạn xây dựng và huấn luyện plugin học cho AgentDB, dùng các phương pháp học tăng cường để cải thiện từ kinh nghiệm trước đó.
AgentDB Memory Patterns
102kCho phép agent của bạn ghi nhớ các cuộc trò chuyện và ngữ cảnh qua nhiều phiên, dùng AgentDB làm kho bộ nhớ lâu dài.
AgentDB Performance Optimization
102kChỉ cho agent của bạn cách tăng tốc tìm kiếm AgentDB và giảm dung lượng bộ nhớ, bằng nén, chỉ mục tìm kiếm nhanh và bộ nhớ đệm.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.