api-documentation
OpenAPI 3.1 from Zod schemas, interactive docs with Swagger/Scalar, versioning, and example requests for every endpoint.
Skill by YepAPI
Chalk Labs
Need help deploying api-documentation?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/yepapi-api-documentation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/api-documentation
What's inside
- Skill name
api-documentation- Description
- OpenAPI 3.1 from Zod schemas, interactive docs with Swagger/Scalar, versioning, and example requests for every endpoint.
- License
- MIT
- Instructions
- 51 lines in SKILL.md · view on GitHub
Files (2)
- README.md
- SKILL.md
SKILL.md (first lines)
# API Documentation
## Rules
- OpenAPI 3.1 spec as the single source of truth — generate from code, not manually written
- Zod schemas to OpenAPI: use `zod-openapi` or `@asteasolutions/zod-to-openapi` — define once, validate and document
- Interactive docs: Scalar (modern, fast) or Swagger UI — serve at `/docs` or `/api-docs`
- Every endpoint must have: summary, description, request body schema, all response codes with examples
- Example request/response for every endpoint — use realistic data, not `"string"` placeholders
- Versioning strategy: URL path (`/api/v1/`, `/api/v2/`) for breaking changes — simpler than header versioning
- Error responses: document all error shapes consistently — `{ error: string, code: string, details?: object }`
- Authentication: document auth scheme (Bearer token, API key) in security schemes section
- Group endpoints by resource: `/users`, `/products`, `/orders` — use tags for grouping in docs UI
## Patterns
```ts
// zod-to-openapi with Hono/Express
import { z } from "zod";
import { extendZodWithOpenApi } from "@asteasolutions/zod-to-openapi";
extendZodWithOpenApi(z);
const UserSchema = z.object({
id: z.string().uuid().openapi({ example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }),
name: z.string().openapi({ example: "Jane Smith" }),
email: z.string().email().openapi({ example: "jane@example.com" }),
}).openapi("User");
const CreateUserSchema = UserSchema.omit({ id: true }).openapi("CreateUser");
// Register endpoint
registry.registerPath({
method: "post",
path: "/api/v1/users",
summary: "Create a user",
request: { body: { content: { "application/json": { schema: CreateUserSchema } } } },
responses: {
201: { description: "User created", content: { "application/json": { schema: UserSchema } } },
400: { description: "Validation error" },
},
});
```
## Avoid
- Writing OpenAPI YAML by hand — generate from Zod schemas or route definitions
- Missing error response documentation — document 400, 401, 403, 404, 500
- Generic examples like `"string"` or `0` — use realistic values that show the shape of real data
- Docs that drift from implementation — generate spec from the same schemas used for validationFrom YepAPI/skills, MIT.
More from YepAPI/skills
- 0.466score
cli-tools
YepAPI
Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
caching-strategy
YepAPI
Redis caching, CDN cache headers, stale-while-revalidate, cache invalidation, React Query.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
charts
YepAPI
Recharts/Chart.js data visualization — bar, line, area, pie charts.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
ab-testing
YepAPI
Experiment setup, variant splitting, statistical significance, and feature flag integration.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
admin-panel
YepAPI
CRUD generators, data tables, user management, role-based access, and bulk operations.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
ai-agents
YepAPI
Tool-use patterns, multi-step reasoning, agent orchestration, and structured outputs.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
ai-chatbot
YepAPI
Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
ai-visibility
YepAPI
Monitor what ChatGPT and Gemini say about your brand using YepAPI.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
analytics
YepAPI
Web analytics integration — event tracking, custom dashboards, privacy-first.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
animations
YepAPI
Framer Motion — transitions, scroll animations, layout animations.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
api-design
YepAPI
REST conventions, Zod validation, and consistent error formats.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
api-security
YepAPI
API security — strict CORS, rate limiting, payload limits, key rotation.
SkillDFreshness: D★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Apr 12, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/YepAPI/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from YepAPI
- 0.466score
ab-testing
YepAPI
Experiment setup, variant splitting, statistical significance, and feature flag integration.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
ai-visibility
YepAPI
Monitor what ChatGPT and Gemini say about your brand using YepAPI.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
admin-panel
YepAPI
CRUD generators, data tables, user management, role-based access, and bulk operations.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
ai-agents
YepAPI
Tool-use patterns, multi-step reasoning, agent orchestration, and structured outputs.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
ai-chatbot
YepAPI
Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
analytics
YepAPI
Web analytics integration — event tracking, custom dashboards, privacy-first.
SkillDFreshness: D★ 8Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get api-documentation running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
api-documentation skill. Agent Mart. https://agentmart.dev/skills/yepapi-api-documentation (last updated 2026-10-24)