本文へスキップ
Skillpedia
一般的なプログラミング81k · #1538

sparc-methodology

できること

このスキルは、仕様、擬似コード、アーキテクチャ、リファインメント、完了という5つの段階を持つ構造化された開発の方法を、エージェントに歩ませます。複数の部分がある複雑な機能を作り、コーディングの前に計画したい人のためのものです。

使う場面

  • ✓いくつかの部分がある新しい機能を作っているとき。
  • ✓要件が不明確で、先に明らかにする必要があるとき。
  • ✓システム全体の設計に影響する変更を計画しているとき。

スキルのリンク

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/sparc-methodology/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/sparc-methodology/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“SPARCの方法を使って、私たちの新しい請求機能を計画してください。仕様から始めてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは各段階を順に進め、要件、擬似コード、設計、そして洗練された実装を書き、各段階を記録します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Sparc Methodology Skill

Purpose

SPARC development workflow: Specification, Pseudocode, Architecture, Refinement, Completion. A structured approach for complex implementations that ensures thorough planning before coding.

When to Trigger

  • new feature implementation
  • complex implementations
  • architectural changes
  • system redesign
  • integration work
  • unclear requirements

When to Skip

  • simple bug fixes
  • documentation updates
  • configuration changes
  • well-defined small tasks
  • routine maintenance

Commands

Specification Phase

Define requirements, acceptance criteria, and constraints

npx @claude-flow/cli hooks route --task "specification: [requirements]"

Example:

npx @claude-flow/cli hooks route --task "specification: user authentication with OAuth2, MFA, and session management"

Pseudocode Phase

Write high-level pseudocode for the implementation

npx @claude-flow/cli hooks route --task "pseudocode: [feature]"

Example:

npx @claude-flow/cli hooks route --task "pseudocode: OAuth2 login flow with token refresh"

Architecture Phase

Design system structure, interfaces, and dependencies

npx @claude-flow/cli hooks route --task "architecture: [design]"

Example:

npx @claude-flow/cli hooks route --task "architecture: auth module with service layer, repository, and API endpoints"

Refinement Phase

Iterate on the design based on feedback

npx @claude-flow/cli hooks route --task "refinement: [feedback]"

Example:

npx @claude-flow/cli hooks route --task "refinement: add rate limiting and brute force protection"

Completion Phase

Finalize implementation with tests and documentation

npx @claude-flow/cli hooks route --task "completion: [final checks]"

Example:

npx @claude-flow/cli hooks route --task "completion: verify all tests pass, update API docs, security review"

SPARC Coordinator

Spawn SPARC coordinator agent

npx @claude-flow/cli agent spawn --type sparc-coord --name sparc-lead

Scripts

Script Path Description
sparc-init .agents/scripts/sparc-init.sh Initialize SPARC workflow for a new feature
sparc-review .agents/scripts/sparc-review.sh Run SPARC phase review checklist

References

Document Path Description
SPARC Overview docs/sparc.md Complete SPARC methodology guide
Phase Templates docs/sparc-templates.md Templates for each SPARC phase

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の略です。

いつスキップすべきですか?

単純なバグ修正、文書の更新、小さな設定の変更では使わないよう、スキルは述べています。

特別なツールが必要ですか?

スキルは、各段階を振り分けるためにclaude-flowのコマンドを使うため、それらのツールが使える必要があります。

詳細

作者による元の説明

SPARC development workflow: Specification, Pseudocode, Architecture, Refinement, Completion. A structured approach for complex implementations that ensures thorough planning before coding. Use when: new feature implementation, complex implementations, architectural changes, system redesign, integration work, unclear requirements. Skip when: simple bug fixes, documentation updates, configuration changes, well-defined small tasks, routine maintenance.

repo: ruvnet/ruflo

人気

GitHubのスター
81k
ランキング
#1538
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル