Agent skill · Backend & API

rest-api-design

RESTful API design principles, versioning, pagination, HATEOAS, and documentation.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill rest-api-design --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/web-development/skills/rest-api-design/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# REST API Design Skill Expert assistance for designing RESTful APIs following best practices. ## Capabilities - Design resource-oriented APIs - Implement proper HTTP methods and status codes - Configure API versioning strategies - Implement pagination patterns - Design error responses - Apply HATEOAS principles ## Usage Invoke this skill when you need to: - Design new REST APIs - Review existing API design - Implement pagination - Define error handling - Version APIs ## Design Principles ### Resource Naming ``` # Good - nouns, plural GET /api/users GET /api/users/123 GET /api/users/123/posts # Bad - verbs, actions in URL GET /api/getUsers GET /api/users/123/getPosts POST /api/createUser ``` ### HTTP Methods | Method | Usage | Response | |--------|-------|----------| | GET | Read resource | 200 OK | | POST | Create resource | 201 Created | | PUT | Replace resource | 200 OK | | PATCH | Partial update | 200 OK | | DELETE | Remove resource | 204 No Content | ### Pagination Response ```json { "data": [...], "meta": { "page": 1, "limit": 10, "total": 100, "totalPages": 10 }, "links": { "self": "/api/users?page=1", "next": "/api/users?page=2", "prev": null } } ``` ### Error Response ```j

What's inside
Steps it walks through
  1. Capabilities
  2. Usage
  3. Design Principles
  4. Resource Naming
  5. HTTP Methods
  6. Pagination Response
  7. Error Response
  8. Best Practices
  9. Target Processes
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the rest-api-design skill do?

RESTful API design principles, versioning, pagination, HATEOAS, and documentation.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill rest-api-design --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going