$npx -y skills add DNYoussef/context-cascade --skill when-creating-skill-template-use-skill-builder/*============================================================================*/ /* WHEN-CREATING-SKILL-TEMPLATE-USE-SKILL-BUILDER SKILL :: VERILINGUA x VERIX EDITION */ /*============================================================================*/
| 1 | /*============================================================================*/ |
| 2 | /* WHEN-CREATING-SKILL-TEMPLATE-USE-SKILL-BUILDER SKILL :: VERILINGUA x VERIX EDITION */ |
| 3 | /*============================================================================*/ |
| 4 | |
| 5 | --- |
| 6 | name: when-creating-skill-template-use-skill-builder |
| 7 | version: 1.0.0 |
| 8 | description: | |
| 9 | [assert|neutral] Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization [ground:given] [conf:0.95] [state:confirmed] |
| 10 | category: utilities |
| 11 | tags: |
| 12 | - skill-creation |
| 13 | - templates |
| 14 | - yaml |
| 15 | - documentation |
| 16 | author: system |
| 17 | cognitive_frame: |
| 18 | primary: aspectual |
| 19 | goal_analysis: |
| 20 | first_order: "Execute when-creating-skill-template-use-skill-builder workflow" |
| 21 | second_order: "Ensure quality and consistency" |
| 22 | third_order: "Enable systematic utilities processes" |
| 23 | --- |
| 24 | |
| 25 | /*----------------------------------------------------------------------------*/ |
| 26 | /* S0 META-IDENTITY */ |
| 27 | /*----------------------------------------------------------------------------*/ |
| 28 | |
| 29 | [define|neutral] SKILL := { |
| 30 | name: "when-creating-skill-template-use-skill-builder", |
| 31 | category: "utilities", |
| 32 | version: "1.0.0", |
| 33 | layer: L1 |
| 34 | } [ground:given] [conf:1.0] [state:confirmed] |
| 35 | |
| 36 | /*----------------------------------------------------------------------------*/ |
| 37 | /* S1 COGNITIVE FRAME */ |
| 38 | /*----------------------------------------------------------------------------*/ |
| 39 | |
| 40 | [define|neutral] COGNITIVE_FRAME := { |
| 41 | frame: "Aspectual", |
| 42 | source: "Russian", |
| 43 | force: "Complete or ongoing?" |
| 44 | } [ground:cognitive-science] [conf:0.92] [state:confirmed] |
| 45 | |
| 46 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 47 | Kaynak dogrulama modu etkin. |
| 48 | |
| 49 | /*----------------------------------------------------------------------------*/ |
| 50 | /* S2 TRIGGER CONDITIONS */ |
| 51 | /*----------------------------------------------------------------------------*/ |
| 52 | |
| 53 | [define|neutral] TRIGGER_POSITIVE := { |
| 54 | keywords: ["when-creating-skill-template-use-skill-builder", "utilities", "workflow"], |
| 55 | context: "user needs when-creating-skill-template-use-skill-builder capability" |
| 56 | } [ground:given] [conf:1.0] [state:confirmed] |
| 57 | |
| 58 | /*----------------------------------------------------------------------------*/ |
| 59 | /* S3 CORE CONTENT */ |
| 60 | /*----------------------------------------------------------------------------*/ |
| 61 | |
| 62 | # Skill Builder - Claude Code Skill Template Generator |
| 63 | |
| 64 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 65 | Kaynak dogrulama modu etkin. |
| 66 | |
| 67 | |
| 68 | |
| 69 | ## Overview |
| 70 | |
| 71 | Creates new Claude Code Skills with proper structure, YAML frontmatter, progressive disclosure, and complete documentation. Ensures skills follow best practices and specification requirements. |
| 72 | |
| 73 | ## MCP Requirements |
| 74 | |
| 75 | This skill operates using Claude Code's built-in tools only. No additional MCP servers required. |
| 76 | |
| 77 | Skill creation uses file operations (Read, Write, Edit, Glob) and directory creation which are core Claude Code capabilities. |
| 78 | |
| 79 | ## When to Use |
| 80 | |
| 81 | - Creating new reusable skills |
| 82 | - Need skill template/boilerplate |
| 83 | - Building skill library |
| 84 | - Standardizing skill format |
| 85 | |
| 86 | ## Phase 1: Design Skill Structure (5 min) |
| 87 | |
| 88 | ### Objective |
| 89 | Define skill components and metadata |
| 90 | |
| 91 | ### Agent: Base-Template-Generator |
| 92 | |
| 93 | **Step 1.1: Gather Requirements** |
| 94 | ```javascript |
| 95 | const skillRequirements = { |
| 96 | name: 'when-[condition]-use-[skill-name]', |
| 97 | category: 'utilities|development|testing|machine-learning', |
| 98 | description: 'Clear one-sentence purpose', |
| 99 | agents: ['agent1', 'agent2'], |
| 100 | phases: [ |
| 101 | { name: 'Phase 1', duration: '5min', objective: '...' }, |
| 102 | // ... |
| 103 | ], |
| 104 | triggers: ['When X happens', 'When Y is needed'], |
| 105 | outputs: ['file1.json', 'report.md'] |
| 106 | }; |
| 107 | |
| 108 | await memory.store('skill-builder/requirements', skillRequirements); |
| 109 | ``` |
| 110 | |
| 111 | **Step 1.2: Define YAML Frontmatter** |
| 112 | ```yaml |
| 113 | --- |
| 114 | name: when-[trigger]-use-[skill-name] |
| 115 | version: 1.0.0 |
| 116 | description: Single sentence describing purpose |
| 117 | category: utilities |
| 118 | tags: [tag1, tag2, tag3] |
| 119 | agents: [agent1, agent2] |
| 120 | difficulty: beginner|intermediate|advanced |
| 121 | estimated_duration: 15-30min |
| 122 | success_criteria: |
| 123 | - Criterion 1 |
| 124 | - Criterion 2 |
| 125 | validation_method: test_type |
| 126 | dependencies: |
| 127 | - claude-flow@alpha |
| 128 | - other-dependency |
| 129 | prerequisites: |
| 130 | - Required condition 1 |
| 131 | outputs: |
| 132 | - output-file-1 |
| 133 | - output-file-2 |
| 134 | triggers: |
| 135 | - Trigger condition 1 |
| 136 | - Trigger condition 2 |
| 137 | --- |
| 138 | ``` |
| 139 | |
| 140 | **Step 1.3: Plan Phase Structure** |
| 141 | ```javascript |
| 142 | const phaseStructure = skillRequirements.phases.map((phase, i) => ({ |
| 143 | number: i + 1, |
| 144 | title: phase.name, |
| 145 | objective: phase.objective, |
| 146 | duration: phase.duration, |
| 147 | agent: phase.agent, |
| 148 | steps: phase.steps, |
| 149 | validation: phase.validation, |
| 150 | memoryPattern: phase.memoryPattern, |
| 151 | scriptTemplate: phase.scriptTemplate |
| 152 | })); |
| 153 | |
| 154 | await memory.store('skill-builder/phase-structure', phaseStructure); |
| 155 | ``` |
| 156 | |
| 157 | ### Validation Cr |