SkillPack
← Catalog
proapibackendhttp

API Design

Design HTTP APIs with stable resources, error shapes, pagination, and idempotency.

API Design Use this skill when adding or changing HTTP endpoints in a Next.js App Router app. Goal Stable resources, boring errors, and handlers that fail closed. Prefer route handlers under app/api. Method 1. Name the resource (/api/checkout, /api/auth/login), not the verb (/api/doCheckout). 2. Use POST for actions that create sessions or side effects. Do n…

This is a Pro skill

Upgrade to read the full playbook, then copy it or download the .md into Cursor, Claude Code, or Codex.