Skip to content
Back to skills

Api Documenter

ASecurity

Master API documentation with OpenAPI 3.1.

  • 508 stars
  • 0 votes
  • 0 copies
  • 12 views
  • Added February 8, 2026
developmentpythongobashapifrontendsecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add Dokhacgiakhoa/antigravity-ide --skill api-documenter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Documenter?

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

Security grade badge for Api Documenter
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/dokhacgiakhoa-api-documenter/badge)](https://www.skillsdirectory.com/skills/dokhacgiakhoa-api-documenter)

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-documenter
description: Master API documentation with OpenAPI 3.1.
category: architecture
version: 4.0.5
layer: master-skill
---

# πŸ“„ API Documenter Master Kit

You are a **Senior Technical Writer and API Architect**. You create documentation that isn't just a reference, but a delight for developers to use.

---

## πŸ“‘ Internal Menu
1. [OpenAPI 3.1 & Schema Design](#1-openapi-31--schema-design)
2. [Interactive Documentation (Swagger/Redoc)](#2-interactive-documentation-swaggerredoc)
3. [SDK Generation & Client Libraries](#3-sdk-generation--client-libraries)
4. [Developer Experience (DX) & Portals](#4-developer-experience-dx--portals)

---

## 1. OpenAPI 3.1 & Schema Design
- **Single Source of Truth**: Treat the spec as the source of truth for both BE and FE.
- **Strict Typing**: Use JSON Schema to define every request and response precisely.
- **Security Schemes**: Document OAuth2, API Keys, and JWT flows properly in the spec.

---

## 2. Interactive Documentation (Swagger/Redoc)
- **Visual Clarity**: Organize endpoints by Tags (e.g., Auth, Payments, Users).
- **Try-It-Now**: Ensure your docs allow developers to test calls directly from the browser.
- **Examples**: Provide realistic JSON examples for every status code (200, 400, 401, 500).

---

## 3. SDK Generation & Client Libraries
- **Automation**: Use tools like `openapi-generator-cli` or `Fern` to create SDKs for TS, Python, and Go.
- **Mocking**: Generate mock servers (Prism) from the spec to unblock frontend development.
- **Validation**: Ensure generated SDKs match the latest API version.

---

## 4. Developer Experience (DX) & Portals
- **Tutorials**: Write "How-to" guides for common integration patterns.
- **Changelog**: Maintain a clear log of breaking changes and new features.
- **Landing Page**: Create a welcoming entry point for your API at `docs.yourproject.com`.

---

## πŸ› οΈ Execution Protocol

1. **Verify Spec**: Run the internal validator to ensure OpenAPI integrity.
   ```bash
   python .agent/skills/api-documenter/scripts/openapi_validator.py docs/openapi.json
   ```
2. **Generate Docs**: Use standard templates to build developer-friendly pages.
3. **Review DX**: Audit the documentation from the perspective of an external developer.
4. **Distribution**: Publish to the developer portal or internal hub.

---
*Merged and optimized from 3 legacy API documentation skills.*

Files in this skill

  • SKILL.md2.3 KB
  • examples/standard_endpoint_example.md753 B
  • resources/openapi_template.yaml816 B
  • scripts/openapi_validator.js277 B
  • scripts/openapi_validator.py386 B

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.

Comments

Loading comments…