Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

api-designer

Declaración de origen

Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

Walks through designing REST or GraphQL APIs: model resources, define endpoints, write an OpenAPI 3.1 contract, lint and mock it, then plan versioning.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Models resources and relationships and sketches an entity diagram before any spec.
  • Writes an OpenAPI 3.1 specification and lints it with npx @redocly/cli lint.
  • Spins up a mock server with npx @stoplight/prism-cli mock to test the contract.
  • Designs RFC 7807 error responses, cursor pagination and a versioning and deprecation strategy.

Limitaciones y alcance

  • Produces designs and specifications, not a running API implementation.
  • Lint and mock steps rely on npx fetching Redocly and Prism packages, which needs network access and Node.js.
  • Framework-specific guidance is delegated to related skills rather than covered here.

Relevante para

  • Backend and platform engineers designing new APIs
  • Teams standardizing error formats and pagination
  • Reviewers evaluating an API contract

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
6
Archivos Markdown
6
scripts
0
referencias
5
Tamaño
59,6 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/api-designer/references/error-handling.mdReferencia11,3 KB
skills/api-designer/references/openapi.mdReferencia16 KB
skills/api-designer/references/pagination.mdReferencia9,4 KB
skills/api-designer/references/rest-patterns.mdReferencia7,3 KB
skills/api-designer/references/versioning.mdReferencia7,8 KB
skills/api-designer/SKILL.mdInstrucción7,8 KB

Frontmatter de SKILL.md

{
  "name": "api-designer",
  "description": "Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "api-architecture",
    "triggers": "API design, REST API, OpenAPI, API specification, API architecture, resource modeling, API versioning, GraphQL schema, API documentation",
    "role": "architect",
    "scope": "design",
    "output-format": "specification",
    "related-skills": "graphql-architect, fastapi-expert, nestjs-expert, spring-boot-engineer, security-reviewer"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Analyze the domain

    Understand business requirements, data models and client needs.

  2. 02
    Acción

    Specify the contract

    Create the OpenAPI 3.1 spec and lint it with Redocly before proceeding.

  3. 03
    Decisión

    Mock and verify

    Run a Prism mock server to test the contract, then plan versioning and deprecation.

  4. 04
    Salida

    Deliver the design package

    Provide the resource model, endpoint specs, OpenAPI YAML, auth flows, error catalog and lint result.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Elementos que requieren revisión

42 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesNo observado
Media

Network access is mentioned

28 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 28 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

14 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 14 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Review the npx commands it suggests before running them, since they download and execute third-party packages.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/api-designer # .claude/skills/api-designer
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/api-designer/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Confirm api-designer/SKILL.md exists at the destination, then ask Claude Code to use the api-designer skill on a small test task.

Requisitos previos

  • Produces designs and specifications, not a running API implementation.
  • Lint and mock steps rely on npx fetching Redocly and Prism packages, which needs network access and Node.js.
  • Framework-specific guidance is delegated to related skills rather than covered here.

Prompts de ejemplo

Representative task

Use the api-designer skill to design a REST API for an order-management service: model the resources, write an OpenAPI 3.1 spec with cursor pagination and RFC 7807 errors, and lint it.

Inspect before use

Read the api-designer skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/api-designer/SKILL.md and its referenced files. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Includes a copy-paste OpenAPI starter and an RFC 7807 error example.
  • Ends with a checklist that requires lint to pass with no errors.

Aspectos a considerar

  • Mandates pagination on all collections and a versioning policy, which may be heavy for internal prototypes.
  • Template defaults such as bearer JWT auth are illustrative and need adapting.
Conclusión de la investigación

A well-structured contract-first workflow for API design that is only as good as the domain input you give it.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/api-designer
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.