api-reference-documentation▌
aj-geddes/useful-ai-prompts · updated Apr 8, 2026
Generate professional API documentation that developers can use to integrate with your API, including endpoint specifications, authentication, request/response examples, and interactive documentation.
API Reference Documentation
Table of Contents
Overview
Generate professional API documentation that developers can use to integrate with your API, including endpoint specifications, authentication, request/response examples, and interactive documentation.
When to Use
- Documenting REST APIs
- Creating OpenAPI/Swagger specifications
- GraphQL API documentation
- SDK and client library docs
- API authentication guides
- Rate limiting documentation
- Webhook documentation
- API versioning guides
Quick Start
Minimal working example:
openapi: 3.0.3
info:
title: E-Commerce API
description: |
Complete API for managing e-commerce operations including products,
orders, customers, and payments.
## Authentication
All endpoints require Bearer token authentication. Include your API key
in the Authorization header: `Authorization: Bearer YOUR_API_KEY`
## Rate Limiting
- 1000 requests per hour for authenticated users
- 100 requests per hour for unauthenticated requests
## Pagination
List endpoints return paginated results with `page` and `limit` parameters.
version: 2.0.0
contact:
name: API Support
email: api@example.com
url: https://example.com/support
license:
name: MIT
url: https://opensource.org/licenses/MIT
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| OpenAPI Specification Example | openapi: 3.0.3 |
| List Products | List Products |
Best Practices
✅ DO
- Use OpenAPI 3.0+ specification
- Include request/response examples for every endpoint
- Document all query parameters and headers
- Provide authentication examples
- Include error response formats
- Document rate limits and pagination
- Use consistent naming conventions
- Include SDK examples in multiple languages
- Document webhook payloads
- Provide interactive API explorer (Swagger UI)
- Version your API documentation
- Include migration guides for breaking changes
❌ DON'T
- Skip error response documentation
- Forget to document authentication
- Use inconsistent terminology
- Leave endpoints undocumented
- Ignore deprecation notices
- Skip versioning information
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★73 reviews- ★★★★★Kaira Johnson· Dec 28, 2024
We added api-reference-documentation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Dhruvi Jain· Dec 24, 2024
I recommend api-reference-documentation for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Isabella Haddad· Dec 16, 2024
We added api-reference-documentation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★James Martinez· Dec 4, 2024
Solid pick for teams standardizing on skills: api-reference-documentation is focused, and the summary matches what you get after install.
- ★★★★★Luis Ramirez· Dec 4, 2024
api-reference-documentation reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Chinedu Harris· Dec 4, 2024
Useful defaults in api-reference-documentation — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Sakura Thompson· Nov 23, 2024
api-reference-documentation has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Kiara Rao· Nov 23, 2024
api-reference-documentation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Mei Park· Nov 23, 2024
I recommend api-reference-documentation for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Chinedu Farah· Nov 19, 2024
Keeps context tight: api-reference-documentation is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 73