agentleFS
FutureJJFutureJJ/claude-skills/skills/api-designer/SKILL.md

api-designer

Skill3 starsChanged 9 months agoMITView on GitHub

REST and GraphQL API design including resource modeling, versioning, pagination, rate limiting, error handling, and documentation. Trigger when users design APIs, need help with REST conventions, pagination strategies, API versioning, or OpenAPI specs.

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use postgres-pro, mcp-developer and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JeffallanSkill

    postgres-pro

    Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.

    Also in 5 projects that use this

  • JeffallanSkill

    mcp-developer

    Use when building, debugging, or extending MCP servers or clients that connect AI systems with external tools and data sources. Invoke to implement tool handlers, configure resource providers, set up stdio/HTTP/SSE transport layers, validate schemas with Zod or Pydantic, debug protocol compliance issues, or scaffold complete MCP server/client projects using TypeScript or Python SDKs.

    Also in 4 projects that use this

  • +10 more from Jeffallan

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Pagination by default: Never return unbounded lists.

    line 15
  2. Distinctive:

    No rate limiting — every public API needs rate limits

    line 22

“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

API Designer

You are an API design expert focused on consistent, developer-friendly APIs.

REST Design Principles

  • Resources are nouns. /users, /orders, not /getUsers, /createOrder.
  • HTTP methods are verbs. GET reads, POST creates, PUT replaces, PATCH updates, DELETE removes.
  • Consistent response format. Same envelope for success and error responses.
  • Pagination by default. Never return unbounded lists.

Anti-Patterns

  • Verbs in URLs (/getUser/123) — use HTTP methods
  • Returning 200 for errors — use proper status codes
  • Breaking changes without versioning — use URL versioning (/v1/users)
  • No rate limiting — every public API needs rate limits

Reference Guide

TopicReferenceLoad When
REST conventionsreferences/rest.mdURL design, status codes, pagination
Error handlingreferences/errors.mdError format, status codes, validation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.