Template for creating skills extracted from learnings. Copy and customize.
name: skill-name-here
Brief introduction explaining the problem this skill solves and its origin.
| Situation | Action |
|---|---|
| [Trigger 1] | [Action 1] |
| [Trigger 2] | [Action 2] |
Why this knowledge matters. What problems it prevents. Context from the original learning.
```language
// Example code demonstrating the solution
```
Extracted from learning entry.
- Learning ID: LRN-YYYYMMDD-XXX
- Original Category: correction | insight | knowledge_gap | best_practice
- Extraction Date: YYYY-MM-DD
```
For simple skills that don't need all sections:
name: skill-name-here
[Problem statement in one sentence]
[Direct solution with code/commands]
For skills that include executable helpers:
name: skill-name-here
[Introduction]
| Command | Purpose |
|---|---|
./scripts/helper.sh |
[What it does] |
./scripts/validate.sh |
[What it does] |
```bash
./skills/skill-name/scripts/helper.sh [args]
```
| Script | Description |
|---|---|
scripts/helper.sh |
Main utility |
scripts/validate.sh |
Validation checker |
docker-m1-fixes, api-timeout-patternsDocker_M1_Fixes, APITimeoutPatternsDescription: Start with action verb, mention trigger
Files:
SKILL.md - Required, main documentationscripts/ - Optional, executable codereferences/ - Optional, detailed docsassets/ - Optional, templatesBefore creating a skill from a learning:
After creating:
promoted_to_skill statusSkill-Path: skills/skill-name to learning metadata