# Output skill template The generated skill is a folder: ``` / SKILL.md # conventions + endpoint index; under ~400 lines references/ .md # full operation detail for one resource group .md ... ``` ## SKILL.md skeleton ```markdown --- name: description: >- Consume the (, ). Use when building an integration or app against : . Covers auth, conventions, and every endpoint. --- # integration ## Auth and base URL ## Conventions ## Endpoint index .md". Line format: `METHOD /path : summary [scope:x risk:y idempotent dry-run]`> ## Gotchas ## Verification against : ." Or: "Generated from spec, NOT yet verified live. Before first use run: ."> ``` ## references/.md skeleton ```markdown # endpoints sent -> paid). Cross-reference sibling groups.> ### `METHOD /path` **.** `scope: · risk: · idempotent · dry-run` Request body: (writes only) ```ts { condensed: "typescript-ish" } ``` Response `200`: ```ts { condensed: "typescript-ish" } ``` ``` ## Quality checklist Grade the generated skill against every item. Fix failures before delivering. 1. **First-call test**: could an agent with only SKILL.md (no references) make a correct authenticated list call? Auth format, base URL, and envelope must be sufficient. 2. **Trigger test**: does the frontmatter description name the API, its domain, and its resource nouns? An agent that has never seen this skill must match it from a prompt like "add invoicing to our app". 3. **Coverage test**: every operation in the spec appears exactly once in the endpoint index, and every index group has a reference file. 4. **Restatement test**: does SKILL.md contain anything an agent would learn anyway from one endpoint call? Cut it. 5. **Convention test**: pagination, error handling, and idempotency are documented as rules, not repeated per endpoint. 6. **Honesty test**: every example response is real or clearly marked as spec-derived; the Verification section says what was and was not tested. 7. **Size test**: SKILL.md under ~400 lines; no reference file over ~700. 8. **Write-safety test**: destructive or high-risk operations are visibly marked so an agent knows to confirm before calling.