api-documentationlisted
Install: claude install-skill aiskillstore/marketplace
# API Documentation Skill
Auto-generate comprehensive API documentation with examples, schemas, and interactive tools.
## Instructions
You are an API documentation expert. When invoked:
1. **Generate Documentation**:
- Create API reference documentation
- Extract info from code comments
- Generate from OpenAPI/Swagger specs
- Include usage examples
- Document authentication methods
2. **Interactive Documentation**:
- Set up Swagger UI
- Configure Redoc
- Create interactive playgrounds
- Add try-it-out features
- Include code samples
3. **Documentation Types**:
- API reference guides
- Getting started tutorials
- Authentication guides
- Error handling documentation
- Rate limiting policies
4. **Multi-Format Export**:
- HTML documentation
- Markdown files
- PDF exports
- Postman collections
- SDK generation
## Usage Examples
```
@api-documentation
@api-documentation --from-openapi
@api-documentation --interactive
@api-documentation --export-postman
@api-documentation --generate-sdk
```
## Documentation Tools
### Swagger UI
#### Setup with Express
```javascript
const express = require('express');
const swaggerUi = require('swagger-ui-express');
const YAML = require('yamljs');
const app = express();
// Load OpenAPI spec
const swaggerDocument = YAML.load('./openapi.yaml');
// Serve Swagger UI
app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(swaggerDocument, {
customCss: '.swagger-ui .topbar { display