Create comprehensive API documentation with examples, authentication guides, and SDKs.
SkillScore77Maintained
Automatic
◆Doc Ops packapiauthenticationapi-docs
Last verified 8/30/2026
What it changes
Passed 15 of 19 test cases with the skill, and 11 of 19 without it.
Without skill59%
With skill77%
Checks it passed that the model alone missed
Includes curl code samples
Includes JavaScript fetch or axios code samples
Includes Python requests and Go net/http code samples
and 3 more in the full report
4 fixed13 passed either way5 still failing0 broke
Pass-rate lift
+18 pp
Tokens
+46%
Agent turns
0%
Response time
-13%
Model gemini-3.6-flashMeasured 8/30/2026v117 of 22 cases passed with skill · 19 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 4
Prompt
When setting up custom branding and engine settings for our OpenAPI documentation generator, what relative file path should hold the generator configuration in our documentation repository?
What was checked, without and with the skill
Checked
Without skill
With skill
Specifies the generator configuration path as docs/config/redoc.yaml
Missed
Passed
case-22 · gemini-3.6-flash · 8/30/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md64 lines4 files
Generating API Documentation
Overview
Create comprehensive, interactive API documentation from OpenAPI specifications with runnable code examples, authentication guides, error reference tables, and SDK quick-start tutorials. Generate documentation sites using Redoc, Stoplight Elements, or Swagger UI with custom branding, versioned navigation, and full-text search.
Prerequisites
OpenAPI 3.0+ specification with descriptions, examples, and complete schema definitions
Documentation generator: Redoc, Stoplight Elements, Swagger UI, or Docusaurus with OpenAPI plugin
Code example generator for multiple languages (curl, JavaScript, Python, Go)
Static site hosting for documentation deployment (GitHub Pages, Netlify, Vercel)
Custom branding assets (logo, color scheme) for white-labeled documentation
Instructions
Read the OpenAPI specification using Read and audit documentation completeness: verify all operations have summary, description, parameter descriptions, and at least one example per request/response.
Enrich the specification with long-form descriptions using Markdown: add getting-started guides, authentication flow explanations, and rate limiting documentation in the info.description or x-documentation extensions.
Generate interactive documentation using Redoc or Stoplight Elements with "Try It" functionality that allows consumers to execute requests directly from the documentation page.
Create runnable code examples for every endpoint in curl, JavaScript (fetch/axios), Python (requests/httpx), and Go (net/http), with proper authentication header injection.
Build an authentication guide covering all supported auth schemes: API key setup, OAuth2 authorization code flow walkthrough, JWT token lifecycle, and credential rotation procedures.
Add an error reference section that documents every error code, its meaning, common causes, and resolution steps -- organized by HTTP status code with searchable error code index.
Configure documentation versioning so consumers can switch between API versions (v1, v2) with visual diff highlighting showing changes between versions.
Set up automated documentation deployment: on OpenAPI spec changes, regenerate the documentation site and deploy to hosting with cache invalidation.
See ${CLAUDE_SKILL_DIR}/references/implementation.md for the full implementation guide.