Saltar al contenido
Skillpedia
Interfaces (UI/UX)48 mil · #3767

api-designer

Qué hace

Esta herramienta crea un plan detallado de cómo distintas partes del software pueden comunicarse entre sí a través de internet (llamados endpoints de API REST). Define qué hace cada 'puerta' de comunicación, qué información envía y recibe, y cómo gestionar los errores.

Cuándo usarla

  • ✓Cuando necesitas planificar cómo se comunicará tu aplicación con otros servicios.
  • ✓Cuando creas la estructura básica de un sistema o una función nueva.
  • ✓Para definir los puntos de entrada de datos de un sitio web o una aplicación.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-designer/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-designer/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea los endpoints de API REST para un sistema sencillo de gestión de tareas, con usuarios, tareas y comentarios.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA analiza la descripción de tu sistema y crea una lista de 'puertas' (endpoints) que tu software puede usar. Para cada una, detalla cómo llamarla (método y ruta), qué enviar (cuerpo de la petición), qué respuesta esperar si todo sale bien (respuesta de éxito) y los posibles errores.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/references/domains.md
  • <support-root>/references/testmu_example.md

Obtain the required material from the declared upstream source, or from a user-provided installation of that source. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

API Designer Skill

When to Use

Use this skill when you need generates complete, production-ready REST API endpoint specifications for any system or domain the user describes. Use this skill whenever the user asks about API design, API endpoints, REST APIs, API URLs, or says things like "what endpoints do I need for...", "design an API for...",...

You are an expert API architect.

Ask the user if they want just the endpoints or complete detailed response (Enpoints Only/Detail Design). Do not ask these options if the user has specified the details of his requirement in the input already. If the user says Endpoints Only:

  • Output only the endpoints If the user says Detail Design:
  • Output complete design as the structure described in this skill.

Output Format

First list down all the endpoints one after another as output then expand each in this exact structure for each endpoint group (resource):


RESOURCE NAME

METHOD /path/to/endpoint

Short description of what this endpoint does. Not more than two lines.

Headers

Header Value Required
Content-Type application/json Yes
Authorization Bearer <token> Yes/No
X-Api-Key <api-key> Yes/No
(add others as relevant)

Request Body (omit for GET/DELETE if no body)

{
  "field": "type — description",
  "field2": "type — description"
}

Success Response — STATUS_CODE Description

{
  "field": "value or type"
}

Error Codes

Code Meaning
400 Bad Request — invalid or missing fields
401 Unauthorized — missing or invalid token
403 Forbidden — insufficient permissions
404 Not Found
409 Conflict — e.g. duplicate resource
422 Unprocessable Entity — validation failed
500 Internal Server Error

Rules for Output

  1. Cover all major resources for the described system. Infer resources if the user doesn't list them.
  2. Always include CRUD (Create, Read, Update, Delete) where applicable, plus domain-specific actions.
  3. Use RESTful conventions: plural nouns for collections, nested paths for relationships (e.g. /hotels/{id}/rooms).
  4. Auth: Default to Bearer token (JWT) for protected routes. Add API key header where relevant (e.g. third-party integrations). Mark public endpoints clearly.
  5. Request body: Show realistic JSON with field names, types, and brief descriptions. Mark required vs optional fields in comments.
  6. Responses: Show the success response shape with realistic fields. Always include the HTTP status code.
  7. Error codes: List the relevant subset per endpoint — don't always paste all 7. Use judgement.
  8. Pagination: For list endpoints, include query params (page, limit, sort, filter) and wrap responses in a paginated envelope.
  9. Versioning: Prefix all paths with /api/v1/ unless the user specifies otherwise.
  10. Group endpoints by resource (e.g. "Authentication", "Hotels", "Rooms", "Bookings", "Payments", "Reviews").

Pagination Envelope (for list endpoints)

{
  "data": [...],
  "pagination": {
    "total": 100,
    "page": 1,
    "limit": 20,
    "totalPages": 5
  }
}

Common Auth Patterns

Choose based on context:

Scenario Auth Method
User-facing apps Authorization: Bearer <JWT>
Server-to-server X-Api-Key: <key>
Public endpoints No auth header needed

…

Preguntas frecuentes

¿Qué es un endpoint de API REST?

Es como una dirección concreta en internet que un programa usa para pedir o enviar información a otro programa. Por ejemplo, una dirección para 'listar todas las tareas' o 'crear una tarea nueva'.

¿Qué significa 'listo para producción'?

Significa que el plan creado por la IA sigue las mejores prácticas y está preparado para usarse en un sistema real, de forma segura y eficiente.

¿La IA puede escribir el código de la API?

No, esta herramienta solo crea el 'plan' o la 'especificación' de cómo debe funcionar la API. El código real tiene que escribirlo un programador.

Detalles

Descripción original del autor

Generates complete, production-ready REST API endpoint specifications for any system or domain the user describes.

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#3767
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas