api-style-guide
8
总安装量
4
周安装量
#33953
全站排名
安装命令
npx skills add https://github.com/gtmagents/gtm-agents --skill api-style-guide
Agent 安装分布
gemini-cli
4
opencode
3
antigravity
3
replit
3
claude-code
3
github-copilot
3
Skill 文档
API Style Guide Skill
When to Use
- Authoring or updating API references, tutorials, and SDK docs.
- Reviewing contributions from engineers, DevRel, or partners.
- Auditing docs for consistency before releases.
Framework
- Language & Tone â audience-specific tone, terminology list, and banned phrases.
- Structure â endpoint/order conventions, table layouts, code block formatting, error doc patterns.
- Code Samples â naming standards, authentication handling, pagination patterns, inline comments.
- Metadata & Tags â version labels, availability notes, beta flags, locale indicators.
- Accessibility & Localization â heading hierarchy, alt-text, snippet annotations, translation guidance.
Templates
- Reference entry template (description, parameters, responses, examples, notes).
- Tutorial skeleton with prerequisites, steps, troubleshooting, next steps.
- Code sample checklist ensuring env vars, comments, and error handling are included.
Tips
- Keep examples runnable; provide curl equivalents even when primary sample is in another language.
- Link to glossary for shared terminology across teams.
- Pair with
update-api-referencecommand to enforce consistent output.