Install any skill in seconds. Free to start, no credit card required.
Get Started Free →API documentation specialist for OpenAPI/Swagger specifications. Use when documenting REST or GraphQL APIs.
.claude/skills/api-documenter/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -22% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 110% | 0% |
Specialist in creating comprehensive API documentation using OpenAPI/Swagger specifications.
Activates when you:
yamlopenapi: 3.0.3 info: title: API Title version: 1.0.0 description: API description servers: - url: https://example.com/api/v1 paths: /users: get: summary: List users operationId: listUsers tags: - users parameters: [] responses: '200': description: Successful response content: application/json: schema: type: array items: $ref: '#/components/schemas/User' components: schemas: User: type: object properties: id: type: string name: type: string
For each endpoint, document:
yaml/users/{id}: get: summary: Get a user by ID operationId: getUserById description: Retrieves a single user by their unique identifier tags: - users parameters: - name: id in: path required: true schema: type: string description: The user ID responses: '200': description: User found content: application/json: schema: $ref: '#/components/schemas/User' '404': description: User not found content: application/json: schema: $ref: '#/components/schemas/Error'
yamlcomponents: schemas: User: type: object required: - id - email properties: id: type: string format: uuid description: Unique user identifier example: "550e8400-e29b-41d4-a716-446655440000" email: type: string format: email description: User's email address example: "user@example.com" createdAt: type: string format: date-time description: Account creation timestamp
Document auth requirements:
yamlsecurity: - bearerAuth: [] components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT description: Use your JWT token from /auth/login
Standard error format:
yamlcomponents: schemas: Error: type: object properties: error: type: string description: Error message code: type: string description: Application-specific error code details: type: object description: Additional error details
Common HTTP status codes:
Generate OpenAPI spec from code:
bashpython3 scripts/generate_openapi.py --name <resource-name> --output openapi.yaml
Validate OpenAPI spec:
bashpython3 scripts/validate_openapi.py --input openapi.yaml
references/openapi-template.yaml - OpenAPI templatereferences/examples/ - API documentation examples| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 26,098 | 24,873 | -5% | 1 | 1 | 0% | 4,969 | 4,562 | -8% | 0 | 0 | — |
case-06 | fail→fail | 19,370 | 23,940 | +24% | 1 | 1 | 0% | 2,815 | 4,016 | +43% | 0 | 0 | — |
case-02 | pass→pass | 18,326 | 19,900 | +9% | 1 | 1 | 0% | 2,016 | 4,232 | +110% | 0 | 0 | — |
case-03 | pass→pass | 15,106 | 16,914 | +12% | 1 | 1 | 0% | 1,620 | 3,607 | +123% | 0 | 0 | — |
case-04 | pass→pass | 28,670 | 18,997 | -34% | 1 | 1 | 0% | 3,747 | 3,981 | +6% | 0 | 0 | — |
case-05 | pass→pass | 15,946 | 19,271 | +21% | 1 | 1 | 0% | 2,202 | 4,097 | +86% | 0 | 0 | — |
case-07 | pass→pass | 15,012 | 12,987 | -13% | 1 | 1 | 0% | 1,550 | 2,539 | +64% | 0 | 0 | — |
case-08 | pass→pass | 13,228 | 10,714 | -19% | 1 | 1 | 0% | 1,493 | 2,164 | +45% | 0 | 0 | — |
case-09 | pass→pass | 22,076 | 22,320 | +1% | 1 | 1 | 0% | 3,586 | 4,262 | +19% | 0 | 0 | — |
case-10 | pass→pass | 10,334 | 5,000 | -52% | 1 | 1 | 0% | 1,088 | 1,942 | +78% | 0 | 0 | — |
case-11 | pass→pass | 17,173 | 21,593 | +26% | 1 | 1 | 0% | 2,566 | 3,920 | +53% | 0 | 0 | — |
case-12 | pass→pass | 14,221 | 14,805 | +4% | 1 | 1 | 0% | 2,031 | 2,925 | +44% | 0 | 0 | — |
case-13 | fail→pass | 10,758 | 6,905 | -36% | 1 | 1 | 0% | 1,735 | 1,348 | -22% | 0 | 0 | — |
case-14 | fail→pass | 12,552 | 6,776 | -46% | 1 | 1 | 0% | 1,347 | 1,315 | -2% | 0 | 0 | — |
case-15 | pass→pass | 13,982 | 16,636 | +19% | 1 | 1 | 0% | 1,609 | 2,957 | +84% | 0 | 0 | — |
case-16 | pass→pass | 10,346 | 14,679 | +42% | 1 | 1 | 0% | 1,801 | 3,968 | +120% | 0 | 0 | — |
case-17 | pass→pass | 9,428 | 13,498 | +43% | 1 | 1 | 0% | 1,887 | 3,164 | +68% | 0 | 0 | — |
case-18 | fail→pass | 10,354 | 1,631 | -84% | 1 | 1 | 0% | 1,419 | 1,281 | -10% | 0 | 0 | — |
case-19 | pass→pass | 14,589 | 10,856 | -26% | 1 | 1 | 0% | 1,504 | 2,061 | +37% | 0 | 0 | — |
case-20 | pass→pass | 11,782 | 9,109 | -23% | 1 | 1 | 0% | 988 | 1,682 | +70% | 0 | 0 | — |
case-21 | pass→pass | 14,030 | 23,671 | +69% | 1 | 1 | 0% | 2,815 | 3,967 | +41% | 0 | 0 | — |
case-22 | pass→pass | 15,837 | 9,262 | -42% | 1 | 1 | 0% | 2,100 | 3,044 | +45% | 0 | 0 | — |
case-23 | pass→pass | 12,265 | 12,716 | +4% | 1 | 1 | 0% | 1,553 | 2,559 | +65% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +17 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/24/2026 | +18% |
Other measured skills in the registry, with their headline benchmark lift.