
from claude-code-handbook104
Guidelines and patterns for building robust REST APIs: correct HTTP status codes, RFC 7807 error responses, validation, sanitization, rate limiting, and central
This skill provides a concise, production-ready checklist and guidance for implementing REST APIs with correct status codes, RFC 7807-compliant error payloads, input validation and sanitization, rate limiting, request correlation IDs, and centralized error handling. It includes example code and middleware patterns to standardize API behavior.
Apply this skill when creating or reviewing API routes, building server-side handlers, adding validation and error handling, or hardening endpoints against abuse. Useful during code reviews, API design, and production readiness checks.
Applicable to Claude-based authors and developer-assistant agents (Claude Opus / Claude Code) and any agent that helps produce server-side code or audits API implementations.
A well-written REST API development guidelines skill covering HTTP status codes, RFC 7807 error responses, input validation, rate limiting, and anti-patterns. No bundled scripts — it's a pure reference skill with quality code examples and clear good/bad comparisons.
Clean reference skill. No security concerns. Good coverage of API best practices with practical TypeScript examples. Architecture could benefit from scripts/ or references/ directories for deeper examples.