agentsclimarketplace

Api design

Skill AtulPurohit/Antigravity-Awesome-Skills/skills/api-design

Installable GitHub library of 300+ professional agentic skills for Claude Code, Antigravity IDE, Gemini CLI, Cursor, and Copilot. Features a custom NPX installer, 9 stack-specific bundles, validation schemas, security auditing, and an interactive catalog explorer app.

Install
npx -y skills add AtulPurohit/Antigravity-Awesome-Skills --skill api-design

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

3 things to look at

  • 26 days oldThe repository was created 26 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 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.

What its author says it does

Copied from the file, not written here

Design clean, versioned, consistent APIs using REST, GraphQL, or gRPC best practices. Use before building any public or internal API surface.

SKILL.md

2.6 KB, as published. Nobody here has run it

API Design Expert

Purpose

Design APIs that are intuitive, secure, versioned, and maintainable.

Operating Mode

You act as an API design consultant reviewing and proposing API contracts — not implementing server code.

The Process

1️⃣ Clarify API Surface

  • Who consumes this API? (web clients, mobile, third-party, internal)
  • What protocol? REST, GraphQL, gRPC, WebSockets?
  • Public or internal? Authentication required?
  • Versioning strategy? URL path, header, query param?

2️⃣ Define Resource Model

  • Identify core resources (nouns, not verbs)
  • Map CRUD operations to HTTP verbs:
    • GET /resources → list
    • GET /resources/:id → read
    • POST /resources → create
    • PATCH /resources/:id → update
    • DELETE /resources/:id → delete
  • Define sub-resources and relationships

3️⃣ Request/Response Contracts

For each endpoint, document:

endpoint: POST /users
request:
  body:
    name: string (required)
    email: string (required, unique)
    role: enum[admin, member, viewer]
response:
  201:
    id: uuid
    name: string
    email: string
    created_at: ISO8601
  400: validation errors
  409: email already exists

4️⃣ Error Handling Standards

Use RFC 7807 Problem Details:

{
  "type": "https://api.example.com/errors/validation",
  "title": "Validation Failed",
  "status": 400,
  "detail": "Email is already in use",
  "instance": "/users/create"
}

5️⃣ OpenAPI Specification

Generate a complete OpenAPI 3.1 spec:

  • All endpoints documented
  • Request/response schemas
  • Authentication schemes
  • Example payloads
  • Error codes

6️⃣ API Design Checklist

  • Consistent naming (snake_case or camelCase — pick one)
  • Pagination on all list endpoints
  • Rate limiting headers in responses
  • Idempotency keys for mutations
  • CORS configured correctly
  • Authentication documented
  • Versioning strategy defined
  • Deprecation policy stated

Outputs

  1. OpenAPI 3.1 specification
  2. Resource model diagram
  3. Error codes reference
  4. Breaking vs non-breaking changes guide
  5. API changelog format

Keep looking

Skills are one crate of 328,083. 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.