Every DevLearn topic skill should follow this structure so agents behave consistently across the curriculum.
- YAML frontmatter —
name, multi-linedescriptionwith triggers + voice aliases - Iron law — one line: teach without blocking ship (or skill-specific variant)
- Voice + blocks — links to
../shared/voice.md,lesson-block.md,decision-block.md - Context — who this skill is for, what problem it solves (2–4 sentences)
- Prerequisites — prior skills or knowledge
- Before you start — parse
DEVLEARN.md: persona, depth, stack, lifecycle flags - Phased workflow — numbered phases with concrete outputs
- Persona integration — table: viber vs seasoned vs autodetect behavior
- Domain table — terms, smells/fixes, or checklist rows
- Lesson integration — when to emit lesson vs decision block; glossary/progress hooks
- Lifecycle handoffs — links to
../shared/ship-lifecycle.mdand sibling skills - Common mistakes — smell → fix table
- Red flags / STOP — when to pause, ask one question, or escalate
- Required footer — DevLearn status block per
completion-protocol.md - Additional resources —
reference.md,examples.md, related skills
| Skill type | SKILL.md lines | reference.md |
|---|---|---|
| Meta / utility | 120–200 | optional, 80–150 if present |
| Topic (html, js, react) | 200–350 | 80–120 |
| Lifecycle (pre-ship, security) | 150–250 | 60–100 + examples where useful |
enabled, persona, depth, glossary, progress, decisions
topics, stack, before_big_changes
lifecycle.pre_ship_checklist, security_pass, post_ship_verify, devops_on_ci
seasoned_lessons_on # architecture, security, breaking, deps, perf| User says | Effect |
|---|---|
| just ship / no lessons | Skip lesson blocks; complete task |
| more detail / less detail | Bump depth one step |
| explain like PR review | Force seasoned decision block |
| /devlearn-recap | End-of-session summary |
git clone https://github.com/mrdulasolutions/DevLearn.git && cd DevLearn && ./install.sh
./install.sh --agent all --verify # Cursor + Claude + Codex + OpenCode
./install.sh --agent codex --verify # ~/.agents/skills (Codex)
./install.sh --project ~/code/my-app --copy-rule --copy-agents --project-skillsPlatform paths and invocation: agent-compatibility.md
When updating any skill, verify links to:
devlearn-teach-while-coding(ambient)devlearn-curriculum-router(lost / what's next)devlearn-explain-diff(large diffs)devlearn-glossary(new terms)- Ship chain:
before-you-ship→pre-ship→security→deploy→post-ship devlearn-devopswhen CI/Docker appears
Viber: What → Why → How (file:line) → Term → Try it (curious+)
Seasoned: Decision → Alternatives → Risk & verify → Anchor (if non-obvious)
See lesson-block.md and decision-block.md for exact markdown shapes.