agentsclimarketplace

Api design first

Skill vaibhavsaxena022/skills/api-design-first

Design a REST API contract before implementing it. Use when adding a new API or resource. Defines resources, endpoints, request/response shapes, status codes, errors, and versioning up front, then confirms before any code.From its SKILL.md

Install
npx -y skills add vaibhavsaxena022/skills --skill api-design-first

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.3 KB, 181 tokens by cl100k_base, as published. Nobody here has run it

API Design First

Agree on the contract before writing the implementation.

Steps

  1. Model the resource(s) and their lifecycle.
  2. Define the endpoints: verb + path, purpose, auth, idempotency.
  3. Specify request/response DTOs with types and required/optional fields.
  4. Define status codes per endpoint and the shared error response shape.
  5. Address pagination, filtering, versioning, and rate limits where relevant.
  6. Present the contract (or an OpenAPI sketch) for confirmation before implementing.

Rules

  • Nouns for resources, plural collections, correct HTTP verbs.
  • Design for evolution: additive changes by default; explicit versioning for breaking ones.
  • Consistent naming, error shape, and pagination across all endpoints.
  • Never expose internal entities directly — use DTOs.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.