
Rest Api Design
This gives you solid guidance for designing RESTful APIs, from resource naming to status codes to versioning strategies. It's useful when you're sketching out a new API or refactoring endpoints that have gotten messy. The quick start shows good versus bad patterns at a glance, which is honestly half the battle, and the reference guides cover the practical stuff like pagination, filtering, and OpenAPI documentation. The best practices section is opinionated in a helpful way, like reminding you not to nest resources more than two levels deep. It won't make architectural decisions for you, but it will keep you from common mistakes and give you a checklist when you're not sure if you're doing things the standard way.
- skills.sh installs
- 2.1K
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill rest-api-design --agent claude-codeInstalls into .claude/skills of the current project.
Files
REST API Design
Table of Contents
Overview
Design REST APIs that are intuitive, consistent, and follow industry best practices for resource-oriented architecture.
When to Use
- Designing new RESTful APIs
- Creating endpoint structures
- Defining request/response formats
- Implementing API versioning
- Documenting API specifications
- Refactoring existing APIs
Quick Start
Minimal working example:
✅ Good Resource Names (Nouns, Plural)
GET /api/users
GET /api/users/123
GET /api/users/123/orders
POST /api/products
DELETE /api/products/456
❌ Bad Resource Names (Verbs, Inconsistent)
GET /api/getUsers
POST /api/createProduct
GET /api/user/123 (inconsistent singular/plural)
Reference Guides
Detailed implementations in the references/ directory:
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Backend & APIs, Documentation, Code Review & Quality, AI & Agent Building, Design & UI/UX
- First seen
- Apr 16, 2026
More from aj-geddes/useful-ai-prompts
All 258- Architecture Diagrams2K
- Ansible Automation1.9K
- Ios Swift Development1.5K
- Nginx Configuration1.5K
- Android Kotlin Development1.5K
- Flask Api Development1.4K
- Wireframe Prototyping1.4K
- Markdown Documentation1.3K
- Terraform Infrastructure1.2K
- Responsive Web Design1.1K
- Penetration Testing1.1K
- Css Architecture969
- Api Contract Testing926
- Root Cause Analysis916
- Event Sourcing892
- Mobile First Design869
- Api Security Hardening868
- Mobile App Testing831
- Technical Specification811
- User Story Writing793
- Access Control Rbac763
- User Guide Creation762
- Kubernetes Deployment759
- Logging Best Practices742