Skip to content
Back to skills

Api Documentation

ASecurity

API documentation — reference from OpenAPI/GraphQL/proto, auth and quickstart guides, runnable examples, error catalogues, pagination and rate limit docs, changelogs and migration guides, docs testing against mocks. Use to document APIs and tools (API docs, reference, examples, changelog, migration guide).

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgotestingapidocumentation

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vectora-os/kit --skill api-documentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Documentation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Documentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectora-os-api-documentation/badge)](https://www.skillsdirectory.com/skills/vectora-os-api-documentation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-documentation
description: API documentation — reference from OpenAPI/GraphQL/proto, auth and quickstart guides, runnable examples, error catalogues, pagination and rate limit docs, changelogs and migration guides, docs testing against mocks. Use to document APIs and tools (API docs, reference, examples, changelog, migration guide).
metadata:
  category: documentation
---

# API documentation

## Purpose

Make an API usable from its documentation alone.

**Use when:** new or changed APIs, SDKs and MCP tools.

**Not for:** contract design.

## Inputs

- Specs, examples, changes.

## Outputs

- Reference, guides, changelog, tested examples.

## Read first

- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "api documentation"` for prior decisions, patterns and anti-patterns.
- [Documentation standard](../../../standards/documentation.md)
- [API design standard](../../../standards/api-design.md)

## Steps

1. **Reference.** Generate from spec; enrich descriptions.
   Done when every operation described.
2. **Guides.** Quickstart, auth, pagination, errors.
   Done when newcomer can make a first call.
3. **Examples.** Runnable examples tested in CI.
   Done when examples pass.
4. **Changes.** Changelog and migration guides.
   Done when breaking changes have guides.

## Best practices

- Document errors as thoroughly as success.
- Keep docs next to specs.

## Common mistakes

- Examples that do not run.
- Docs drifting from spec.

## Example

v2 pagination guide with migration from offset paging and tested examples.

## Reusable prompt

```text
Apply the API documentation skill (.agents/skills/api-documentation/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Produce reference, guides, tested examples and changelog for the API change.
Return: Reference, guides, changelog, tested examples..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.