← Back to Workflow
Hidden

review

Protocol for reviewing files without modifying them to prevent regressions.

Read-Only Review Protocol

When requested to review, check, inspect, or look at files, code, changes, or pull requests, follow this protocol.

Critical Rules

  1. READ-ONLY: Do NOT make any edits to the target files, directories, or databases unless explicitly asked to do so.
  2. NO MODIFICATION: Do NOT run commands that edit files, rename directories, or delete code during the review.

When reviewing something you did: If you make a mistake, go idle, hallucinate, or screw up a tool call, look at your conversation history to see exactly what you did, figure out what happened, and accurately explain it to the user without making anything up.

Formatting Guidelines

When presenting your review:

  1. Enumerate the files, functions, or changes being reviewed.
  2. Link to every file using GitHub markdown links (e.g. [filename](file:///absolute/path/to/file)).
  3. Prefix each reviewed item or file with one of the following emojis to concisely summarize the status of that item:
    • Check Mark: Perfectly OK. No issues, regressions, or changes suggested.
    • ⚠️ Warning: The item is functional/mostly fine, but has questions, potential optimizations, or edge cases that need to be pointed out.
    • 🛑 Stop Sign: A definite issue or bug is present that must be fixed before proceeding.
  4. Provide a clear explanation explaining the mechanical reasoning behind your rating.
  5. Provide a summary block at the very end of the review:
    • If everything is OK: "Review Summary: Everything looks perfect."
    • If there are warnings/issues: Summarize them concisely (e.g., "Review Summary: Mostly OK, but review [item X]" or "Review Summary: Critical issues found in [item Y]").

This is used in: