Skip to content

Guide · Agent skill

How to use the API Designer agent skill: setup and examples

Updated · written with AI from the project's own documentation and checked against our catalogue data

The api-designer skill is a set of instructions and reference notes that makes an AI agent work like a senior API architect when you ask it to design a REST API or write an OpenAPI specification. This guide explains what the skill does, how to install it from the ZIP on our page, how to trigger it with plain requests, and what it needs to run. By the end you will be able to load the skill and get a structured API design you can review with a developer.

API DesignerJeffallan/claude-skills · MIT

Quick start

  1. 1Download the ZIP. Download the ZIP for skills/api-designer from our page.
  2. 2Unzip into the skills folder. Unzip it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder.
  3. 3Or upload in the Claude apps. Go to Settings → Capabilities → Skills and upload the ZIP.
  4. 4Describe your API domain. Ask for an API design and give the entities, clients and authentication needs.
  5. 5Review the OpenAPI spec. Check the generated OpenAPI 3.1 YAML, resource model and endpoints.
  6. 6Validate and mock. Run npx @redocly/cli lint openapi.yaml, then npx @stoplight/prism-cli mock openapi.yaml if you have Node.js.

What the api-designer skill makes the agent do

Once installed, the agent follows a fixed sequence when you ask it to design an API: it analyzes the domain, models resources, defines endpoints, writes an OpenAPI 3.1 specification, validates and mocks it, and plans versioning and deprecation.

The skill also loads reference notes on REST patterns, versioning, pagination, error handling (RFC 7807) and OpenAPI, so the output follows consistent conventions such as resource-oriented URIs and a single error format.

  • Resource modeling and relationships
  • Endpoint URIs, HTTP methods and request/response schemas
  • An OpenAPI 3.1 specification in YAML
  • Pagination, error and versioning guidance

How to install the api-designer skill

Download the ZIP file for skills/api-designer from our page. Then choose one of the two installation options below.

For a personal install, unzip the file into ~/.claude/skills/. For a single project, unzip it into the project's .claude/skills/ folder. Alternatively, in the Claude apps go to Settings → Capabilities → Skills and upload the ZIP there.

  • Personal: ~/.claude/skills/
  • Project only: .claude/skills/ inside your project
  • Claude apps: Settings → Capabilities → Skills, then upload the ZIP

How to trigger the skill with natural requests

You do not need a special command. The skill is meant to be invoked when your request involves designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Requests that mention resource modeling, versioning strategies, pagination patterns or error handling standards are the best matches.

Give the agent context: the business domain, the main entities, who the clients are and any authentication needs. The more concrete the domain, the more specific the resulting design.

  • "Design a REST API for a library system with books, members and loans."
  • "Write an OpenAPI 3.1 spec for our order service and include cursor pagination."
  • "Plan versioning and deprecation for our existing customers API."
  • "Standardise error responses across our services using RFC 7807."

What the skill needs and the safety notes

The design work itself needs nothing beyond the skill. The suggested validation and mock commands use Node.js and npx to run @redocly/cli and @stoplight/prism-cli, so Node.js must be installed if you want to run those checks.

The skill does not run scripts and does not use the network, according to its listing. Review the output before you rely on it, because the specification is a draft that a developer should check.

  • Required for validation and mocking: Node.js with npx
  • Runs scripts: no
  • Uses network: no
  • Output still needs developer review
npx @redocly/cli lint openapi.yaml npx @stoplight/prism-cli mock openapi.yaml

Example workflow: from request to validated spec

A typical session starts with a domain description. The agent works through its sequence and produces a resource model, endpoint list and an OpenAPI 3.1 file. You can then ask it to lint the file with the Redocly command and to start a Prism mock server so clients can test against the contract.

Ask for the error catalog and versioning plan in the same request so the design stays consistent. The skill's output checklist expects a resource model, endpoint specifications, authentication flows, an error catalog, pagination patterns and a versioning strategy.

Tips for better results

Name the conventions you want, such as snake_case or camelCase, because the skill asks you to pick one and apply it everywhere. State your pagination preference (cursor, offset or keyset) if you have one.

Use the reference notes as a checklist when you review the output. The skill's rules say to avoid verbs in URIs, return consistent response structures and document authentication and rate limiting.

  • State your naming convention up front
  • Specify pagination and authentication needs
  • Review rate limiting and deprecation policy before sign-off

What people use it for

  • Drafting an OpenAPI contract for a new REST service before any backend code is written
  • Standardising pagination and error responses across several services
  • Planning versioning and a deprecation path for an existing public API
  • Producing a resource model and endpoint list to discuss with a product team

Frequently asked questions

How do I install the api-designer skill?

Download the ZIP for skills/api-designer from our page. Unzip it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder, or upload it under Settings → Capabilities → Skills in the Claude apps.

What do I need to run the api-designer skill?

The design work needs nothing beyond the skill itself. The suggested lint and mock commands require Node.js and npx to run @redocly/cli and @stoplight/prism-cli.

Does the api-designer skill run scripts or use the network?

According to its listing, the skill does not run scripts and does not use the network.

Can it write the server code for my API?

No. The skill focuses on design and specification, not on generating server code for a framework. Its output still needs a developer to review and implement.

Does it support GraphQL schema design?

The description mentions GraphQL, but the included reference files cover REST, OpenAPI, versioning, pagination and errors rather than GraphQL schema design. For deep GraphQL schema work, the skill's related-skills list names graphql-architect.

Is the api-designer skill free to use?

The skill is released under the MIT licence, as stated on the listing. Check the licence file in the ZIP for the full terms.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

The api-designer skill suits backend developers and teams who want a consistent REST or OpenAPI design drafted and validated before implementation. It is not a fit if you need working server code, GraphQL schema depth, or a finished product for non-technical users; in those cases pick a framework-specific or GraphQL-focused tool.

Download the skill