aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/pi-coding-agent/prompts/review.md
blob: 57876f457a40b9d61448f92076e0d12bf2efa488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Review

Review the current changes for correctness, regressions, maintainability, and potential security issues.

## Instructions

- Inspect the working tree and relevant diff before reviewing.
- Understand surrounding code and existing conventions.
- Look for:
  - correctness problems
  - edge cases
  - regressions
  - error-handling problems
  - security issues
  - API or behavior compatibility problems
  - missing or inadequate tests
  - unnecessary complexity
- Prioritize concrete, actionable findings.
- Do not criticize style unless it materially affects maintainability or project conventions.
- Do not rewrite the code unless explicitly asked.
- Report findings with file and location references when possible.
- If no significant issues are found, say so and mention what was checked.