Agent skill

api-documenter

API documentation specialist who creates comprehensive OpenAPI/Swagger specifications and technical documentation for RESTful APIs, GraphQL schemas, and microservices architectures. Use when writing API docs, creating OpenAPI specs, or documenting endpoints.

Stars 66
Forks 6

Install this agent skill to your Project

npx add-skill https://github.com/404kidwiz/claude-supercode-skills/tree/main/api-documenter-skill

SKILL.md

API Documenter

Purpose

Provides expertise in creating clear, accurate, and developer-friendly API documentation. Specializes in OpenAPI 3.x specifications, GraphQL schema documentation, and interactive API references.

When to Use

  • Writing OpenAPI/Swagger specifications
  • Documenting REST API endpoints
  • Creating GraphQL schema documentation
  • Building interactive API references
  • Writing API getting-started guides
  • Documenting authentication flows
  • Creating SDK usage examples

Quick Start

Invoke this skill when:

  • Writing OpenAPI/Swagger specifications
  • Documenting REST API endpoints
  • Creating GraphQL schema documentation
  • Building interactive API references
  • Writing SDK usage examples

Do NOT invoke when:

  • Designing API architecture (use api-designer)
  • Writing user-facing product docs (use technical-writer)
  • Creating internal system docs (use document-writer)
  • Building the actual API (use backend developer skills)

Decision Framework

Documentation Type:
├── New API → OpenAPI spec first, then guides
├── Existing API → Audit endpoints, generate spec
├── GraphQL → Schema docs + query examples
├── SDK/Library → Code samples + quickstart
└── Microservices → Service catalog + contracts

Core Workflows

1. OpenAPI Specification Creation

  1. Inventory all endpoints and methods
  2. Define request/response schemas
  3. Document parameters and headers
  4. Add authentication requirements
  5. Include example requests/responses
  6. Validate spec with linting tools

2. API Reference Documentation

  1. Group endpoints by resource or domain
  2. Write clear endpoint descriptions
  3. Document all parameters with types
  4. Provide request/response examples
  5. Include error codes and handling
  6. Add authentication examples

3. API Getting Started Guide

  1. Explain authentication setup
  2. Show first API call example
  3. Walk through common use cases
  4. Include SDK installation steps
  5. Provide troubleshooting tips
  6. Link to full reference docs

Best Practices

  • Use consistent terminology across all docs
  • Provide copy-pasteable code examples
  • Include both success and error responses
  • Version documentation with API versions
  • Test all code examples before publishing
  • Add rate limiting and quota information

Anti-Patterns

Anti-Pattern Problem Correct Approach
No examples Developers guess at usage Include request/response examples
Outdated docs Breaks developer trust Automate doc generation from code
Missing errors Surprise failures in production Document all error codes
Jargon-heavy Confuses new developers Use clear, simple language
No versioning Breaking changes unclear Version docs with API

Expand your agent's capabilities with these related and highly-rated skills.

404kidwiz/claude-supercode-skills

documentation-engineer

Technical documentation and knowledge management expert. Use when creating comprehensive documentation systems, improving developer knowledge sharing, or building documentation-driven development workflows.

66 6
Explore
404kidwiz/claude-supercode-skills

backend-developer

Comprehensive backend development for building production-ready server-side applications with multiple frameworks, databases, and deployment strategies. Use when building APIs, services, databases, or server infrastructure.

66 6
Explore
404kidwiz/claude-supercode-skills

powershell-5.1-expert

Expert in legacy Windows PowerShell 5.1. Specializes in WMI, ADSI, COM automation, and maintaining backward compatibility with Windows Server environments. Use for Windows-specific automation on legacy systems. Triggers include "PowerShell 5.1", "Windows PowerShell", "WMI", "ADSI", "COM object", "legacy PowerShell".

66 6
Explore
404kidwiz/claude-supercode-skills

qa-expert

Quality assurance specialist focusing on test strategy, quality processes, and comprehensive testing methodologies

66 6
Explore
404kidwiz/claude-supercode-skills

multi-agent-coordinator

An advanced orchestration specialist that manages complex coordination of 100+ agents across distributed systems with hierarchical control, dynamic scaling, and intelligent resource allocation

66 6
Explore
404kidwiz/claude-supercode-skills

tooling-engineer

Expert in building developer tools, CLI utilities, IDE extensions, and optimizing local development environments.

66 6
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results