rest-api-endpoint-designer

Solid

Designs RESTful API endpoints following OpenAPI spec and industry best practices.

API & Backend 9 stars 1 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
33
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# REST API Endpoint Designer ## What this skill does This skill directs the agent to design RESTful API endpoints for a given resource or feature — including URL structure, HTTP methods, request/response schemas, status codes, and error formats. It outputs a complete OpenAPI 3.1 YAML snippet that can be dropped directly into your API spec, along with implementation notes. Use this when starting a new API resource, reviewing an existing endpoint design, or when you want a second opinion on naming conventions and status code choices. ## How to use ### Claude Code / Cursor / Codex Copy this file to `.agents/skills/api-endpoint-designer/SKILL.md` in your project root (for Claude Code), or add the instructions to your `.cursorrules` (for Cursor). Then ask: - *"Design the REST endpoints for a blog post resource using the REST API Endpoint Designer skill."* - *"I need CRUD endpoints for a `team-members` resource. Use the REST API Endpoint Designer skill."* Provide the resource name, any existing conventions in your API (e.g., base path, auth method), and any fields the resource should have. ## The Prompt / Instructions for the Agent When asked to design REST API endpoints, follow these rules: ### 1. URL naming conventions - Use **plural nouns** for resource collections: `/users`, `/orders`, `/blog-posts` - Use **kebab-case** for multi-word resources: `/blog-posts`, not `/blogPosts` - Use path parameters for specific resources: `/users/{userId}` - Use **nested resources**...

Details

Author
Notysoty
Repository
Notysoty/openagentskills
Created
5 months ago
Last Updated
6 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

rest-api-design

Expert guide for designing and reviewing REST APIs. Use this skill whenever the user: is adding, designing, or renaming an HTTP endpoint or resource; asks what HTTP method or status code to use; is shaping a request or response payload, an error format, or a validation-error response; is adding pagination, filtering, sorting, or bulk operations to a collection endpoint; is versioning an API, planning a breaking change, or deprecating a field/endpoint; is adding authentication, authorization, rate limiting, or reviewing an endpoint for security issues (IDOR, mass assignment, enumeration); is writing, editing, or linting an OpenAPI/Swagger spec; or is reviewing/auditing an existing API for RESTful consistency. Also use when the user says things like "design the API for X", "is this endpoint RESTful?", "what status code should I return here", or "review my API" — even if they don't say "REST" explicitly.

1 Updated today
eagerworks
AI & Automation Listed

api-design

Use when designing APIs, planning endpoints, REST conventions, versioning, or deprecation — even when the user just says 'expose this as an endpoint' without naming API design.

7 Updated today
event4u-app
API & Backend Listed

api-design

This skill should be used when designing or building an API — endpoints, routes, request/response shapes, error formats, pagination, versioning, or deciding REST vs GraphQL. Trigger phrases include "design the API", "build an endpoint", "REST or GraphQL", "how should I structure my routes", "API error format", "paginate results", "version my API", "validate env vars", "idempotency", "what should this endpoint return". It applies proven REST conventions and a clear REST-vs-GraphQL decision, with env-config validation.

1 Updated 2 days ago
MartinOlivero