Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Rest Api Design

  • 1.8k installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

rest-api-design is an agent skill for

About

The rest-api-design skill documents agent workflows from the repository SKILL.md. It covers when to Use when-to-use. Key workflows include quick Start quick-start. Design REST APIs that are intuitive, consistent, and follow industry best practices for resource-oriented architecture. Developers invoke rest-api-design when the task matches the triggers and reference files in SKILL.md for grounded, stepwise execution. Reference files and progressive disclosure keep context focused while preserving concrete commands, configuration fields, and validation checks copied from the upstream documentation. Reference files and progressive disclosure keep context focused while preserving concrete commands, configuration fields, and validation checks copied from the upstream documentation. Reference files and progressive disclosure keep context focused while preserving concrete commands, configuration fields, and validation checks copied from the upstream documentation. Reference files and progressive disclosure keep context focused while preserving concrete commands, configuration fields, and validation checks copied from the upstream documentation.

  • When to Use when-to-use
  • Quick Start quick-start
  • Reference Guides reference-guides
  • Best Practices best-practices
  • Designing new RESTful APIs

Rest Api Design by the numbers

  • 1,828 all-time installs (skills.sh)
  • +54 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #304 of 2,203 Security skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

rest-api-design capabilities & compatibility

Capabilities
when to use when to use · quick start quick start · reference guides reference guides · best practices best practices · designing new restful apis
Use cases
security audit · testing · debugging
From the docs

What rest-api-design says it does

Design RESTful APIs following best practices for resource modeling, HTTP
SKILL.md
methods, status codes, versioning, and documentation. Use when creating new
SKILL.md
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill rest-api-design

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.8k
repo stars305
Security audit3 / 3 scanners passed
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

What problem does rest-api-design solve for developers using the documented workflows?

The rest-api-design skill documents agent workflows from the repository SKILL.md. It covers when to Use when-to-use. Key workflows include quick Start quick-start. Design REST APIs that are intuitive

Who is it for?

Developers working with rest-api-design patterns described in the skill documentation.

Skip if: Skip when docs are empty or the task is outside the skill documented scope.

When should I use this skill?

Use when

What you get

Actionable rest-api-design guidance grounded in SKILL.md workflows and reference files.

  • Express route handlers
  • pagination response objects
  • validation and error-handling snippets

By the numbers

  • Includes a complete Express.js pagination example with page, limit, offset, and totalPages fields

Files

SKILL.mdMarkdownGitHub ↗

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:

GuideContents
Resource NamingResource Naming, HTTP Methods & Operations
Request ExamplesRequest Examples
Query ParametersQuery Parameters
Response FormatsResponse Formats
HTTP Status CodesHTTP Status Codes, API Versioning, Authentication & Security, Rate Limiting Headers
OpenAPI DocumentationOpenAPI Documentation
Complete Example: Express.jsconst express = require("express");

Best Practices

✅ DO

  • Use nouns for resources, not verbs
  • Use plural names for collections
  • Be consistent with naming conventions
  • Return appropriate HTTP status codes
  • Include pagination for collections
  • Provide filtering and sorting options
  • Version your API
  • Document thoroughly with OpenAPI
  • Use HTTPS
  • Implement rate limiting
  • Provide clear error messages
  • Use ISO 8601 for dates

❌ DON'T

  • Use verbs in endpoint names
  • Return 200 for errors
  • Expose internal IDs unnecessarily
  • Over-nest resources (max 2 levels)
  • Use inconsistent naming
  • Forget authentication
  • Return sensitive data
  • Break backward compatibility without versioning

Related skills

How it compares

Choose rest-api-design when you need Express route boilerplate and REST conventions; prefer OpenAPI-first generators when schema-driven codegen is already your source of truth.

FAQ

Who is rest-api-design for?

Developers and software engineers working with rest-api-design patterns described in the skill documentation.

When should I use rest-api-design?

When .

Is rest-api-design safe to install?

Review the Security Audits panel on this page before installing in production.

Securityappsec

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.