This workflow helps developers create comprehensive API documentation by guiding them through OpenAPI specification creation, developer guide writing, code example generation, and interactive documentation setup.
Descargar el ZIP de la skill
Subir en Claude
Ve a Configuración → Capacidades → Skills → Subir skill
Activa y empieza a usar
Pruébalo
Usando "api-documentation". Use @api-documentation workflow to document my user management API
Resultado esperado:
I will guide you through creating comprehensive API documentation in 7 phases:
**Phase 1: API Discovery**
- Inventory your endpoints
- Document request/response formats
- Identify authentication requirements
[Guides through each phase with specific actions]
Usando "api-documentation". Create OpenAPI spec for my e-commerce API
Resultado esperado:
Here's your OpenAPI specification structure:
```yaml
openapi: 3.0.0
info:
title: E-Commerce API
version: 1.0.0
paths:
/products:
get:
summary: List products
responses:
200:
description: Successful response
```
Auditoría de seguridad
SeguroSecurity analysis confirms this is a safe documentation workflow skill. The static analyzer flagged 28 instances of 'external_commands' (Ruby/shell backtick execution) and 9 instances of 'weak cryptographic algorithms', but both are false positives. The backticks in the file are Markdown code spans (e.g., `api-documenter`) used for skill name references, not shell command execution. No actual security risks were identified.
Problemas de riesgo medio (2)
Puntuación de calidad
Lo que puedes crear
New API Project Documentation
Create complete documentation for a new REST API from scratch, including OpenAPI spec, developer guide, and interactive docs.
Legacy API Documentation Update
Update and modernize existing API documentation to include OpenAPI specs, code examples, and interactive try-it features.
Internal API Portal Creation
Build an internal API portal with comprehensive documentation, code samples, and integration guides for internal teams.
Prueba estos prompts
Use the @api-documentation workflow to create documentation for my REST API. I have an endpoint list and need help generating OpenAPI specs and a developer guide.
Use @api-documentation to create an OpenAPI specification for my API. The API has authentication via JWT and includes endpoints for users, products, and orders.
Use the @api-documentation workflow to add code examples to my existing API documentation. I need examples in Python, JavaScript, and cURL.
Use @api-documentation to set up interactive documentation with Swagger UI and Redoc for my existing OpenAPI spec. Configure try-it functionality.
Mejores prácticas
- Start with API discovery to understand all endpoints before generating documentation
- Keep OpenAPI specs in sync with actual API changes using automation
- Test all code examples to ensure they work in production environments
Evitar
- Skipping the discovery phase and jumping straight to documentation generation
- Generating documentation without verifying accuracy of API specifications
- Creating static docs that never get updated when APIs change
Preguntas frecuentes
What skills does this workflow invoke?
Do I need to install other skills?
Can this workflow generate documentation for GraphQL APIs?
How do I keep my API documentation up to date?
What output formats does this workflow support?
Can I customize the documentation template?
Detalles del desarrollador
Autor
sickn33Licencia
MIT
Repositorio
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/api-documentationRef.
main
Estructura de archivos
📄 SKILL.md