sparc-methodology
यह क्या करती है
यह स्किल एजेंट को पाँच चरणों वाली संरचित विकास पद्धति से गुज़ारती है: specification, pseudocode, architecture, refinement और completion। यह उन लोगों के लिए है जो जटिल फ़ीचर बना रहे हैं और कोडिंग से पहले योजना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप एक नया फ़ीचर बना रहे हों जिसके कई हिस्से हों।
- ✓जब आवश्यकताएँ अस्पष्ट हों और पहले उन्हें तय करना हो।
- ✓जब आप ऐसे बदलाव की योजना बना रहे हों जो पूरे सिस्टम के डिज़ाइन को प्रभावित करे।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/sparc-methodology/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे नए billing फ़ीचर की योजना के लिए SPARC पद्धति इस्तेमाल कीजिए, specification से शुरू करके।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट हर चरण को एक-एक करके पूरा करता है, पहले आवश्यकताएँ, फिर pseudocode, फिर डिज़ाइन और फिर परिष्कृत implementation लिखता है, और हर कदम दर्ज करता है।
तकनीकी सामग्री (मूल 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
- 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।
इसे कब छोड़ें?
स्किल कहती है कि सरल बग फ़िक्स, दस्तावेज़ अपडेट और छोटे configuration बदलावों के लिए इसे छोड़ दें।
क्या इसके लिए खास टूल चाहिए?
स्किल हर चरण को रूट करने के लिए 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।