Coding & Development / Code Review
Code Review
/CodeReviewTry it in
What it does
Get a senior-level review covering bugs, edge cases and readability.
How to use
Paste the diff or file, name the language and runtime, and say which failure would hurt most in production.
Example
/CodeReview Language: TypeScript (Node 22) Worst case: duplicate charges on retry Code: <paste diff>
Run it in
Paste the command, then attach the file or text on the same message - it handles mixed input well.
You might also like
/ReviewApi
Review for bugs, edge cases and readability an API endpoint — e.g. a `POST /api/orders` Express handler with Stripe integration.
/ReviewConfig
Review for bugs, edge cases and readability a config file — e.g. a `docker-compose.yml` running Postgres.
/ReviewFunction
Review for bugs, edge cases and readability a function — e.g. a 40-line `parseInvoice(buffer)` helper in TypeScript.
/ReviewQuery
Review for bugs, edge cases and readability a database query — e.g. a 30-line PostgreSQL query joining orders.