rest-patterns

Define REST API endpoint patterns covering HTTP methods, status codes, caching headers, and error formats.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/CodingHeader/MySkills --skill rest-patterns-codingheader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rest-patterns
Source: https://github.com/CodingHeader/MySkills/tree/main/Skillstore/rest-patterns/0xdarkmatter-rest-patterns
Command: npx skills add https://github.com/CodingHeader/MySkills --skill rest-patterns-codingheader

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provide REST API design patterns for reliable endpoint construction.

Core Features & Use Cases

  • Reference patterns for HTTP methods, idempotence, and status codes.
  • Guidance on caching headers, rate limiting, and versioning.
  • Use Case: when designing a new API, apply these patterns to ensure consistent semantics and good performance.

Quick Start

Consult this guide to design a new REST endpoint by applying the correct HTTP methods, status codes, and caching rules.

Frequently Asked Questions about rest-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What HTTP status codes should I use for REST API error handling?

REST API error handling requires mapping HTTP status codes to specific error formats to standardize responses. This Skill provides concrete mappings for status codes and error formats, ensuring consistent API semantics across public and internal endpoints.

How do I design REST API endpoints with correct HTTP methods and idempotence?

Designing REST API endpoints requires applying correct HTTP methods and understanding idempotence for reliable construction. This Skill specifies concrete mappings for HTTP methods, ensuring consistent semantics and standardized endpoint design.

What caching headers and rate limiting patterns should I apply to my REST API?

Caching headers and rate limiting patterns optimize REST API performance and prevent abuse. This Skill provides reference guidance on configuring caching headers and implementing rate limiting to ensure good API performance.

Does this REST API design guidance cover versioning for public and internal APIs?

REST API design guidance covers versioning strategies applicable to both public and internal APIs. This Skill includes patterns for API versioning alongside HTTP semantics, caching, and error formats to standardize the entire API design process.

What is the best way to standardize REST API design for consistent semantics?

Standardizing REST API design involves applying consistent patterns for HTTP methods, status codes, and caching rules. This Skill offers reference patterns to ensure reliable endpoint construction and uniform semantics across new API projects.