irahardianto/agy-perf-optimization-demo/api-documentation
Claude Code and agent skill by irahardianto/agy-perf-optimization-demo
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
OpenAPI 3.1 specification writing, request/response examples, error documentation, versioning, and interactive API portal patterns.
Install
npx vskill@latest install irahardianto/agy-perf-optimization-demo/api-documentationSKILL.md
API Documentation Principles
Guidelines for creating comprehensive, developer-friendly API documentation.
When to Invoke
- Writing or updating OpenAPI/Swagger specs
- Documenting API endpoints, schemas, and errors
- Creating SDK documentation and integration guides
- API versioning and migration documentation
OpenAPI Specification
Structure
Principles
- Every endpoint has `operationId` — used for SDK generation.
- Every endpoint has examples — request and response.
- Reusable components —
$reffor schemas, responses, parameters. - Error responses documented — every possible error code with description.
Error Documentation
Standard Error Format
Error Code Catalog
Document every error code with:
- Code — machine-readable identifier
- HTTP Status — corresponding status code
- Description — what caused the error
- Resolution — how to fix it
Versioning Documentation
- Changelog — every API version change documented.
- Migration guides — step-by-step upgrade instructions.
- Deprecation notices — minimum 6 months warning.
- Breaking changes — clearly marked with migration path.
Documentation Checklist
- [ ] All endpoints documented with summaries and descriptions
- [ ] Request/response schemas with examples
- [ ] Authentication documented (how to obtain and use credentials)
- [ ] Error responses with codes and resolution steps
- [ ] Rate limiting documented (limits, headers, retry strategy)
- [ ] Pagination documented (cursor vs offset, parameters)
- [ ] Versioning strategy documented
Related
- API Design Principles @.agents/rules/api-design-principles.md
- Documentation Principles .agents/rules/documentation-principles.md
- Structured Spec TSD Profile @.agents/skills/structured-spec/profiles/tsd.md — use when API documentation requires formal requirement traceability (
<!-- contract -->annotations wrapping OpenAPI blocks)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingflashmart-api/.agents/skills/api-documentation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/irahardianto/agy-perf-optimization-demo/api-documentation)