$npx -y skills add DNYoussef/context-cascade --skill sparc-methodology/*============================================================================*/ /* SPARC-METHODOLOGY SKILL :: VERILINGUA x VERIX EDITION */ /*============================================================================*/
| 1 | /*============================================================================*/ |
| 2 | /* SPARC-METHODOLOGY SKILL :: VERILINGUA x VERIX EDITION */ |
| 3 | /*============================================================================*/ |
| 4 | |
| 5 | --- |
| 6 | name: sparc-methodology |
| 7 | version: 2.7.0 |
| 8 | description: | |
| 9 | [assert|neutral] SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration [ground:given] [conf:0.95] [state:confirmed] |
| 10 | category: development |
| 11 | tags: |
| 12 | - sparc |
| 13 | - tdd |
| 14 | - architecture |
| 15 | - orchestration |
| 16 | - methodology |
| 17 | author: Claude Flow |
| 18 | cognitive_frame: |
| 19 | primary: aspectual |
| 20 | goal_analysis: |
| 21 | first_order: "Execute sparc-methodology workflow" |
| 22 | second_order: "Ensure quality and consistency" |
| 23 | third_order: "Enable systematic development processes" |
| 24 | --- |
| 25 | |
| 26 | /*----------------------------------------------------------------------------*/ |
| 27 | /* S0 META-IDENTITY */ |
| 28 | /*----------------------------------------------------------------------------*/ |
| 29 | |
| 30 | [define|neutral] SKILL := { |
| 31 | name: "sparc-methodology", |
| 32 | category: "development", |
| 33 | version: "2.7.0", |
| 34 | layer: L1 |
| 35 | } [ground:given] [conf:1.0] [state:confirmed] |
| 36 | |
| 37 | /*----------------------------------------------------------------------------*/ |
| 38 | /* S1 COGNITIVE FRAME */ |
| 39 | /*----------------------------------------------------------------------------*/ |
| 40 | |
| 41 | [define|neutral] COGNITIVE_FRAME := { |
| 42 | frame: "Aspectual", |
| 43 | source: "Russian", |
| 44 | force: "Complete or ongoing?" |
| 45 | } [ground:cognitive-science] [conf:0.92] [state:confirmed] |
| 46 | |
| 47 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 48 | Kaynak dogrulama modu etkin. |
| 49 | |
| 50 | /*----------------------------------------------------------------------------*/ |
| 51 | /* S2 TRIGGER CONDITIONS */ |
| 52 | /*----------------------------------------------------------------------------*/ |
| 53 | |
| 54 | [define|neutral] TRIGGER_POSITIVE := { |
| 55 | keywords: ["sparc-methodology", "development", "workflow"], |
| 56 | context: "user needs sparc-methodology capability" |
| 57 | } [ground:given] [conf:1.0] [state:confirmed] |
| 58 | |
| 59 | /*----------------------------------------------------------------------------*/ |
| 60 | /* S3 CORE CONTENT */ |
| 61 | /*----------------------------------------------------------------------------*/ |
| 62 | |
| 63 | # SPARC Methodology - Comprehensive Development Framework |
| 64 | |
| 65 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 66 | Kaynak dogrulama modu etkin. |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | ## When to Use This Skill |
| 72 | |
| 73 | - **Domain-Specific Work**: Tasks requiring specialized domain knowledge |
| 74 | - **Complex Problems**: Multi-faceted challenges needing systematic approach |
| 75 | - **Best Practice Implementation**: Following industry-standard methodologies |
| 76 | - **Quality-Critical Work**: Production code requiring high standards |
| 77 | - **Team Collaboration**: Coordinated work following shared processes |
| 78 | |
| 79 | ## When NOT to Use This Skill |
| 80 | |
| 81 | - **Outside Domain**: Tasks outside this skill specialty area |
| 82 | - **Incompatible Tech Stack**: Technologies not covered by this skill |
| 83 | - **Simple Tasks**: Trivial work not requiring specialized knowledge |
| 84 | - **Exploratory Work**: Experimental code without production requirements |
| 85 | |
| 86 | ## Success Criteria |
| 87 | |
| 88 | - [ ] Implementation complete and functional |
| 89 | - [ ] Tests passing with adequate coverage |
| 90 | - [ ] Code reviewed and approved |
| 91 | - [ ] Documentation updated |
| 92 | - [ ] Performance benchmarks met |
| 93 | - [ ] Security considerations addressed |
| 94 | - [ ] Deployed or integrated successfully |
| 95 | |
| 96 | ## Edge Cases to Handle |
| 97 | |
| 98 | - **Legacy Integration**: Working with older codebases or deprecated APIs |
| 99 | - **Missing Dependencies**: Unavailable libraries or external services |
| 100 | - **Version Conflicts**: Dependency version incompatibilities |
| 101 | - **Data Issues**: Malformed input or edge case data |
| 102 | - **Concurrency**: Race conditions or synchronization challenges |
| 103 | - **Error Handling**: Graceful degradation and recovery |
| 104 | |
| 105 | ## Guardrails |
| 106 | |
| 107 | - **NEVER** skip testing to ship faster |
| 108 | - **ALWAYS** follow domain-specific best practices |
| 109 | - **NEVER** commit untested or broken code |
| 110 | - **ALWAYS** document complex logic and decisions |
| 111 | - **NEVER** hardcode sensitive data or credentials |
| 112 | - **ALWAYS** validate input and handle errors gracefully |
| 113 | - **NEVER** deploy without reviewing changes |
| 114 | |
| 115 | ## Evidence-Based Validation |
| 116 | |
| 117 | - [ ] Automated tests passing |
| 118 | - [ ] Code linter/formatter passing |
| 119 | - [ ] Security scan completed |
| 120 | - [ ] Performance within acceptable range |
| 121 | - [ ] Manual testing completed |
| 122 | - [ ] Peer review approved |
| 123 | - [ ] Documentation reviewed |
| 124 | |
| 125 | ## Overview |
| 126 | |
| 127 | SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) is a systematic development methodology integrated with Claude Flow's multi-agent orchestration capabilities. It provides 17 specialized modes for comprehensive software development, from initial research through deployment and monitoring. |
| 128 | |
| 129 | ## Table of Contents |
| 130 | |
| 131 | 1. [Core Philosophy](#core-philosophy) |
| 132 | 2. [Development Phases](#develo |