Pull request review with ranked findings
Get a prioritized code review that separates real defects from style nits, with a concrete fix for each issue.
Review an API design for consistency, evolvability, error handling and security before you ship it.
Review the design of this {{style}} API as an experienced API architect.
Purpose and consumers: {{consumers}}
Priorities: {{priorities}}
API description (endpoints, schemas, OpenAPI, or examples):
{{api}}
Assess each area and give concrete findings, not generalities:
1. Resource and naming consistency: URLs, verbs, pluralization, casing, field names.
2. Request and response shapes: nullability, ID formats, timestamps, money and enums, pagination, filtering and sorting.
3. Errors: status codes, error body structure, whether clients can handle failures programmatically.
4. Idempotency and concurrency: retries, duplicate submissions, optimistic locking.
5. Versioning and evolvability: which likely future changes would be breaking, and how to avoid them.
6. Security and abuse: authentication and authorization per endpoint, rate limits, over-exposed fields, mass assignment.
7. Developer experience: discoverability, documentation gaps, surprising behavior.
Output a table of findings (area, issue, severity: high/medium/low, recommended change with an example request or response), followed by the top five changes to make before launch and anything you could not assess from what I provided.Splitting the review into fixed areas ensures security and evolvability are not skipped. The severity table gives you a ready-made work list.
Licensed CC0 (public domain) Version 1 · history
Get a prioritized code review that separates real defects from style nits, with a concrete fix for each issue.
Make tangled code easier to read and change without altering behavior, with every edit explained.
Draft a design doc with goals, options, a recommendation and risks, ready for team review.
Audit code or a feature design for vulnerabilities, mapped to realistic attack scenarios and fixes.
Create a PR description that helps reviewers understand the change, how to test it and what to watch for.
Plan a refactor as small, reversible steps that keep tests green, instead of a risky big rewrite.
Comments (0)
Sign in to join the discussion.
No comments yet. Be the first to share how it worked.