用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ruvnet/agentic-flow --skill sparc-methodology命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | sparc-methodology |
| description | SPARC development methodology for systematic test-driven development |
| version | 1.0.0 |
| invocable | true |
| author | agentic-flow |
| capabilities | ["specification","pseudocode","architecture","refinement","completion"] |
Systematic Test-Driven Development using SPARC (Specification, Pseudocode, Architecture, Refinement, Completion).
# Run complete TDD workflow
npx agentic-flow@alpha sparc tdd "implement user authentication"
# Run specific phase
npx agentic-flow@alpha sparc run specification "auth system"
npx agentic-flow@alpha sparc run pseudocode "auth system"
npx agentic-flow@alpha sparc run architect "auth system"
npx agentic-flow@alpha sparc run refinement "auth system"
npx agentic-flow@alpha sparc run completion "auth system"
# Batch execution
npx agentic-flow@alpha sparc batch "spec-pseudocode,architect" "feature X"
Define requirements and acceptance criteria.
Agent: specification
Output: Requirements doc, test cases
Command:
npx agentic-flow@alpha sparc run spec "user login feature"
Design algorithms and logic flow.
Agent: pseudocode
Output: Algorithm design, flow diagrams
Command:
npx agentic-flow@alpha sparc run pseudo "auth flow"
System design and component structure.
Agent: architecture
Output: Component diagram, API design
Command:
npx agentic-flow@alpha sparc run arch "microservices layout"
Iterative TDD implementation.
Agent: refinement
Output: Tests + Implementation
Command:
npx agentic-flow@alpha sparc run refine "auth module"
Integration and deployment.
Agent: completion
Output: Integrated system, docs
Command:
npx agentic-flow@alpha sparc run complete "auth system"
Additional specialized modes:
| Mode | Description |
|---|---|
dev | General development |
api | API design |
ui | UI/UX development |
test | Testing focus |
refactor | Code improvement |
debug | Bug investigation |
security | Security review |
devops | CI/CD setup |
# Full TDD cycle
npx agentic-flow@alpha sparc tdd "implement OAuth2"
# This runs:
# 1. Specification: Define requirements
# 2. Pseudocode: Design algorithm
# 3. Architecture: Plan structure
# 4. Refinement: Write tests first, then implement
# 5. Completion: Integrate and document
SPARC uses specialized agents:
// Via Claude Code Task tool
Task("Specification agent", "Define requirements for OAuth", "specification")
Task("Architecture agent", "Design OAuth architecture", "architecture")
Task("Coder agent", "Implement OAuth with TDD", "sparc-coder")
Task("Tester agent", "Verify OAuth implementation", "tester")
Task("Reviewer agent", "Review OAuth code quality", "reviewer")