sparc-spec
यह क्या करती है
यह स्किल SPARC तरीके का पहला चरण चलाती है, यानी किसी फ़ीचर की आवश्यकताएँ, स्वीकृति मानदंड और बाधाएँ जुटाना। यह उन टीमों के लिए है जो विकास शुरू होने से पहले साफ़ आवश्यकताएँ चाहती हैं।
कब इस्तेमाल करें
- ✓जब आप नया फ़ीचर शुरू करते हैं और पहले उसकी आवश्यकताएँ लिखनी हैं।
- ✓जब कोडिंग से पहले आपको साफ़ स्वीकृति मानदंड चाहिए।
- ✓जब आप दर्ज करना चाहते हैं कि फ़ीचर को किन बाधाओं का पालन करना है।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-sparc/skills/sparc-spec/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कोडिंग शुरू करने से पहले पासवर्ड रीसेट फ़ीचर की आवश्यकताएँ और स्वीकृति मानदंड लिखिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल फ़ीचर पर पहले के काम की जाँच करती है, मिलती-जुलती पिछली specifications और codebase देखती है, फिर functional और non-functional आवश्यकताएँ सूचीबद्ध करती है। अगले चरणों के लिए specification memory में सहेजी जाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
SPARC Specification Phase
Run Phase 1 of the SPARC methodology: define what must be built and how success is measured.
When to use
When starting a new feature or project that needs structured requirements gathering before any code is written. This phase produces the foundational specification that all subsequent phases (Pseudocode, Architecture, Refinement, Completion) build upon.
Steps
Initialize phase tracking — call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-startwith metadata{ "phase": "specification", "feature": "$ARGUMENTS" }Check for prior work — call
mcp__plugin_ruflo-core_ruflo__memory_retrievewith namespacesparc-stateand exact keycurrent-phase-{feature-slug}to see if this workflow exists. If it does, retrieve existing artifacts. If not, initialize state at that exact key with phase 1,status: "active", andstartedAtandupdatedAtset to the current ISO timestamp.Search for similar patterns — call
mcp__plugin_ruflo-core_ruflo__neural_predictwith the feature description to find relevant past specifications and learned patternsGather requirements — analyze the feature description and the codebase to identify:
- Functional requirements: what the feature must do (user-facing behaviors)
- Non-functional requirements: performance targets, security constraints, scalability needs
- Integration points: what existing systems or APIs are affected
- Data requirements: what data is created, read, updated, or deleted
Define acceptance criteria — write at least 3 concrete, testable acceptance criteria in Given/When/Then format:
AC-1: Given [precondition], when [action], then [expected result] AC-2: Given [precondition], when [action], then [expected result] AC-3: Given [precondition], when [action], then [expected result]Identify constraints — document:
- Performance constraints (latency, throughput, resource limits)
- Security constraints (authentication, authorization, data sensitivity)
- Compatibility constraints (browser support, API versions, backward compatibility)
- Infrastructure constraints (deployment environment, dependencies)
Map edge cases — list at least 3 edge cases or failure scenarios:
- What happens with invalid input?
- What happens under concurrent access?
- What happens when external dependencies fail?
Store specification — call
mcp__plugin_ruflo-core_ruflo__memory_storewith:- Namespace:
sparc-phases - Key:
spec-{feature-slug} - Value: JSON with
{ status: "complete", requirements, acceptanceCriteria, constraints, edgeCases, integrationPoints }
- Namespace:
Update phase state — call
mcp__plugin_ruflo-core_ruflo__memory_storewith:- Namespace:
sparc-state - Key:
current-phase-{feature-slug} - Value: preserve existing state fields, update artifacts list to include the spec key, and set
updatedAtto the current ISO timestamp
- Namespace:
Record trajectory step — call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-stepwith the specification summaryPresent specification — display the full specification document to the user with a summary table and suggest running
/ruflo-sparc:ruflo-sparc advanceto pass the gate and move to the Pseudocode phase
Output format
# Specification: {Feature Name}
## Requirements
### Functional
- FR-1: ...
- FR-2: ...
### Non-Functional
- NFR-1: ...
## Acceptance Criteria
- AC-1: Given ..., when ..., then ...
- AC-2: Given ..., when ..., then ...
- AC-3: Given ..., when ..., then ...
## Constraints
- Performance: ...
- Security: ...
- Compatibility: ...
## Edge Cases
- EC-1: ...
- EC-2: ...
- EC-3: ...
## Integration Points
- IP-1: ...
---
Phase 1 complete. Run `/ruflo-sparc:ruflo-sparc advance` to pass the gate check.
अक्सर पूछे जाने वाले सवाल
क्या यह कोड लिखती है?
नहीं। इस चरण में सिर्फ़ यह तय होता है कि क्या बनाना है और सफलता कैसे नापी जाएगी।
specification कहाँ सहेजी जाती है?
यह sparc-phases memory namespace में सहेजी जाती है।
क्या मैं पहले की specification फिर से शुरू कर सकता हूँ?
हाँ। अगर उस फ़ीचर के लिए workflow पहले से मौजूद है, तो स्किल उसकी सहेजी artifacts वापस लाती है।
जानकारी
लेखक का मूल विवरण
Run the SPARC Specification phase — gather requirements, define acceptance criteria, identify constraints, and store the spec in memory
repo: ruvnet/ruflo
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1697
- लाइसेंस
- 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 खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।