Skip to content
cccskills
FreePublished on GitHub

api-docs

Generate or update API docs from source code. Scans endpoints, extracts methods, routes, params, responses. Trigger: API docs, swagger.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

API Documentation Generator

Escanea el código fuente para generar documentación de API.

Process

1. Detectar framework y rutas

FrameworkDónde buscar rutas
Gin (Go)engine.GET/POST/PUT/DELETE, Group()
Echo (Go)e.GET/POST/PUT/DELETE, Group()
Express (Node)router.get/post/put/delete, app.use()
Fastify (Node)fastify.get/post, route schemas
FastAPI (Python)@app.get/post, Pydantic models
Django RESTurlpatterns, ViewSets
NestJS@Get/@Post decorators, DTOs

2. Para cada endpoint extraer

  • Método HTTP (GET, POST, PUT, DELETE, PATCH)
  • Ruta con params (:id, {id})
  • Middleware/Guards (auth, roles requeridos)
  • Request body (struct/DTO/schema)
  • Query params
  • Response (struct de respuesta, status codes)
  • Descripción (del comentario o nombre del handler)

3. Generar documentación

# API Documentation — [Proyecto]
**Base URL:** `[detectado de config o .env]`
**Auth:** [Bearer JWT / API Key / etc.]
**Última actualización:** [fecha]

---

## [Módulo/Grupo]

### [METHOD] /api/v1/path/:param

**Descripción:** [qué hace]
**Auth:** [requerido/público] | **Roles:** [admin, coordinator]

**Path params:**
| Param | Tipo | Descripción |
|-------|------|-------------|

**Query params:**
| Param | Tipo | Required | Default | Descripción |
|-------|------|----------|---------|-------------|

**Request body:**
```json
{
  "field": "type — descripción"
}

Responses:

StatusDescripciónBody
200Éxito{ ... }
400Validación{ "error": "..." }
401No autenticado
404No encontrado


### 4. Tabla resumen

```markdown
## Resumen de endpoints

| Método | Ruta | Auth | Roles | Descripción |
|--------|------|------|-------|-------------|
| GET | /api/v1/users | Si | admin | Listar usuarios |
| POST | /api/v1/users | Si | admin | Crear usuario |

5. Output

  • Mostrar en pantalla
  • Guardar en docs/API.md si el usuario lo pide

Rules

  • Seguir la estructura real del código, no inventar endpoints
  • Si hay OpenAPI/Swagger existente → leerlo y actualizarlo en vez de crear uno nuevo
  • Agrupar endpoints por módulo/recurso
  • En español para descripciones
  • Incluir ejemplos de request/response cuando sea posible inferirlos del código

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill