$npx -y skills add DNYoussef/context-cascade --skill pair-programming/*============================================================================*/ /* PAIR-PROGRAMMING SKILL :: VERILINGUA x VERIX EDITION */ /*============================================================================*/
| 1 | /*============================================================================*/ |
| 2 | /* PAIR-PROGRAMMING SKILL :: VERILINGUA x VERIX EDITION */ |
| 3 | /*============================================================================*/ |
| 4 | |
| 5 | --- |
| 6 | name: pair-programming |
| 7 | version: 1.0.0 |
| 8 | description: | |
| 9 | [assert|neutral] AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning se [ground:given] [conf:0.95] [state:confirmed] |
| 10 | category: delivery |
| 11 | tags: |
| 12 | - delivery |
| 13 | - development |
| 14 | - workflow |
| 15 | author: ruv |
| 16 | cognitive_frame: |
| 17 | primary: evidential |
| 18 | goal_analysis: |
| 19 | first_order: "Execute pair-programming workflow" |
| 20 | second_order: "Ensure quality and consistency" |
| 21 | third_order: "Enable systematic delivery processes" |
| 22 | --- |
| 23 | |
| 24 | /*----------------------------------------------------------------------------*/ |
| 25 | /* S0 META-IDENTITY */ |
| 26 | /*----------------------------------------------------------------------------*/ |
| 27 | |
| 28 | [define|neutral] SKILL := { |
| 29 | name: "pair-programming", |
| 30 | category: "delivery", |
| 31 | version: "1.0.0", |
| 32 | layer: L1 |
| 33 | } [ground:given] [conf:1.0] [state:confirmed] |
| 34 | |
| 35 | /*----------------------------------------------------------------------------*/ |
| 36 | /* S1 COGNITIVE FRAME */ |
| 37 | /*----------------------------------------------------------------------------*/ |
| 38 | |
| 39 | [define|neutral] COGNITIVE_FRAME := { |
| 40 | frame: "Evidential", |
| 41 | source: "Turkish", |
| 42 | force: "How do you know?" |
| 43 | } [ground:cognitive-science] [conf:0.92] [state:confirmed] |
| 44 | |
| 45 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 46 | Kaynak dogrulama modu etkin. |
| 47 | |
| 48 | /*----------------------------------------------------------------------------*/ |
| 49 | /* S2 TRIGGER CONDITIONS */ |
| 50 | /*----------------------------------------------------------------------------*/ |
| 51 | |
| 52 | [define|neutral] TRIGGER_POSITIVE := { |
| 53 | keywords: ["pair-programming", "delivery", "workflow"], |
| 54 | context: "user needs pair-programming capability" |
| 55 | } [ground:given] [conf:1.0] [state:confirmed] |
| 56 | |
| 57 | /*----------------------------------------------------------------------------*/ |
| 58 | /* S3 CORE CONTENT */ |
| 59 | /*----------------------------------------------------------------------------*/ |
| 60 | |
| 61 | # Pair Programming |
| 62 | |
| 63 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 64 | Kaynak dogrulama modu etkin. |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | ## When to Use This Skill |
| 70 | |
| 71 | - **Learning Sessions**: Teaching or learning new technologies, patterns, or codebases |
| 72 | - **Complex Features**: Tackling features requiring deep collaboration |
| 73 | - **Debugging Sessions**: Pair debugging to solve difficult bugs faster |
| 74 | - **Code Reviews**: Real-time collaborative code review and refactoring |
| 75 | - **Knowledge Transfer**: Onboarding new team members or sharing expertise |
| 76 | - **TDD Sessions**: Test-driven development with navigator/driver roles |
| 77 | |
| 78 | ## When NOT to Use This Skill |
| 79 | |
| 80 | - **Simple Tasks**: Trivial changes or routine maintenance |
| 81 | - **Independent Work**: Tasks requiring deep focus without interruption |
| 82 | - **Different Timezones**: Async code review more appropriate |
| 83 | - **Solo Learning**: Self-paced tutorials or experimentation |
| 84 | |
| 85 | ## Success Criteria |
| 86 | |
| 87 | - [ ] Both participants understand the implementation |
| 88 | - [ ] Code meets team quality standards |
| 89 | - [ ] Tests written and passing |
| 90 | - [ ] Knowledge successfully shared |
| 91 | - [ ] Documentation updated if needed |
| 92 | - [ ] Both participants satisfied with collaboration |
| 93 | - [ ] No blockers remaining |
| 94 | |
| 95 | ## Edge Cases to Handle |
| 96 | |
| 97 | - **Skill Imbalance**: Significant experience gap between pair members |
| 98 | - **Disagreement**: Conflicting approaches or opinions |
| 99 | - **Fatigue**: Long sessions reducing effectiveness |
| 100 | - **Tool Differences**: Different IDE preferences or setups |
| 101 | - **Communication Styles**: Different working or communication preferences |
| 102 | - **Remote Pairing**: Latency, screen sharing issues, or connectivity problems |
| 103 | |
| 104 | ## Guardrails |
| 105 | |
| 106 | - **NEVER** dominate the keyboard without switching roles |
| 107 | - **ALWAYS** switch driver/navigator roles every 25-30 minutes |
| 108 | - **NEVER** criticize or dismiss partner ideas |
| 109 | - **ALWAYS** explain reasoning for technical decisions |
| 110 | - **NEVER** skip breaks - take 5-10 minute breaks hourly |
| 111 | - **ALWAYS** commit working code at session end |
| 112 | - **NEVER** pair for more than 4-5 hours continuously |
| 113 | |
| 114 | ## Evidence-Based Validation |
| 115 | |
| 116 | - [ ] Code compiles and runs successfully |
| 117 | - [ ] All tests passing (unit, integration) |
| 118 | - [ ] Both participants can explain implementation |
| 119 | - [ ] Code reviewed against team style guide |
| 120 | - [ ] Git commits follow team conventions |
| 121 | - [ ] Documentation reflects changes |
| 122 | - [ ] Security considerations addressed |
| 123 | |
| 124 | Collaborative AI pair programming with intelligent role management, real-time quality monitoring, and comprehensive development workflows. |
| 125 | |
| 126 | ## What This Skill Does |
| 127 | |
| 128 | This skill provides professional pair programming capabilities with AI ass |