agentic-os/prompts/code-review.md

577 B

Code Review Prompt

Review the following code changes against these standards:

  1. Naming conventions (files, functions, variables)
  2. Error handling patterns (error codes, try/catch)
  3. Security (input validation, auth checks, injection prevention)
  4. Test coverage (unit tests present and passing)
  5. Documentation (comments, README, API docs)

Report issues by severity:

  • CRITICAL: Security vulnerability, data loss risk, breaking change
  • MAJOR: Logic error, missing test, inadequate error handling
  • MINOR: Style inconsistency, missing comment, naming issue