sparc-methodology
它能做什么
这项技能教授一种有结构的方式来规划和构建新功能。适合希望在编写最终代码之前,先明确各个阶段的开发者。
适用场景
- ✓当你开始一项新功能或复杂的实现时。
- ✓当你要改动系统的架构时。
- ✓当你希望在编写任何代码之前,把工作按清晰的阶段规划好时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/v3/@claude-flow/codex/.agents/skills/sparc-methodology/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用 SPARC 方法,一步一步规划一个新的用户资料功能。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体按顺序完成各个阶段,先从需求开始,然后是伪代码和设计,最后是细化和完成。每个阶段都作为独立的任务处理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Sparc Methodology Skill
Purpose
SPARC development workflow (Specification, Pseudocode, Architecture, Refinement, Completion).
When to Trigger
- new features
- complex implementations
- architectural changes
When to Skip
- simple fixes
- documentation
- configuration
Commands
Specification Phase
Define requirements and acceptance criteria
npx @claude-flow/cli hooks route --task "specification: [requirements]"
Architecture Phase
Design system structure
npx @claude-flow/cli hooks route --task "architecture: [design]"
Best Practices
- Check memory for existing patterns before starting
- Use hierarchical topology for coordination
- Store successful patterns after completion
- Document any new learnings
常见问题
SPARC 代表什么?
它代表 Specification(规格说明)、Pseudocode(伪代码)、Architecture(架构)、Refinement(细化)和 Completion(完成)。
什么时候应跳过它?
对于简单的修复、文档和配置更改,请跳过它。
各个阶段如何与命令相连?
每个阶段都会作为一项任务进行调度,例如规格说明步骤或架构步骤。
详情
作者的原始描述
SPARC development workflow (Specification, Pseudocode, Architecture, Refinement, Completion). Use when: new features, complex implementations, architectural changes. Skip when: simple fixes, documentation, configuration.
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1709
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。