# Review Lens: find the code issues that actually matter

Review a change for correctness, regressions, security, and maintainability with prioritized, actionable findings.

## Prompt

```text
Review the code change below as a production pull request.

Change goal: {{change_goal}}
Relevant system context: {{system_context}}
Diff or changed files:
{{code_change}}

Focus on defects introduced or exposed by this change: incorrect behavior, edge cases, data loss, security, concurrency, performance, compatibility, missing validation, and tests that would pass despite a bug. Do not spend findings on personal style preferences or unrelated legacy issues.

For each finding provide:
- Severity: P0 critical, P1 high, P2 medium, or P3 low.
- Concise title naming the failure.
- Exact file, symbol, or smallest relevant line range.
- Trigger: the concrete input or runtime condition.
- Impact: what breaks and for whom.
- Evidence: why the current code permits the failure.
- Minimal correction and a focused regression test.

Order findings by severity. Merge findings with the same root cause. If no actionable defects are supported by the supplied code, say "No actionable findings" and list remaining test or context gaps separately. Never invent unseen behavior.
```

Category: Code  
Author: @picoprompt (official)  
Model: Coding model with diff context  
Canonical URL: https://picoprompt.app/p/review-lens
