dykyi-roman/awesome-claude-code/api-doc-template
- community
Checking that the SKILL.md file is still in the repository.
Generates API documentation for PHP projects. Creates endpoint documentation with parameters, responses, and examples.
Install
npx vskill@latest install dykyi-roman/awesome-claude-code/api-doc-templateSKILL.md
API Documentation Template Generator
Generate comprehensive API documentation for REST endpoints.
Document Structure
Section Templates
Overview Section
Authentication Section
Authorization: Bearer {token}
X-API-Key: {api_key}
POST /auth/token Content-Type: application/json
{ "email": "user@example.com", "password": "secret" }
{ "token": "eyJhbGciOiJIUzI1NiIs...", "expires_at": "2025-01-16T12:00:00Z" }
Endpoint Template
{METHOD} /api/v1/{path} Authorization: Bearer {token} Content-Type: application/json
{ "field": "value" }
{ "id": "123", "field": "value", "created_at": "2025-01-15T10:00:00Z" }
Error Handling Section
{ "error": { "code": "ERROR_CODE", "message": "Human-readable error message", "details": { "field": ["Specific field error"] } } }
Rate Limiting Section
HTTP/1.1 429 Too Many Requests X-RateLimit-Limit: 100 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 1705320000
{ "error": { "code": "RATE_LIMITED", "message": "Rate limit exceeded. Retry after 60 seconds." } }
Complete Endpoint Example
POST /api/v1/orders Authorization: Bearer eyJhbGci... Content-Type: application/json
{ "items": [ { "product_id": "550e8400-e29b-41d4-a716-446655440000", "quantity": 2 } ], "shipping_address": { "street": "123 Main St", "city": "New York", "postal_code": "10001", "country": "US" }, "coupon_code": "SAVE10" }
{ "id": "ord_123456", "status": "pending", "items": [ { "product_id": "550e8400-e29b-41d4-a716-446655440000", "name": "Widget Pro", "quantity": 2, "unit_price": {"amount": 2999, "currency": "USD"}, "total": {"amount": 5998, "currency": "USD"} } ], "subtotal": {"amount": 5998, "currency": "USD"}, "discount": {"amount": 600, "currency": "USD"}, "total": {"amount": 5398, "currency": "USD"}, "shipping_address": { "street": "123 Main St", "city": "New York", "postal_code": "10001", "country": "US" }, "created_at": "2025-01-15T10:30:00Z" }
Generation Instructions
When generating API documentation:
- Identify all endpoints from routes or actions
- Document request parameters (path, query, body)
- Document response fields with types
- Provide realistic example requests/responses
- List all possible error responses
- Include authentication requirements
- Group endpoints by resource
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api-doc-template/SKILL.md
Popularity
- Repository stars
- 96
- Repository forks
- 25
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dykyi-roman/awesome-claude-code/api-doc-template)