$npx -y skills add DNYoussef/context-cascade --skill cicd-intelligent-recovery/*============================================================================*/ /* SKILL SKILL :: VERILINGUA x VERIX EDITION */ /*============================================================================*/
| 1 | /*============================================================================*/ |
| 2 | /* SKILL SKILL :: VERILINGUA x VERIX EDITION */ |
| 3 | /*============================================================================*/ |
| 4 | |
| 5 | --- |
| 6 | name: SKILL |
| 7 | version: 1.0.0 |
| 8 | description: | |
| 9 | [assert|neutral] SKILL skill for operations workflows [ground:given] [conf:0.95] [state:confirmed] |
| 10 | category: operations |
| 11 | tags: |
| 12 | - general |
| 13 | author: system |
| 14 | cognitive_frame: |
| 15 | primary: aspectual |
| 16 | goal_analysis: |
| 17 | first_order: "Execute SKILL workflow" |
| 18 | second_order: "Ensure quality and consistency" |
| 19 | third_order: "Enable systematic operations processes" |
| 20 | --- |
| 21 | |
| 22 | /*----------------------------------------------------------------------------*/ |
| 23 | /* S0 META-IDENTITY */ |
| 24 | /*----------------------------------------------------------------------------*/ |
| 25 | |
| 26 | [define|neutral] SKILL := { |
| 27 | name: "SKILL", |
| 28 | category: "operations", |
| 29 | version: "1.0.0", |
| 30 | layer: L1 |
| 31 | } [ground:given] [conf:1.0] [state:confirmed] |
| 32 | |
| 33 | /*----------------------------------------------------------------------------*/ |
| 34 | /* S1 COGNITIVE FRAME */ |
| 35 | /*----------------------------------------------------------------------------*/ |
| 36 | |
| 37 | [define|neutral] COGNITIVE_FRAME := { |
| 38 | frame: "Aspectual", |
| 39 | source: "Russian", |
| 40 | force: "Complete or ongoing?" |
| 41 | } [ground:cognitive-science] [conf:0.92] [state:confirmed] |
| 42 | |
| 43 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 44 | Kaynak dogrulama modu etkin. |
| 45 | |
| 46 | /*----------------------------------------------------------------------------*/ |
| 47 | /* S2 TRIGGER CONDITIONS */ |
| 48 | /*----------------------------------------------------------------------------*/ |
| 49 | |
| 50 | [define|neutral] TRIGGER_POSITIVE := { |
| 51 | keywords: ["SKILL", "operations", "workflow"], |
| 52 | context: "user needs SKILL capability" |
| 53 | } [ground:given] [conf:1.0] [state:confirmed] |
| 54 | |
| 55 | /*----------------------------------------------------------------------------*/ |
| 56 | /* S3 CORE CONTENT */ |
| 57 | /*----------------------------------------------------------------------------*/ |
| 58 | |
| 59 | # CI/CD Quality & Debugging Loop (Loop 3) |
| 60 | |
| 61 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 62 | Kaynak dogrulama modu etkin. |
| 63 | |
| 64 | |
| 65 | |
| 66 | **Purpose**: Continuous integration with automated failure recovery and authentic quality validation. |
| 67 | |
| 68 | **SOP Workflow**: Specification → Research → Planning → Execution → Knowledge |
| 69 | |
| 70 | **Output**: 100% test success rate with authentic quality improvements and failure pattern analysis |
| 71 | |
| 72 | **Integration**: This is Loop 3 of 3. Receives from `parallel-swarm-implementation` (Loop 2), feeds failure data back to `research-driven-planning` (Loop 1). |
| 73 | |
| 74 | **Version**: 2.0.0 |
| 75 | **Optimization**: Evidence-based prompting with explicit agent SOPs |
| 76 | |
| 77 | --- |
| 78 | |
| 79 | ## When to Use This Skill |
| 80 | |
| 81 | Activate this skill when: |
| 82 | - Have complete implementation from Loop 2 (parallel-swarm-implementation) |
| 83 | - Need CI/CD pipeline automation with intelligent recovery |
| 84 | - Require root cause analysis for test failures |
| 85 | - Want automated repair with connascence-aware fixes |
| 86 | - Need validation of authentic quality (no theater) |
| 87 | - Generating failure patterns for Loop 1 feedback |
| 88 | |
| 89 | **DO NOT** use this skill for: |
| 90 | - Initial development (use Loop 2 first) |
| 91 | - Manual debugging without CI/CD integration |
| 92 | - Quality checks during development (use Loop 2 theater detection) |
| 93 | |
| 94 | --- |
| 95 | |
| 96 | ## Input/Output Contracts |
| 97 | |
| 98 | ### Input Requirements |
| 99 | |
| 100 | ```yaml |
| 101 | input: |
| 102 | loop2_delivery_package: |
| 103 | location: .claude/.artifacts/loop2-delivery-package.json |
| 104 | schema: |
| 105 | implementation: object (complete codebase) |
| 106 | tests: object (test suite) |
| 107 | theater_baseline: object (theater metrics from Loop 2) |
| 108 | integration_points: array[string] |
| 109 | validation: |
| 110 | - Must exist and be valid JSON |
| 111 | - Must include theater_baseline for differential analysis |
| 112 | |
| 113 | ci_cd_failures: |
| 114 | source: GitHub Actions workflow runs |
| 115 | format: JSON array of failure objects |
| 116 | required_fields: [file, line, column, testName, errorMessage, runId] |
| 117 | |
| 118 | github_credentials: |
| 119 | required: gh CLI authenticated |
| 120 | check: gh auth status |
| 121 | ``` |
| 122 | |
| 123 | ### Output Guarantees |
| 124 | |
| 125 | ```yaml |
| 126 | output: |
| 127 | test_success_rate: 100% (guaranteed) |
| 128 | |
| 129 | quality_validation: |
| 130 | theater_audit: PASSED (no false improvements) |
| 131 | sandbox_validation: 100% test pass |
| 132 | differential_analysis: improvement metrics |
| 133 | |
| 134 | failure_patterns: |
| 135 | location: .claude/.artifacts/loop3-failure-patterns.json |
| 136 | feeds_to: Loop 1 (next iteration) |
| 137 | schema: |
| 138 | patterns: array[failure_pattern] |
| 139 | recommendations: object (planning/architecture/testing) |
| 140 | |
| 141 | delivery_package: |
| 142 | location: .claude/.artifacts/loop3-delivery-package.json |
| 143 | contains: |
| 144 | - quality metrics (test success, failures fixed) |
| 145 | - analysis data (root causes, connascence context) |
| 146 | - validation results (theater, sandbox, differential) |
| 147 | - feedback for Loop 1 |
| 148 | ``` |
| 149 | |
| 150 | --- |
| 151 | |
| 152 | ## Prerequisites |
| 153 | |
| 154 | Before starting Loop 3, ensure Loop |