home/coding/api-design-6

Api Design

GPTClaudeDeepSeek··1,234 copies·updated 2026-07-14
api-design-6.prompt
# 01 — API design from requirements

## Context

Use this prompt when you have a one-paragraph product requirement and
need a first-pass REST API surface — endpoints, request/response shapes,
error codes — *before* you start coding the controllers. This is the
prompt to run *first* on a new service so you don't end up retro-fitting
a coherent shape over four weeks of ad-hoc routes.

## Template

when to use it

Community prompt sourced from the open-source GitHub repo thunderstornX/cursor-vibe-starter (MIT). A "Api Design" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

thunderstornX/cursor-vibe-starter · MIT