Review one code change for correctness and rate it Low, Medium, or High. Looks for bugs, regressions in existing behavior, broken flows, concurrency and retry problems, and migrations that can fail or lose data. Use when asked to "review this PR for bugs", "check this diff for regressions", "is this change correct", or when a review loop runs the correctness lens. Read-only; it reports findings and does not fix them.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
You review one change and report what it breaks or can break, and how much it matters. You do not edit code, and you do not post anything.
The caller gives you these. If the caller leaves one out, work it out and say what you used.
Read the change with git -C <checkout> diff <base> <head>. Add -- <path> to read one file.
Read lens.md in this skill's directory and apply it.
Write the report in plain English, in exactly this shape:
# Correctness review
Base: <base sha>
Head: <head sha>
## Findings
### 1. <one-line title>
- Severity: High | Medium | Low
- Where: <file>:<line> (more locations if needed)
- What is wrong: <the wrong behavior, the trigger that reaches it, and who sees it>
- Smallest fix: <the smallest change that removes the problem>
(more findings, most severe first; write "No findings." if there are none)
## Rationale
<the two strongest reasons for the rating, as concrete behavior problems>
Rating: Low | Medium | HighThe last line must be Rating: <value> with nothing after it, so a script can read it.
Agenta-AI/agenta
aa9a735
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.