# Stub templates Copy-paste starting points. Keep them thin — the procedure lives in `docs/`. ## Canonical leaf skill — `.github/skills//SKILL.md` ```markdown --- name: description: . Use when the user says "", "", "", or . --- # Full procedure: **`docs/.md`**. Live example to copy: **``**. ## Interview first 1. 2. ... ## Steps 1. 2. ## Finish - Run **`just validate --changed`**; interpret . - Hand off: "Next, ask for ``." Then stop. ``` Frontmatter notes: lowercase-hyphenated `name:` must match the directory name. The `description:` is the *only* discovery surface — lead with action-verb trigger phrases ("Use when the user says...") so the cloud agent's matcher fires reliably. ## Parent (composite) skill ```markdown --- name: description: End-to-end guide to . Use when the user says "", "", or . Orchestrates the leaf skills by guided handoff. --- # (orchestrator) Conversation with **guided handoffs**: finish a stage, validate, name the next leaf skill, and **pause** — do not auto-run the chain. Canonical example: **``**. ## Stage 0 — interview ## Stage sequence (hand off one at a time) 1. `` — 2. `` — 3. ... ## Checkpoints Run `just validate --changed` after stages ; resolve errors before continuing. ``` ## Path-scoped instructions — `.github/instructions/.instructions.md` ```markdown --- applyTo: "/**/*." description: --- When editing files under `/`, you're touching . - **Adding ?** Use the `` skill ("", ""). - - - Run `just validate --changed` before committing. ``` These don't replace `AGENTS.md` (always-on house style) — they surface **surface-specific** reminders that name the relevant skill. ## Always-on conventions — `AGENTS.md` `AGENTS.md` is the single source of style. Cover: language style rules (imports, extraction, iteration), directory/naming layout, the one-token- everywhere convention (prefix = cache group = log tag, or your repo's equivalent), the most common pipeline mistakes, the "run `just validate --changed` before finishing" rule, and commit conventions. End AGENTS.md with a small table pointing at `.github/skills/` and `.github/instructions/` so any agent reading AGENTS.md learns where the operational skills live. ## Copilot redirect + skills menu — `.github/copilot-instructions.md` This file exists for Copilot-tier surfaces that prefer the documented path. Body: one sentence redirecting to `AGENTS.md`, then a discoverability table: ```markdown # GitHub Copilot instructions — House style and conventions: **[`AGENTS.md`](../AGENTS.md)**. ## Skills (auto-triggered by description matching) | Skill | Triggers on prompts like | |---|---| | [`add-X`](skills/add-X/SKILL.md) | "", "" | | ... | ... | ``` Belt-and-braces: even if description matching misses, the menu surfaces the skill names always-on.