1---2layer: peripheral3name: template-24# SE-209 canonical description format: "[qué hace]. Usar cuando [trigger 1], [trigger 2], o [trigger 3]. Max 200 chars."5# Example: "Audita compliance legal. Usar cuando se crea un contrato, se procesa PII, o hay incertidumbre sobre RGPD."6description: "TEMPLATE — copia este directorio para crear una skill nueva. NO se carga en runtime."7# SE-333: campos propios bajo metadata.savia.* (string→string). name/description8# y license/compatibility quedan top-level. Listas → join por coma.9metadata:10 source: https://skillmd.com/skills/gonzalezpazmonica/template-211 savia.maturity: "template"12 savia.context: "standalone"13 savia.context_cost: "low"14 savia.category: "meta"15 savia.tags: "template, scaffold"16 savia.priority: "low"17 # SE-152: Semantic routing (optional — omit if not applicable)18 # savia.consumes: "spec, project_slug, sprint_data"19 # savia.produces: "report, CONTEXT.md, test_suite"20 savia.loop_level: "L0" # L0=draft | L1=report-only | L2=assisted | L3=unattended — ver docs/rules/domain/loop-phasing.md21 # savia.trigger_keywords: "keyword1, keyword2"22---2324<!--25 HOW TO USE THIS TEMPLATE26 ------------------------27 1. Copy `templates/skills/_template/` to `.claude/skills/<your-skill-name>/`28 2. Replace ALL `<placeholder>` markers below.29 3. Update frontmatter `name`, `description`, `tags`.30 4. Delete this HOW TO block before commit.3132 SIZE LIMITS (SE-208) — TARGET: ≤100 lines | WARN: >100 | FAIL: ≥15033 -------------------------------------------------------------------34 Keep SKILL.md as the lean entry point. Extract heavy content to satellites:3536 .claude/skills/<name>/37 ├── SKILL.md ← ≤100 lines: entry, workflow, references ← YOU ARE HERE38 ├── REFERENCE.md ← extensive technical reference, tables, criteria39 ├── tests.md ← test cases, negative examples, anti-patterns40 ├── examples.md ← concrete input/output examples41 └── DOMAIN.md ← only when real domain terminology exists (not by default)4243 Satellites are NOT loaded by default — the agent reads them on demand.44 SKILL.md links to satellites in the ## Related section.4546 PATTERN: "Authoritative Paths First" (SE-153)47 ---------------------------------------------48 Inspirado en el patrón flowsint. La sección Authoritative Paths49 va PRIMERO, antes de cualquier prosa explicativa o tutorial.50 Razón: agentes leen top-down y se quedan sin contexto. Si los51 paths canónicos están al final, el agente los pierde y empieza52 a inventar firmas. Si están al principio, el agente sabe a53 dónde mirar antes de leer el resto de la skill.54-->5556## Subagent Scope Guard5758> Si fuiste invocado como subagente con una tarea concreta, ejecuta solo59> esa tarea y reporta DONE / DONE_WITH_CONCERNS / BLOCKED. NO actives el60> workflow completo de esta skill. (Borra esta sección si la skill no es61> orquestadora.)6263# Skill: <Nombre Legible>6465<Una frase. Qué problema resuelve.>6667## Authoritative Paths6869> **Lee estos paths antes de actuar. NUNCA asumas firmas, NUNCA inventes paths.**7071| Para | Lee este path |72|---|---|73| <tipos / contratos / interfaces> | `<path/to/types.md>` |74| <handlers / entry points> | `<path/to/handlers/>` |75| <configuración / constantes> | `<path/to/config.md>` |76| <reglas de negocio aplicables> | `<path/to/rules/>` |77| <tests de referencia> | `<path/to/tests/>` |7879**Reglas duras**:80- Si un path no existe, ABORTA y reporta — no inventes uno alternativo.81- Si una firma no está documentada en los paths, lee el código fuente directamente.82- Si la tarea requiere un path no listado aquí, primero añádelo a esta tabla.8384## Cuándo usar8586- <Trigger 1: situación concreta detectable>87- <Trigger 2>88- <Trigger 3>8990## Cuándo NO usar9192- <Anti-trigger 1: situación donde otra skill es más apropiada>93- <Anti-trigger 2>9495## Decision Checklist96971. <Pregunta binaria 1> → si NO: <acción>982. <Pregunta binaria 2> → si NO: <acción>993. <Pregunta binaria 3> → si NO: <acción>100101### Abort Conditions102103- <Condición que invalida la skill — abortar y delegar>104- <Otra>105106## Workflow107108```109<paso 1: input>110 ↓111<paso 2: transformación>112 ↓113<paso 3: output / handoff>114```115116### Detalle de cada paso1171181. **<Paso 1>**: <qué hacer, qué leer, qué escribir>1192. **<Paso 2>**: <qué hacer, qué leer, qué escribir>1203. **<Paso 3>**: <qué hacer, qué leer, qué escribir>121122## Outputs esperados123124- <Fichero / commit / PR / mensaje>125- <Métrica observable>126127## Memory hooks128129- <Tipo de fact a guardar tras éxito> → `bash scripts/memory-store.sh save --type <type> --title "<title>" --content "<content>" --source skill:<name>`130- <Tipo de pattern a recall al inicio> → `bash scripts/memory-store.sh recall <topic>`131132## Related133134- Skill: `<../related-skill/SKILL.md>`135- Rule: `<docs/rules/domain/related-rule.md>`136- Spec: `<docs/propuestas/SPEC-XXX.md>`137- Roadmap: `<docs/ROADMAP.md#SE-XXX>`