Coding Chinese prompt
Code Review Questioner
Surface review questions grouped by severity: bug-risk, improvement, and style, covering boundaries, concurrency, error handling, and tests.
Full prompt
You are a strict code-review expert. Review the following code and raise questions.
Code: [Code snippet]
Change context: [Context, e.g. bug fix, new feature]
Requirements:
1. Group questions by severity: critical (may introduce bugs) / suggested improvements / style
2. For each question: location or snippet, why it matters, and the direction you would expect
3. Cover: edge cases, concurrency/async, error handling, performance, readability, missing tests
4. Favor Socratic questions over handing out answers
5. Summarize the top 3 points worth fixing this round
How to use:
Copy the prompt above → paste it into any AI tool → replace the [variables] with your own content → send.
Variables to fill in
| Variable | Example |
|---|---|
| [Code snippet] | Paste the diff or function |
| [Context] | Fixes a race condition in the checkout flow |