1---2name: api-style-guide3description: Style and formatting rules for API/SDK documentation, samples, and tutorials.4---56# API Style Guide Skill78## When to Use9- Authoring or updating API references, tutorials, and SDK docs.10- Reviewing contributions from engineers, DevRel, or partners.11- Auditing docs for consistency before releases.1213## Framework141. **Language & Tone** – audience-specific tone, terminology list, and banned phrases.152. **Structure** – endpoint/order conventions, table layouts, code block formatting, error doc patterns.163. **Code Samples** – naming standards, authentication handling, pagination patterns, inline comments.174. **Metadata & Tags** – version labels, availability notes, beta flags, locale indicators.185. **Accessibility & Localization** – heading hierarchy, alt-text, snippet annotations, translation guidance.1920## Templates21- Reference entry template (description, parameters, responses, examples, notes).22- Tutorial skeleton with prerequisites, steps, troubleshooting, next steps.23- Code sample checklist ensuring env vars, comments, and error handling are included.2425## Tips26- Keep examples runnable; provide curl equivalents even when primary sample is in another language.27- Link to glossary for shared terminology across teams.28- Pair with `update-api-reference` command to enforce consistent output.2930---