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/maggit-apidoc
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: documents, 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/apidoc
What's inside
- Skill name
apidoc- Description
- Generate API documentation from code. Use when the user says /apidoc, asks to document an API, generate API docs, create endpoint documentation, or produce an OpenAPI/Swagger spec. Triggers: api doc, api documentation, endpoint docs, swagger, openapi, REST docs, API reference, document routes.
- License
- MIT
- Instructions
- 75 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# API Documentation Generator
Generate comprehensive API documentation from code.
## Workflow
1. **Identify the API framework:**
- Express, Fastify, Koa, Hono (Node.js)
- Flask, FastAPI, Django REST Framework (Python)
- Gin, Echo, Chi (Go)
- Actix, Axum (Rust)
- Spring Boot (Java)
- Or a raw OpenAPI/Swagger spec.
2. **Discover endpoints:**
- Scan route definitions, controllers, and handler files.
- For each endpoint, extract: method, path, parameters, request body, response, middleware/guards.
3. **For each endpoint, document:**
```markdown
### <METHOD> <path>
<Brief description>
**Authentication:** <Required/Optional/None>
**Parameters:**
| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| id | path | string | yes | Resource ID |
**Request Body:**
```json
{
"field": "type — description"
}
```
**Responses:**
| Status | Description |
|--------|-------------|
| 200 | Success — returns <shape> |
| 400 | Validation error |
| 401 | Unauthorized |
| 404 | Not found |
**Example:**
```bash
curl -X GET https://api.example.com/resource/123 \
-H "Authorization: Bearer <token>"
```
```
4. **Choose output format based on user preference:**
- **Markdown** — readable docs for a README or docs site.
- **OpenAPI 3.x YAML/JSON** — machine-readable spec for Swagger UI, Redoc, Postman.
- **Both** — generate both formats.
5. **If generating OpenAPI spec:**
- Include `info`, `servers`, `paths`, `components/schemas`.
- Derive schemas from TypeScript types, Pydantic models, or Go structs.
- Validate the spec with a linter if available.
## Guidelines
- Derive documentation from actual code, not guesses.
- Include realistic example values in request/response samples.
- Document error responses, not just happy paths.
- Group endpoints by resource or domain (e.g., Users, Products, Orders).
- Note rate limits, pagination, and versioning if present in the code.
- If auth middleware exists, document the auth mechanism.
- For GraphQL APIs, document queries, mutations, and subscriptions instead.From maggit/claude-workspace, MIT.
More from maggit/claude-workspace
- 0.409score
adr
maggit
Create Architecture Decision Records (ADRs).
SkillDFreshness: DClaude Code +9 - 0.409score
changelog
maggit
Generate a changelog from git history.
SkillDFreshness: DClaude Code +9 - 0.409score
completetodo
maggit
Mark TODO items as completed based on work done in the current session.
SkillDFreshness: DClaude Code +9 - 0.409score
createtodo
maggit
Create a TODO list in ContextDB/todos/.
SkillDFreshness: DClaude Code +9 - 0.409score
deadcode
maggit
Find and remove dead, unused, or unreachable code in a codebase.
SkillDFreshness: DClaude Code +9 - 0.409score
deps
maggit
Analyze, audit, and manage project dependencies.
SkillDFreshness: DClaude Code +9 - 0.409score
eng-spec
maggit
Generate an Engineering Specification.
SkillDFreshness: DClaude Code +9 - 0.409score
envcheck
maggit
Check environment setup, dependencies, and configuration for issues.
SkillDFreshness: DClaude Code +9 - 0.409score
explain
maggit
Explain code, architecture, or system behavior in detail.
SkillDFreshness: DClaude Code +9 - 0.409score
landing-page-copy
maggit
Write landing page copy.
SkillDFreshness: DClaude Code +9 - 0.409score
debug
maggit
Systematically debug issues in code.
SkillDFreshness: DClaude Code +9 - 0.409score
e2e
maggit
Generate end-to-end tests for applications.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 8, 2026 (8 months ago)
- Last release
- Feb 8, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/maggit/claude-workspace
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from maggit
- 0.409score
changelog
maggit
Generate a changelog from git history.
SkillDFreshness: DClaude Code +9 - 0.409score
completetodo
maggit
Mark TODO items as completed based on work done in the current session.
SkillDFreshness: DClaude Code +9 - 0.409score
createtodo
maggit
Create a TODO list in ContextDB/todos/.
SkillDFreshness: DClaude Code +9 - 0.409score
deadcode
maggit
Find and remove dead, unused, or unreachable code in a codebase.
SkillDFreshness: DClaude Code +9 - 0.409score
deps
maggit
Analyze, audit, and manage project dependencies.
SkillDFreshness: DClaude Code +9 - 0.409score
adr
maggit
Create Architecture Decision Records (ADRs).
SkillDFreshness: DClaude Code +9
Cite this page
apidoc skill. Agent Mart. https://agentmart.dev/skills/maggit-apidoc (last updated 2026-10-24)