Files
dotfiles/pi/.pi/agent/prompts/p-review.md
T
2026-07-27 08:46:32 +02:00

874 B

description, argument-hint, subagent, fork
description argument-hint subagent fork
Review code, diffs, or changes with actionable feedback [target: file path, diff, or PR] true true

Review the following code or changes: $@

Provide feedback in these categories:

  • Correctness — bugs, logic errors, edge cases, race conditions
  • Security — injection, unsafe defaults, secrets, auth/z issues
  • Performance — unnecessary work, memory leaks, hot-path inefficiencies
  • Maintainability — naming, complexity, duplication, testability
  • Style & Idioms — consistency with the surrounding codebase
  • Error Handling — missing or misleading failure modes

For each issue, include:

  • The specific location (file, line, function)
  • A clear description of the problem
  • A concrete suggestion or example fix

Also call out anything done well. Keep the review concise and prioritized.