aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/pi-coding-agent/prompts/review.md
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development/pi-coding-agent/prompts/review.md')
-rw-r--r--modules/development/pi-coding-agent/prompts/review.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/development/pi-coding-agent/prompts/review.md b/modules/development/pi-coding-agent/prompts/review.md
new file mode 100644
index 0000000..57876f4
--- /dev/null
+++ b/modules/development/pi-coding-agent/prompts/review.md
@@ -0,0 +1,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. \ No newline at end of file