Retour au catalogue
Annoté par modèleDéveloppement

Dossier du skill

api-designer

Déclaration de la source

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 description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

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

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Annoté par modèle

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.

Portée de l'examen

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.

Capacités 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.

Limites et portée

  • 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.

Pertinent pour

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

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
6
Fichiers Markdown
6
scripts
0
références
5
Taille
59,6 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/api-designer/references/error-handling.mdRéférence11,3 KB
skills/api-designer/references/openapi.mdRéférence16 KB
skills/api-designer/references/pagination.mdRéférence9,4 KB
skills/api-designer/references/rest-patterns.mdRéférence7,3 KB
skills/api-designer/references/versioning.mdRéférence7,8 KB
skills/api-designer/SKILL.mdInstruction7,8 KB

Frontmatter du 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"
  }
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Entrée

    Analyze the domain

    Understand business requirements, data models and client needs.

  2. 02
    Action

    Specify the contract

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

  3. 03
    Décision

    Mock and verify

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

  4. 04
    Sortie

    Deliver the design package

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

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Éléments à examiner

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.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsNon observé
Moyen

Network access is mentioned

28 occurrences

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.

Note

File modification is described or implemented

14 occurrences

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.

Note de sécurité éditoriale

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

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

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

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
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.
Vérifier l'installation

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

Prérequis

  • 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.

Exemples de prompts

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.

Une conclusion, avec ses limites

Points forts

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

Points d'attention

  • 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.
Conclusion de recherche

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

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

Jeffallanclaude-skillsskills/api-designer
Type de source
Communauté
Commit
67c1961b180dc92cf08983344627109e983e8f51
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
MIT
Étoiles du dépôt
12 469
Base du contenu

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.