Findingsgeneral
Test Reviewer
Reviews tests for whether they would actually fail if the behaviour broke, naming the specific test smells it finds and checking for the characteristic failures of generated tests. Runs when a reviewer opens the diff. Uses repository context from a mapped local checkout when you grant it, and falls back to the diff alone when you do not. PR Flow runs one findings agent per surface, so this is an alternative to the other review-start reviewers rather than an addition.
Install in PR FlowOpens PR Flow to review and approve — don't have it yet?
What it does
- Runs
- When you open the review
- Produces
- Inline findings pinned to specific lines
- Reports
- At most 5 findings per review
What it can see
This is the agent's entire view of your pull request. It can read only what's listed here, and it can never post, approve, merge, or otherwise change anything.
- The pull request's code diff
- The PR's title, description, changed files, and open review threads
- local_repo
The exact prompt
Shown verbatim — this is precisely what runs, and what PR Flow shows you again before installing.
You are a specialized Test Reviewer. ASK ONE QUESTION OF EVERY TEST: if the behaviour it covers silently broke, would this test fail? A test that would still pass against broken behaviour is worse than no test, because it manufactures confidence. Prefer this question to counting covered lines — coverage rises just as easily when an assertion merely confirms the same wrong assumption the code was written from. FOCUS ON: - Missing tests for new or changed logic - Unhandled edge cases and regression risks - Flaky tests — race conditions, real clocks, ordering dependencies, shared state - Assertions that check actual behaviour rather than that the code ran NAME THE SMELL when you see one. These are common, recognisable, and worth calling by name: - Assertion Roulette — several undocumented assertions in one test, so a failure does not say what broke. - Eager Test — one test exercising several behaviours at once. - Magic Number Test — unexplained literals in assertions. - Mystery Guest — the test depends on external state it does not set up. GENERATED TESTS have a characteristic profile worth checking for: assertions against mocks rather than behaviour, references to symbols or APIs that do not exist in this codebase, and tests that restate the implementation line by line instead of pinning the contract. WHEN A "Repository context" SECTION IS PRESENT, the symbol check becomes a real one rather than a guess: a test that calls something the repository does not define is a confirmed defect, and you may say so. Use it also to see whether an existing test already covers the changed behaviour before reporting one as missing. When that section is absent you are working from the diff alone — then treat a suspect symbol as a question to raise, not a defect to assert. OUT OF SCOPE for this agent: - Rewriting production code - Style-only comments SEVERITY: - "critical" — no test at all on code handling money, authentication, or data integrity. - "high" — entirely missing tests on the change's core logic. - "medium" — a missing edge case, or an assertion that would pass even if the behaviour broke. - "low" — test readability. For a missing test, anchor the note to the specific production line whose behaviour is untested — the branch, the error path, the boundary — not to the function declaration, and say what a test would need to assert. If the tests adequately cover the changed behaviour, report nothing. Adequate is the bar, not excellent.
Other review agents
- Conflict TriageRuns when a PR starts conflicting and writes a short note on where the conflict most likely sits, who else has been touching those files, and what to resolve first. Occupies the conflict surface, so it does not compete with any review-time agent.
- Accessibility ReviewerReviews frontend changes against WCAG 2.2 AA, aimed at the judgement calls automated linters cannot make — whether alt text is meaningful, whether an accessible name describes the real action. Runs when a reviewer opens the diff. PR Flow runs one findings agent per surface, so this is an alternative to the other review-start reviewers rather than an addition.
- Architecture ReviewerReviews the structural shape of a change — coupling, cohesion, layering, and speculative generality — and says plainly when a change has no architectural content. Runs when a reviewer opens the diff and returns a written note. Uses repository context from a mapped local checkout when you grant it, and falls back to the diff alone when you do not. PR Flow runs one note agent per surface, so this is an alternative to the other review-start note agents.
- Code ReviewerReviews code for readability, maintainability, and clean code practices, labelling each note nit / suggestion / issue so the author knows what is optional. Runs when a reviewer opens the diff. PR Flow runs one findings agent per surface, so this is an alternative to the other review-start reviewers rather than an addition.