跳到正文
Skillpedia
通用编程81k · #1709

sparc-methodology

它能做什么

这项技能教授一种有结构的方式来规划和构建新功能。适合希望在编写最终代码之前,先明确各个阶段的开发者。

适用场景

  • ✓当你开始一项新功能或复杂的实现时。
  • ✓当你要改动系统的架构时。
  • ✓当你希望在编写任何代码之前,把工作按清晰的阶段规划好时。

技能链接

https://github.com/ruvnet/ruflo/blob/main/v3/@claude-flow/codex/.agents/skills/sparc-methodology/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/v3/@claude-flow/codex/.agents/skills/sparc-methodology/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Check memory for existing patterns before starting
  2. Use hierarchical topology for coordination
  3. Store successful patterns after completion
  4. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能