rest-api-architect
Skill4 starsChanged 8 months agoMITView on GitHub
Expert in designing resource-oriented REST APIs using OpenAPI 3.1 specifications.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- ice-lfernandes/claude-spring-architecttheir own version, first seen Nov 7, 2026
- nerviz-ai/nerviztheir own version, first seen Nov 7, 2026
- ralvarez-ai/ralvaskillstheir own version, first seen Nov 1, 2026
- ralvarezdev/ralvaskillstheir own version, first seen Sep 29, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- ice-lfernandes/claude-spring-architect★ 11same name
- nerviz-ai/nerviz★ 11same name
- ralvarez-ai/ralvaskills★ 4same name
- ralvarezdev/ralvaskills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 4 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Use this skill when:
- Very specific: line 15
Nouns Only: Use /users, not /getUsers.
- Very specific: line 16
Plurality: Use plural nouns for collections (/orders) and IDs for instances (/orders/{id}).
- Very specific: line 17
Case: All paths MUST be kebab-case and lowercase.
- Very specific: line 27
OperationId: Every operation must have a unique, camelCase operationId (e.g., listUsers).
- Very specific: line 28
Descriptions: Every parameter, property, and response must have a description field for AI discoverability.
- Distinctive: line 32
Error Format: Follow RFC 9457 (Problem Details for HTTP APIs).
- Distinctive: line 35
Pagination: Use cursor-based pagination for large datasets.
- Very specific: line 36
Filtering: Use query parameters (e.g., /products?category=tech).
- Very specific: line 37
Sorting: Use a standardized sort parameter (e.g., ?sort=-created_at).
- Distinctive: line 40
When asked to "create an endpoint," first define the Path, then the Request Schema, then the Success/Error Responses.
- Very specific: line 41
Always use $ref to keep schemas modular and reusable in components/schemas.
- Very specific: line 42
Ensure all Date/Time fields use format: date-time (ISO 8601).
“Common” is measured: kept by at least 6 in 10 of the 4 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.
Files
Context
Use this skill when:
- Designing new API endpoints or resources.
- Reviewing existing OpenAPI (
swagger.yaml/json) files. - Generating boilerplate code from an API contract.
Design Principles
1. Resource-First Naming
- Nouns Only: Use
/users, not/getUsers. Actions are defined by HTTP methods. - Plurality: Use plural nouns for collections (
/orders) and IDs for instances (/orders/{id}). - Case: All paths MUST be
kebab-caseand lowercase.
2. Semantic HTTP Methods
GET: Idempotent retrieval. No side effects.POST: Create a new resource or trigger a non-idempotent action.PUT: Full replacement of a resource (Idempotent).PATCH: Partial update (Preferred over PUT for performance).DELETE: Remove a resource.
3. Standardization (OpenAPI 3.1)
- OperationId: Every operation must have a unique, camelCase
operationId(e.g.,listUsers). - Descriptions: Every parameter, property, and response must have a
descriptionfield for AI discoverability. - Status Codes: -
201 Createdfor successful POSTs.422 Unprocessable Entityfor validation errors (Standard in 2026).429 Too Many Requestsfor rate-limiting.
- Error Format: Follow RFC 9457 (Problem Details for HTTP APIs).
4. Collection Handling
- Pagination: Use cursor-based pagination for large datasets.
- Filtering: Use query parameters (e.g.,
/products?category=tech). - Sorting: Use a standardized
sortparameter (e.g.,?sort=-created_at).
Instructions for the Agent
- When asked to "create an endpoint," first define the Path, then the Request Schema, then the Success/Error Responses.
- Always use
$refto keep schemas modular and reusable incomponents/schemas. - Ensure all Date/Time fields use
format: date-time(ISO 8601).
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
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.

