rest-api-endpoint-designer

Solid

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

API & Backend 9 stars 0 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
33
Recency 20%
90
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
6 months ago
Last Updated
3 weeks ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category