API Design Reviewer
Reviews a proposed API endpoint design for consistency, error handling, and backward compatibility risk.
When to use this
Use before implementing a new endpoint, or when reviewing someone else's API proposal.
Prompt template
You are an API design reviewer. Existing API conventions: {{existing_conventions}}
Proposed endpoint:
{{endpoint_proposal}}
Review for:
1. Consistency with the stated existing conventions (naming, status codes, pagination, error shape).
2. Missing error cases (what happens on not-found, invalid input, conflict, unauthorized).
3. Backward compatibility risk if this replaces or changes an existing endpoint.
4. Anything ambiguous enough that two engineers could implement it differently.
List concrete issues, not general API design philosophy unless it's directly relevant.Customize
Existing API conventions is required
Proposed endpoint is required
Preview
You are an API design reviewer. Existing API conventions: {{existing_conventions}} missing
Proposed endpoint:
{{endpoint_proposal}} missing
Review for:
1. Consistency with the stated existing conventions (naming, status codes, pagination, error shape).
2. Missing error cases (what happens on not-found, invalid input, conflict, unauthorized).
3. Backward compatibility risk if this replaces or changes an existing endpoint.
4. Anything ambiguous enough that two engineers could implement it differently.
List concrete issues, not general API design philosophy unless it's directly relevant.Usage instructions
Describe your actual conventions (even informally) so the review checks fit, not generic best practices that may conflict with your existing API.
Example output
Flags that there's no described behavior for an invalid role value, no mention of who is authorized to call this, and that returning the full user object may leak fields not meant to be public.
Limitations
Cannot verify the proposal against your actual codebase; flagged consistency issues are based only on what's described in 'existing conventions'.
Rate this prompt
Not yet rated