Logotipo de Design Api Review

Design Api Review

Comunidad
paraskakis
design-api-review

Review an OpenAPI specification against API standards and OpenAPI best practices. Point it at a spec — a path on disk, a URL, or a GitHub repo — and it reviews against its own bundled standards and best practices unless you supply yours. Produces a divergence report (verdict per standards section, each finding citing the rule it breaks) for the user to review; fixes are applied only after the user decides. Use when user says "/design-api-review" or asks to review, audit, or check an OpenAPI spec against standards. The spec is the only required input. Does not generate a spec (that is `design-api-spec`) and does not review implementation code.

Descripción general

Editorparaskakis
Repositorioskills
Nombre de la habilidaddesign-api-review
Estrellas
44
Forks
8
Archivos incluidos
2
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 2 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por paraskakis en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Design Api Review en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/paraskakis/skills/tree/main/api/design-api-review
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/paraskakis/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/api/design-api-review .claude/skills/design-api-review
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Design Api Review en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Design Api Review automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Design Api Review no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

API Design Review

Review an existing OpenAPI specification against an API standards file and an OpenAPI best practices file, and report every divergence with a citation to the exact rule it breaks. This is the fourth skill in Emmanuel Paraskakis's method for designing APIs with LLMs: design-api (end-to-end) → design-api-stories (requirements → stories) → design-api-spec (stories → spec) → design-api-review (spec → standards-compliance verdict). Use it on specs produced outside the method (hand-written, generated by another tool, inherited), on old specs after the standards evolve, or as an independent check on a freshly generated spec.

Review first, fix after. The deliverable is the divergence report. Do not modify the spec until the user has seen the report and said which findings to fix — some divergences are deliberate design decisions, and only the user can tell.

Scope and Routing

Triggering is defined in the frontmatter description. In scope: reviewing an existing OpenAPI spec — supplied as a path, a URL, or a GitHub repo — against a standards ruleset and an OpenAPI best-practices ruleset, defaulting to the bundled ones. Out of scope: generating a spec (use design-api-spec) and reviewing implementation code.

Inputs

Only the spec is required. Ask for it in one line. Do not open a negotiation about the other inputs — they have defaults.

Point me at the OpenAPI spec — a path on disk, a URL, or a GitHub repo. I'll review it against my own standards and OpenAPI best practices, unless you'd rather give me yours.

  1. The OpenAPI spec under review (required) — JSON or YAML, any 3.x version. Accept a path on disk, a URL to fetch, or a GitHub repo to find it in. Given a repo rather than a file, locate the spec and name the file you picked before reviewing it.
  2. API Standards (optional) — the conventions ruleset. Defaults to references/examples/API-standards.md. A user-supplied file supersedes it; identify it by a heading like # API Standards or # Style Guide.
  3. OpenAPI Best Practices (optional) — document-quality ruleset. Defaults to references/examples/OpenAPI-best-practices.md. A user-supplied file supersedes it; identify it by a heading like # OpenAPI Best Practices.
  4. Domain model and/or stories (optional) — when provided, also check the spec tells the truth about the domain (property names, enums, relations).

Identify any supplied file by its # Title heading or content, not by filename. Never ask for a ruleset the user did not mention — state which rulesets you used at the top of the report and proceed. If no spec is given, ask for it and stop.

Bundled Rulesets

references/examples/ holds the two default rulesets: API-standards.md and OpenAPI-best-practices.md. No sample spec is bundled — the spec always comes from the user.

Step 1: Read Everything

Read the spec and both rulesets completely. Build the checklist FROM the rulesets you were given, not from memory — the files win over anything you believe about API design, and they evolve. For every numbered rule in the standards and best practices, ask: does the spec comply, diverge, or is the rule not applicable?

Step 2: Sweep the Spec Against Every Standards Section

Walk the standards file section by section (typical sections below — use whatever sections the provided file actually has):

  • Casing — one convention per surface: JSON fields, query params, path segments and template params, headers, enum values. Check EVERY field, parameter, and path in the spec against the table.
  • Naming — standard vocabulary (createdAt not creationDate, bare-adjective booleans), no invented language, no over-qualification, industry-standard terms.
  • Paths & Resources — no /api or /v1 base unless specified, no trailing slashes, pluralized resources, nesting depth, item-level operations flat, every collection has a list endpoint.
  • Methods & Status Codes — 201+Location for creation, 204 for DELETE, PUT over PATCH, correct 400 vs 409, 401 vs 403, 404 semantics (never for an empty collection), 429, 500.
  • IDs & References — UUID default (deviations must be justified in the spec), <resource>Id reference fields, no URLs as references, credentials never in URLs.
  • Properties — standard attributes (id, createdAt, updatedAt) unless justified, enums over strings, open-enum tolerance, no null emission without meaning.
  • Requests & Responses — JSON only, wrapper on every collection (data + meta), totalCount present, focused response shapes, money as decimal string + currency.
  • Query Parameters & Pagination — camelCase matched case-insensitively, field=value filters, comma-separated multi-values, offset/limit with documented default and max, stable default sort, no cursor pagination unless required.
  • Errors — RFC 9457 Problem Details on application/problem+json, standard fields, field-level errors array for validation, one-try recovery quality of title/detail.
  • Rate Limiting — the headers the standards mandate, on the responses they mandate; Retry-After on 429.
  • Security — auth scheme matches the standards' allowed list (e.g. Bearer, never X-Api-Key, never Basic, never credentials in URLs), 401 defined for every authenticated operation, 403 where permissions apply.
  • Versioning & Deprecation — no version in path unless justified, deprecation headers plan if anything is deprecated.

Then sweep the best-practices file the same way (descriptions and examples everywhere, summaries + operationIds, tags, contact/license/servers, components extraction, no inline schemas, no orphans, map-structure integrity, absolute URIs, semantic completeness of operation descriptions — including whatever agent-readiness rules the file contains).

Step 3: Classify Every Finding

Three verdicts, one per finding:

  • DIVERGES — breaks a rule with no stated justification. Cite the rule (section + number), show the offending spec location, propose the concrete fix.
  • DELIBERATE — breaks a rule but the spec documents why (in a description, or the user has said so). Cite both the rule and the justification. These are surfaced, not fixed — the user may still overrule.
  • UNJUSTIFIED-DELIBERATE — the spec deviates in a way that looks intentional but carries no documented reason. The fix may be either changing the spec OR documenting the reason — user's call.

Do not pad the report: full compliance with a section is one line ("Casing: compliant"), not a table of everything that's fine.

Step 4: Report

Deliver the report in this shape:

## API Design Review: [spec title] v[version]

**Spec:** [path / URL / repo + file you picked]
**Reviewed against:** [standards file] + [best-practices file] — [bundled defaults | supplied by user]

**Verdict: [COMPLIANT | N divergences (X to fix, Y deliberate, Z to decide)]**

### Diverges (proposed fixes)
1. [Location] breaks [Standards § / rule N]: [what] → fix: [concrete change]

### Deliberate (documented, no action unless overruled)
1. [Location] deviates from [rule]: [the documented justification]

### Needs a decision
1. [Location]: [the deviation, the two options]

### Compliant sections
[one line listing them]

Order findings by severity: security and error-contract issues first, naming/cosmetic last.

Step 5: Fix (only after user review)

When the user says which findings to fix, apply them to the spec, then:

  1. Re-validate JSON and $ref integrity.
  2. If RMOA_API_KEY is available, re-lint with RateMyOpenAPI (see the design-api-spec skill, "Lint with RateMyOpenAPI") and confirm the score did not regress.
  3. Show a diff-level summary of what changed.

Key Principles

  1. The rulesets in play are the law. Review against the files you actually loaded — the user's when supplied, the bundled defaults otherwise — never against memorized API lore. If the standards file and your instincts disagree, the file wins. Name the rulesets in the report so the reader knows which law was applied.
  2. Cite or it didn't happen. Every finding names the exact rule it breaks. A finding that can't cite a rule is an opinion — leave it out or label it explicitly as a suggestion.
  3. Deliberate deviation is legitimate. Standards themselves permit deviation with good reason. The review's job is to make every deviation visible and justified, not to enforce uniformity.
  4. Report before repair. The user decides what gets fixed. Never silently "improve" a spec while reviewing it.
  5. The spec is the contract. In spec-first workflows the implementation follows the spec, so a spec error becomes a code error. Review severity reflects that.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Design Api Review?

Review an OpenAPI specification against API standards and OpenAPI best practices. Point it at a spec — a path on disk, a URL, or a GitHub repo — and it reviews against its own bundled standards and best practices unless you supply yours. Produces a divergence report (verdict per standards section, each finding citing the rule it breaks) for the user to review; fixes are applied only after the user decides. Use when user says "/design-api-review" or asks to review, audit, or check an OpenAPI spec against standards. The spec is the only required input. Does not generate a spec (that is `desig...

¿Por qué usar Design Api Review en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Design Api Review está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Design Api Review en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/paraskakis/skills/tree/main/api/design-api-review. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Design Api Review?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Design Api Review?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Design Api Review con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Design Api Review?

Sí. paraskakis la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇