@cleocode/skills 2026.3.37 → 2026.3.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +446 -0
  3. package/dispatch-config.json +733 -154
  4. package/index.d.ts +0 -0
  5. package/index.js +0 -0
  6. package/package.json +8 -3
  7. package/profiles/core.json +0 -0
  8. package/profiles/full.json +0 -0
  9. package/profiles/minimal.json +0 -0
  10. package/profiles/recommended.json +0 -0
  11. package/provider-skills-map.json +0 -0
  12. package/skills/_shared/cleo-style-guide.md +0 -0
  13. package/skills/_shared/manifest-operations.md +0 -0
  14. package/skills/_shared/placeholders.json +0 -0
  15. package/skills/_shared/skill-chaining-patterns.md +0 -0
  16. package/skills/_shared/subagent-protocol-base.md +0 -0
  17. package/skills/_shared/task-system-integration.md +0 -0
  18. package/skills/_shared/testing-framework-config.md +0 -0
  19. package/skills/ct-cleo/SKILL.md +0 -0
  20. package/skills/ct-cleo/references/anti-patterns.md +0 -0
  21. package/skills/ct-cleo/references/loom-lifecycle.md +0 -0
  22. package/skills/ct-cleo/references/orchestrator-constraints.md +0 -0
  23. package/skills/ct-cleo/references/session-protocol.md +0 -0
  24. package/skills/ct-codebase-mapper/SKILL.md +0 -0
  25. package/skills/ct-contribution/SKILL.md +0 -0
  26. package/skills/ct-contribution/templates/contribution-init.json +0 -0
  27. package/skills/ct-dev-workflow/SKILL.md +0 -0
  28. package/skills/ct-docs-lookup/SKILL.md +0 -0
  29. package/skills/ct-docs-review/SKILL.md +0 -0
  30. package/skills/ct-docs-write/SKILL.md +0 -0
  31. package/skills/ct-documentor/SKILL.md +0 -0
  32. package/skills/ct-epic-architect/SKILL.md +0 -0
  33. package/skills/ct-epic-architect/references/bug-epic-example.md +0 -0
  34. package/skills/ct-epic-architect/references/commands.md +0 -0
  35. package/skills/ct-epic-architect/references/feature-epic-example.md +0 -0
  36. package/skills/ct-epic-architect/references/migration-epic-example.md +0 -0
  37. package/skills/ct-epic-architect/references/output-format.md +0 -0
  38. package/skills/ct-epic-architect/references/patterns.md +0 -0
  39. package/skills/ct-epic-architect/references/refactor-epic-example.md +0 -0
  40. package/skills/ct-epic-architect/references/research-epic-example.md +0 -0
  41. package/skills/ct-epic-architect/references/shell-escaping.md +0 -0
  42. package/skills/ct-epic-architect/references/skill-aware-execution.md +0 -0
  43. package/skills/ct-grade/SKILL.md +0 -0
  44. package/skills/ct-grade/agents/analysis-reporter.md +0 -0
  45. package/skills/ct-grade/agents/blind-comparator.md +0 -0
  46. package/skills/ct-grade/agents/scenario-runner.md +0 -0
  47. package/skills/ct-grade/eval-viewer/__pycache__/generate_grade_review.cpython-314.pyc +0 -0
  48. package/skills/ct-grade/eval-viewer/generate_grade_review.py +0 -0
  49. package/skills/ct-grade/eval-viewer/generate_grade_viewer.py +0 -0
  50. package/skills/ct-grade/eval-viewer/generate_review.py +0 -0
  51. package/skills/ct-grade/eval-viewer/grade-review.html +0 -0
  52. package/skills/ct-grade/eval-viewer/viewer.html +0 -0
  53. package/skills/ct-grade/evals/evals.json +0 -0
  54. package/skills/ct-grade/references/ab-test-methodology.md +0 -0
  55. package/skills/ct-grade/references/domains.md +0 -0
  56. package/skills/ct-grade/references/grade-spec.md +0 -0
  57. package/skills/ct-grade/references/scenario-playbook.md +0 -0
  58. package/skills/ct-grade/references/token-tracking.md +0 -0
  59. package/skills/ct-grade/scripts/__pycache__/audit_analyzer.cpython-314.pyc +0 -0
  60. package/skills/ct-grade/scripts/__pycache__/run_ab_test.cpython-314.pyc +0 -0
  61. package/skills/ct-grade/scripts/__pycache__/run_all.cpython-314.pyc +0 -0
  62. package/skills/ct-grade/scripts/__pycache__/token_tracker.cpython-314.pyc +0 -0
  63. package/skills/ct-grade/scripts/audit_analyzer.py +0 -0
  64. package/skills/ct-grade/scripts/generate_report.py +0 -0
  65. package/skills/ct-grade/scripts/run_ab_test.py +0 -0
  66. package/skills/ct-grade/scripts/run_all.py +0 -0
  67. package/skills/ct-grade/scripts/setup_run.py +0 -0
  68. package/skills/ct-grade/scripts/token_tracker.py +0 -0
  69. package/skills/ct-grade-v2-1/SKILL.md +0 -0
  70. package/skills/ct-grade-v2-1/agents/analysis-reporter.md +0 -0
  71. package/skills/ct-grade-v2-1/agents/blind-comparator.md +0 -0
  72. package/skills/ct-grade-v2-1/agents/scenario-runner.md +0 -0
  73. package/skills/ct-grade-v2-1/evals/evals.json +0 -0
  74. package/skills/ct-grade-v2-1/grade-viewer/__pycache__/build_op_stats.cpython-314.pyc +0 -0
  75. package/skills/ct-grade-v2-1/grade-viewer/__pycache__/generate_grade_review.cpython-314.pyc +0 -0
  76. package/skills/ct-grade-v2-1/grade-viewer/build_op_stats.py +0 -0
  77. package/skills/ct-grade-v2-1/grade-viewer/eval-analysis.json +0 -0
  78. package/skills/ct-grade-v2-1/grade-viewer/eval-report.md +0 -0
  79. package/skills/ct-grade-v2-1/grade-viewer/generate_grade_review.py +0 -0
  80. package/skills/ct-grade-v2-1/grade-viewer/generate_grade_viewer.py +0 -0
  81. package/skills/ct-grade-v2-1/grade-viewer/grade-review-eval.html +0 -0
  82. package/skills/ct-grade-v2-1/grade-viewer/grade-review.html +0 -0
  83. package/skills/ct-grade-v2-1/grade-viewer/viewer.html +0 -0
  84. package/skills/ct-grade-v2-1/manifest-entry.json +0 -0
  85. package/skills/ct-grade-v2-1/references/ab-testing.md +0 -0
  86. package/skills/ct-grade-v2-1/references/domains-ssot.md +0 -0
  87. package/skills/ct-grade-v2-1/references/grade-spec-v2.md +0 -0
  88. package/skills/ct-grade-v2-1/references/playbook-v2.md +0 -0
  89. package/skills/ct-grade-v2-1/references/token-tracking.md +0 -0
  90. package/skills/ct-grade-v2-1/scripts/generate_report.py +0 -0
  91. package/skills/ct-grade-v2-1/scripts/run_ab_test.py +0 -0
  92. package/skills/ct-grade-v2-1/scripts/run_scenario.py +0 -0
  93. package/skills/ct-grade-v2-1/scripts/setup_run.py +0 -0
  94. package/skills/ct-grade-v2-1/scripts/token_tracker.py +0 -0
  95. package/skills/ct-memory/SKILL.md +0 -0
  96. package/skills/ct-orchestrator/INSTALL.md +0 -0
  97. package/skills/ct-orchestrator/README.md +0 -0
  98. package/skills/ct-orchestrator/SKILL.md +0 -0
  99. package/skills/ct-orchestrator/manifest-entry.json +0 -0
  100. package/skills/ct-orchestrator/orchestrator-prompt.txt +0 -0
  101. package/skills/ct-orchestrator/references/SUBAGENT-PROTOCOL-BLOCK.md +0 -0
  102. package/skills/ct-orchestrator/references/autonomous-operation.md +0 -0
  103. package/skills/ct-orchestrator/references/lifecycle-gates.md +0 -0
  104. package/skills/ct-orchestrator/references/orchestrator-compliance.md +0 -0
  105. package/skills/ct-orchestrator/references/orchestrator-handoffs.md +0 -0
  106. package/skills/ct-orchestrator/references/orchestrator-patterns.md +0 -0
  107. package/skills/ct-orchestrator/references/orchestrator-recovery.md +0 -0
  108. package/skills/ct-orchestrator/references/orchestrator-spawning.md +0 -0
  109. package/skills/ct-orchestrator/references/orchestrator-tokens.md +0 -0
  110. package/skills/ct-research-agent/SKILL.md +0 -0
  111. package/skills/ct-skill-creator/.cleo/.context-state.json +0 -0
  112. package/skills/ct-skill-creator/.cleo/logs/cleo.2026-03-07.1.log +0 -0
  113. package/skills/ct-skill-creator/.cleo/tasks.db +0 -0
  114. package/skills/ct-skill-creator/SKILL.md +0 -0
  115. package/skills/ct-skill-creator/agents/analyzer.md +0 -0
  116. package/skills/ct-skill-creator/agents/comparator.md +0 -0
  117. package/skills/ct-skill-creator/agents/grader.md +0 -0
  118. package/skills/ct-skill-creator/assets/eval_review.html +0 -0
  119. package/skills/ct-skill-creator/eval-viewer/__pycache__/generate_review.cpython-314.pyc +0 -0
  120. package/skills/ct-skill-creator/eval-viewer/generate_review.py +0 -0
  121. package/skills/ct-skill-creator/eval-viewer/viewer.html +0 -0
  122. package/skills/ct-skill-creator/manifest-entry.json +0 -0
  123. package/skills/ct-skill-creator/references/dynamic-context.md +0 -0
  124. package/skills/ct-skill-creator/references/frontmatter.md +0 -0
  125. package/skills/ct-skill-creator/references/invocation-control.md +0 -0
  126. package/skills/ct-skill-creator/references/output-patterns.md +0 -0
  127. package/skills/ct-skill-creator/references/provider-deployment.md +0 -0
  128. package/skills/ct-skill-creator/references/schemas.md +0 -0
  129. package/skills/ct-skill-creator/references/workflows.md +0 -0
  130. package/skills/ct-skill-creator/scripts/__init__.py +0 -0
  131. package/skills/ct-skill-creator/scripts/__pycache__/__init__.cpython-314.pyc +0 -0
  132. package/skills/ct-skill-creator/scripts/__pycache__/aggregate_benchmark.cpython-314.pyc +0 -0
  133. package/skills/ct-skill-creator/scripts/__pycache__/generate_report.cpython-314.pyc +0 -0
  134. package/skills/ct-skill-creator/scripts/__pycache__/improve_description.cpython-314.pyc +0 -0
  135. package/skills/ct-skill-creator/scripts/__pycache__/init_skill.cpython-314.pyc +0 -0
  136. package/skills/ct-skill-creator/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
  137. package/skills/ct-skill-creator/scripts/__pycache__/run_eval.cpython-314.pyc +0 -0
  138. package/skills/ct-skill-creator/scripts/__pycache__/run_loop.cpython-314.pyc +0 -0
  139. package/skills/ct-skill-creator/scripts/__pycache__/utils.cpython-314.pyc +0 -0
  140. package/skills/ct-skill-creator/scripts/aggregate_benchmark.py +0 -0
  141. package/skills/ct-skill-creator/scripts/generate_report.py +0 -0
  142. package/skills/ct-skill-creator/scripts/improve_description.py +0 -0
  143. package/skills/ct-skill-creator/scripts/init_skill.py +0 -0
  144. package/skills/ct-skill-creator/scripts/package_skill.py +0 -0
  145. package/skills/ct-skill-creator/scripts/quick_validate.py +0 -0
  146. package/skills/ct-skill-creator/scripts/run_eval.py +0 -0
  147. package/skills/ct-skill-creator/scripts/run_loop.py +0 -0
  148. package/skills/ct-skill-creator/scripts/utils.py +0 -0
  149. package/skills/ct-skill-validator/SKILL.md +0 -0
  150. package/skills/ct-skill-validator/agents/ecosystem-checker.md +0 -0
  151. package/skills/ct-skill-validator/assets/valid-skill-example.md +0 -0
  152. package/skills/ct-skill-validator/evals/eval_set.json +0 -0
  153. package/skills/ct-skill-validator/evals/evals.json +0 -0
  154. package/skills/ct-skill-validator/manifest-entry.json +0 -0
  155. package/skills/ct-skill-validator/references/cleo-ecosystem-rules.md +0 -0
  156. package/skills/ct-skill-validator/references/validation-rules.md +0 -0
  157. package/skills/ct-skill-validator/scripts/__init__.py +0 -0
  158. package/skills/ct-skill-validator/scripts/__pycache__/audit_body.cpython-314.pyc +0 -0
  159. package/skills/ct-skill-validator/scripts/__pycache__/check_ecosystem.cpython-314.pyc +0 -0
  160. package/skills/ct-skill-validator/scripts/__pycache__/generate_validation_report.cpython-314.pyc +0 -0
  161. package/skills/ct-skill-validator/scripts/__pycache__/validate.cpython-314.pyc +0 -0
  162. package/skills/ct-skill-validator/scripts/audit_body.py +0 -0
  163. package/skills/ct-skill-validator/scripts/check_ecosystem.py +0 -0
  164. package/skills/ct-skill-validator/scripts/check_manifest.py +0 -0
  165. package/skills/ct-skill-validator/scripts/generate_validation_report.py +0 -0
  166. package/skills/ct-skill-validator/scripts/validate.py +0 -0
  167. package/skills/ct-spec-writer/SKILL.md +0 -0
  168. package/skills/ct-stickynote/README.md +0 -0
  169. package/skills/ct-stickynote/SKILL.md +0 -0
  170. package/skills/ct-task-executor/SKILL.md +0 -0
  171. package/skills/ct-validator/SKILL.md +0 -0
  172. package/skills/manifest.json +0 -0
  173. package/skills.json +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CLEO Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,446 @@
1
+ # @cleocode/skills
2
+
3
+ CLEO skill definitions - bundled capabilities for AI agents.
4
+
5
+ ## Overview
6
+
7
+ This package contains pre-built skills and capabilities that extend CLEO agents with specialized functionality. Skills define what an agent can do and how it should do it.
8
+
9
+ ## What are CLEO Skills?
10
+
11
+ Skills are modular capability packages that:
12
+ - Define specific tasks an agent can perform
13
+ - Provide detailed instructions and workflows
14
+ - Include constraints and best practices
15
+ - Extend the base agent protocols
16
+ - Are injected at spawn time by orchestrators
17
+
18
+ ## Installation
19
+
20
+ ```bash
21
+ npm install @cleocode/skills
22
+ ```
23
+
24
+ ```bash
25
+ pnpm add @cleocode/skills
26
+ ```
27
+
28
+ ```bash
29
+ yarn add @cleocode/skills
30
+ ```
31
+
32
+ ## Included Skills
33
+
34
+ ### Core Skills
35
+
36
+ | Skill | Purpose | Description |
37
+ |-------|---------|-------------|
38
+ | **ct-codebase-mapper** | Analysis | Maps project structure, stack, and architecture |
39
+ | **ct-memory** | Memory | Manages persistent knowledge storage and retrieval |
40
+ | **ct-orchestrator** | Orchestration | Coordinates multi-agent workflows and spawning |
41
+ | **ct-task-executor** | Execution | General task execution with protocol compliance |
42
+ | **ct-validator** | Validation | Validates compliance against rules and schemas |
43
+
44
+ ### Research Skills
45
+
46
+ | Skill | Purpose | Description |
47
+ |-------|---------|-------------|
48
+ | **ct-research-agent** | Research | Multi-source research aggregation and synthesis |
49
+ | **ct-epic-architect** | Planning | Epic decomposition and task planning |
50
+ | **ct-spec-writer** | Specification | RFC 2119 technical specification writing |
51
+ | **ct-docs-lookup** | Documentation | Library and framework documentation queries |
52
+
53
+ ### Documentation Skills
54
+
55
+ | Skill | Purpose | Description |
56
+ |-------|---------|-------------|
57
+ | **ct-documentor** | Documentation | Documentation creation and management |
58
+ | **ct-docs-write** | Writing | User-facing documentation writing |
59
+ | **ct-docs-review** | Review | Documentation style guide compliance |
60
+
61
+ ### Workflow Skills
62
+
63
+ | Skill | Purpose | Description |
64
+ |-------|---------|-------------|
65
+ | **ct-dev-workflow** | Development | Git workflows, commits, releases |
66
+ | **ct-contribution** | Contribution | Multi-agent consensus contributions |
67
+ | **ct-skill-creator** | Skill Dev | Creating and validating CLEO skills |
68
+ | **ct-skill-validator** | Validation | Skill compliance validation |
69
+
70
+ ### Quality Skills
71
+
72
+ | Skill | Purpose | Description |
73
+ |-------|---------|-------------|
74
+ | **ct-grade** | Grading | Session quality evaluation |
75
+ | **ct-grade-v2-1** | Grading V2 | Enhanced grading with scenarios |
76
+ | **ct-stickynote** | Notes | Quick ephemeral sticky notes |
77
+
78
+ ### Integration Skills
79
+
80
+ | Skill | Purpose | Description |
81
+ |-------|---------|-------------|
82
+ | **ct-cleo** | CLEO | Task management protocol operations |
83
+
84
+ ### Specialized Skills
85
+
86
+ Additional skills for specific domains:
87
+ - **better-auth-svelte** - Better-Auth with SvelteKit
88
+ - **drizzle-orm** - Drizzle ORM guidance
89
+ - **expo-production-deploy** - Expo app deployment
90
+ - **flarectl** - Cloudflare CLI management
91
+ - **github-guru** - GitHub workflows
92
+ - **neonctl** - Neon Postgres CLI
93
+ - **payment-provider-oauth** - Payment provider OAuth
94
+ - **railway** - Railway infrastructure
95
+ - **resend** - Resend email API
96
+ - **svelte5-sveltekit** - Svelte 5 development
97
+ - **yt-dlp-webapp** - YouTube download backends
98
+
99
+ ## Skill Structure
100
+
101
+ Each skill follows a standardized structure:
102
+
103
+ ```
104
+ skills/
105
+ ├── <skill-name>/
106
+ │ ├── SKILL.md # Main skill definition (required)
107
+ │ ├── README.md # User documentation (optional)
108
+ │ ├── INSTALL.md # Installation guide (optional)
109
+ │ ├── agents/ # Specialized agent definitions
110
+ │ │ ├── analyzer.md
111
+ │ │ └── executor.md
112
+ │ ├── references/ # Reference documentation
113
+ │ │ ├── patterns.md
114
+ │ │ └── examples.md
115
+ │ └── assets/ # Assets and templates
116
+ │ └── template.md
117
+ ```
118
+
119
+ ## Using Skills
120
+
121
+ ### From CLI
122
+
123
+ ```bash
124
+ # Load a skill
125
+ cleo skills load ct-research-agent
126
+
127
+ # Use skill with a task
128
+ cleo skills apply ct-research-agent --task T1234
129
+
130
+ # List available skills
131
+ cleo skills list
132
+
133
+ # Show skill details
134
+ cleo skills show ct-research-agent
135
+ ```
136
+
137
+ ### From Code
138
+
139
+ ```typescript
140
+ import { skills } from '@cleocode/core';
141
+
142
+ // Load a skill
143
+ const skill = await skills.load('ct-research-agent');
144
+
145
+ // Apply skill to a task
146
+ await skills.apply({
147
+ skill: 'ct-research-agent',
148
+ taskId: 'T1234',
149
+ context: { topic: 'API design patterns' }
150
+ });
151
+
152
+ // Get skill information
153
+ const info = await skills.get('ct-codebase-mapper');
154
+ console.log(info.description);
155
+ console.log(info.capabilities);
156
+ ```
157
+
158
+ ### From Agents
159
+
160
+ Skills are automatically injected when spawning agents:
161
+
162
+ ```typescript
163
+ import { orchestration } from '@cleocode/core';
164
+
165
+ // Skill is injected based on task context
166
+ await orchestration.spawn({
167
+ agent: 'cleo-subagent',
168
+ taskId: 'T1234',
169
+ skill: 'ct-implementation' // Injected at spawn
170
+ });
171
+ ```
172
+
173
+ ## Skill Definition Format
174
+
175
+ Skills are defined in SKILL.md files with YAML frontmatter:
176
+
177
+ ```markdown
178
+ ---
179
+ id: ct-example-skill
180
+ name: Example Skill
181
+ description: |
182
+ Multi-line description of what this skill does
183
+ and when to use it.
184
+ version: 1.0.0
185
+ author: CLEO Team
186
+ tags:
187
+ - development
188
+ - example
189
+ dependencies:
190
+ - ct-cleo
191
+ allowed_tools:
192
+ - Read
193
+ - Write
194
+ - Bash
195
+ - Glob
196
+ - Grep
197
+ - WebFetch
198
+ - WebSearch
199
+ ---
200
+
201
+ # Example Skill
202
+
203
+ ## Overview
204
+
205
+ Detailed explanation of the skill's purpose and usage.
206
+
207
+ ## Capabilities
208
+
209
+ - **Capability 1**: Description
210
+ - **Capability 2**: Description
211
+
212
+ ## Workflow
213
+
214
+ 1. **Step 1**: Description
215
+ 2. **Step 2**: Description
216
+ 3. **Step 3**: Description
217
+
218
+ ## Constraints
219
+
220
+ | ID | Rule | Enforcement |
221
+ |----|------|-------------|
222
+ | EX-001 | **MUST** follow constraint | Required |
223
+ | EX-002 | **SHOULD** consider guideline | Recommended |
224
+
225
+ ## Examples
226
+
227
+ ### Example 1: Basic Usage
228
+
229
+ ```bash
230
+ # Command example
231
+ ```
232
+
233
+ ### Example 2: Advanced Usage
234
+
235
+ ```bash
236
+ # Advanced command example
237
+ ```
238
+
239
+ ## References
240
+
241
+ - [Related Documentation](path/to/docs.md)
242
+ - [Pattern Guide](path/to/patterns.md)
243
+ ```
244
+
245
+ ## Creating Custom Skills
246
+
247
+ ### 1. Create Skill Directory
248
+
249
+ ```bash
250
+ mkdir -p skills/my-custom-skill
251
+ ```
252
+
253
+ ### 2. Create SKILL.md
254
+
255
+ ```markdown
256
+ ---
257
+ id: my-custom-skill
258
+ name: My Custom Skill
259
+ description: |
260
+ Description of what this skill does.
261
+ version: 1.0.0
262
+ author: Your Name
263
+ tags:
264
+ - custom
265
+ - specialized
266
+ allowed_tools:
267
+ - Read
268
+ - Write
269
+ - Bash
270
+ ---
271
+
272
+ # My Custom Skill
273
+
274
+ ## Purpose
275
+
276
+ Explain what this skill does and when to use it.
277
+
278
+ ## Workflow
279
+
280
+ 1. Analyze the task
281
+ 2. Execute the work
282
+ 3. Validate the output
283
+
284
+ ## Output Format
285
+
286
+ Describe expected output format.
287
+ ```
288
+
289
+ ### 3. Register the Skill
290
+
291
+ ```typescript
292
+ import { skills } from '@cleocode/core';
293
+
294
+ skills.register({
295
+ id: 'my-custom-skill',
296
+ path: './skills/my-custom-skill',
297
+ version: '1.0.0'
298
+ });
299
+ ```
300
+
301
+ ## Skill Validation
302
+
303
+ Validate skills before distribution:
304
+
305
+ ```bash
306
+ # Validate a skill
307
+ cleo skills validate my-custom-skill
308
+
309
+ # Or programmatically
310
+ import { skills } from '@cleocode/core';
311
+
312
+ const result = await skills.validate('my-custom-skill');
313
+ if (result.valid) {
314
+ console.log('Skill is valid ✓');
315
+ } else {
316
+ console.log('Issues:', result.issues);
317
+ }
318
+ ```
319
+
320
+ ## Skill Categories
321
+
322
+ Skills are organized by category:
323
+
324
+ ### Development Skills
325
+ - Codebase mapping and analysis
326
+ - Implementation guidance
327
+ - Testing strategies
328
+
329
+ ### Research Skills
330
+ - Information gathering
331
+ - Documentation lookup
332
+ - Multi-source synthesis
333
+
334
+ ### Orchestration Skills
335
+ - Multi-agent coordination
336
+ - Workflow management
337
+ - Consensus building
338
+
339
+ ### Quality Skills
340
+ - Code review
341
+ - Documentation review
342
+ - Compliance checking
343
+
344
+ ### Domain Skills
345
+ - Framework-specific guidance
346
+ - Platform integration
347
+ - Tool expertise
348
+
349
+ ## Skill Dependencies
350
+
351
+ Skills can depend on other skills:
352
+
353
+ ```yaml
354
+ # In SKILL.md frontmatter
355
+ dependencies:
356
+ - ct-cleo # Base CLEO operations
357
+ - ct-research-agent # Research capabilities
358
+ - ct-validator # Validation support
359
+ ```
360
+
361
+ Dependencies are automatically loaded when a skill is applied.
362
+
363
+ ## Skill Chaining
364
+
365
+ Skills can be chained together:
366
+
367
+ ```typescript
368
+ import { skills } from '@cleocode/core';
369
+
370
+ // Chain multiple skills
371
+ await skills.chain([
372
+ { skill: 'ct-research-agent', taskId: 'T1234' },
373
+ { skill: 'ct-spec-writer', taskId: 'T1235' },
374
+ { skill: 'ct-epic-architect', taskId: 'T1236' }
375
+ ]);
376
+ ```
377
+
378
+ ## Skill Profiles
379
+
380
+ Group skills into profiles for different roles:
381
+
382
+ ```yaml
383
+ # profiles/backend-developer.yaml
384
+ name: Backend Developer
385
+ skills:
386
+ - ct-codebase-mapper
387
+ - ct-research-agent
388
+ - ct-spec-writer
389
+ - drizzle-orm
390
+ - ct-dev-workflow
391
+ ```
392
+
393
+ Use profiles:
394
+
395
+ ```bash
396
+ cleo skills apply-profile backend-developer --task T1234
397
+ ```
398
+
399
+ ## Shared Resources
400
+
401
+ Common patterns and utilities in `skills/_shared/`:
402
+
403
+ - `manifest-operations.md` - Working with MANIFEST.jsonl
404
+ - `subagent-protocol-base.md` - Base subagent protocols
405
+ - `skill-chaining-patterns.md` - Chaining best practices
406
+ - `testing-framework-config.md` - Test configuration
407
+ - `task-system-integration.md` - Task system integration
408
+ - `cleo-style-guide.md` - CLEO documentation style
409
+
410
+ ## Integration with Agents
411
+
412
+ Skills and agents work together:
413
+
414
+ 1. **Orchestrator** identifies task requirements
415
+ 2. **Selects appropriate skill** based on task type
416
+ 3. **Spawns agent** with skill injected
417
+ 4. **Agent follows** skill instructions
418
+ 5. **Skill guides** execution within agent framework
419
+
420
+ Example:
421
+
422
+ ```
423
+ Task: "Research authentication patterns"
424
+
425
+ Orchestrator selects: ct-research-agent skill
426
+
427
+ Spawns: cleo-subagent with ct-research-agent injected
428
+
429
+ Agent follows LOOM protocol
430
+
431
+ Skill guides research methodology
432
+
433
+ Output: Research report written to file
434
+ ```
435
+
436
+ ## Dependencies
437
+
438
+ This package has no runtime dependencies. It contains:
439
+ - Skill definitions (markdown files)
440
+ - Reference documentation
441
+ - Configuration templates
442
+ - Example outputs
443
+
444
+ ## License
445
+
446
+ MIT License - see [LICENSE](../LICENSE) for details.