/meticulous:meticulous-reviewfrom Meticulous
Reviews Meticulous test run results, classifying diffs and flagging regressions against PR expectations. Hands off fixes to the meticulous-fix skill. Use when reviewing PRs or after pushing frontend changes.
Ships in Meticulous. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
To work through a Meticulous test run, follow the workflow below step by step, using the CLI or MCP commands as described. You don't need to know up front whether the run still needs reviewing or someone has already reviewed it: Step 1 reads its review state, and that decides what follows.
Before starting, run the
meticulous-cli-updateskill to ensure the Meticulous CLI and skills are up to date — unless it has already run earlier in this conversation, in which case skip it.
While reviewing, treat yourself as a reviewer, not the implementer — even if you did write the change earlier in this conversation. Classify each diff on its merits; fixing is a separate pass afterwards (Step 12), not something to interleave with the review. If you're mid-implementation and want to loop against Meticulous until things look right, see the meticulous-iterative-dev skill for feature work with intended visual changes, or the meticulous-zero-diff-task skill when the UI must not change.
Before looking at any diff, work out what visual change this PR is supposed to produce:
gh pr view <number> --json title,body for GitHub, glab mr view <id> --output json --jq '{title,description}' for GitLab, or for Bitbucket twg bitbucket pull-requests get <id> if the Teamwork Graph CLI is available — follow its twg-engineering-work skill if that's installed, and run twg setup bitbucket once if it asks for a Bitbucket token — else GET /2.0/repositories/{workspace}/{repo_slug}/pullrequests/{id}?fields=title,description) and pull out a brief bullet-point summary of any visual changes it calls out as expected.Run from the local checkout to resolve the test run from the current commit's git HEAD — make sure HEAD matches the remote head CI ran on first (e.g. git pull), or you may review a stale or missing run:
# CLI (infers the run from local git HEAD)
meticulous agent test-run-diffs --includeReviews
# MCP (git context is never inferred — resolve the testRunId from a commit first)
get_test_run_for_commit(commitSha="<sha>")
get_test_run_diffs(testRunId="<id>", includeReviews=true)
Returns a TSV of replayDiffId/screenshotName rows — a representative, priority-ordered subset of real visual differences; work through them top to bottom. --includeReviews adds each row's decision and openComments. To target a run explicitly instead of resolving from HEAD, pass --testRunId <id>, --commitSha <sha> or --prNumber <n> (on MCP, get_test_run_diffs(prNumber=<n>) skips the get_test_run_for_commit step). The CLI blocks until the run finishes by default (pass --dontWaitForTestRunToComplete to instead report an in-progress run and exit immediately); MCP never blocks, so keep polling until status is complete/failed.
The review state decides what each row needs:
unreviewed, no open comments — review it: Steps 2–6.rejected, or open comments — someone has already looked at it, so don't re-review it; Step 7 picks it up.accepted or ignored, no open comments — already decided; nothing to do.If no row needs reviewing, go straight to Step 7. Otherwise every unreviewed row must be matched against Step 0 or flagged (see the Decision guide) before concluding the PR is good.
For each representative screenshot:
# CLI (downloads images to ~/.meticulous/agent-images/ and prints local paths)
meticulous agent image-files --replayDiffId <replayDiffId> --screenshotName <screenshotName>
# MCP (no download-to-disk tool — returns signed URLs instead; fetch them to view the images)
get_image_urls(replayDiffId="<replayDiffId>", screenshotName="<screenshotName>")
Open (or fetch) before, after, and diffImage to inspect the change — diffImage is usually the most informative, highlighting exactly which pixels changed. Always inspect the images, even when the DOM diff looks clear.
# CLI
meticulous agent dom-diff --replayDiffId <replayDiffId> --screenshotName <screenshotName>
# MCP
get_dom_diff(replayDiffId="<replayDiffId>", screenshotName="<screenshotName>")
Optional: --context <N|full> (CLI) controls how many context lines surround each hunk (default 3).
Output is a unified diff (+/-) of both sides with noise (generated ids, Meticulous's own annotations) removed, one block per change, headed by diff N at path [...] naming the element that changed — for example (illustrative, not real output):
diff 0 at path [1,0,2]
<div class="item">
- <span class="label">old label</span>
+ <span class="label" data-flag="true">new label</span>
</div>
diff 1 at head path [1,3]
<ul class="list">
+ <li>new item</li>
</ul>
It's paged by line (--limit/--offset, 100 lines by default); pass a hunk's path as --path to diff only that element. To read the DOM itself, as one replay captured it, use agent dom --replayId <replayId> --screenshotName <screenshotName> [--path <path>] (MCP: get_dom), with the replay IDs from test-run-diffs --includeReplayIds.
If a diff is unexpected and the images/DOM don't make it obvious why:
# CLI
meticulous agent timeline-diff --replayDiffId <replayDiffId>
# MCP
get_timeline_diff(replayDiffId="<replayDiffId>")
By default it lists only the events that differ, plus the screenshots and user events around them. TSV columns: diff ( identical, - removed, + added, ! changed), eventId, timeMs, kind (user/screenshot/network/console/etc.), description, count, changes (for ! rows, what changed). Look for failed network requests, unexpected redirects, mismatched user events, or timing anomalies that could explain a visual change.
To dig into one row, pass its eventId to agent timeline-event-diff --replayDiffId <replayDiffId> --eventId <eventId> (MCP: get_timeline_event_diff), which lists that event's fields that differ between base and head. To inspect either side's full timeline on its own, use agent timeline --replayId <replayId> and agent timeline-event --replayId <replayId> --eventId <eventId> (MCP: get_timeline, get_timeline_event), with the replay IDs from test-run-diffs --includeReplayIds.
For each representative screenshot, compare the diff image and DOM diff against Step 0's expectations:
approve-diff is available (Step 6).Either way it's flagged, not silently dropped — a human still needs to see it.
What counts as unrelated. Ignore only a diff the change has no plausible way to cause:
Before ignoring, check that the change cannot reach the affected area (nothing in the PR diff leads to that screen or component) and that the timeline shows no divergence it explains. A replay that took a different path — a click landing elsewhere, a menu open on one side only — is unrelated only if the change cannot have caused it; the engine's own flake labels don't settle that. Never ignore:
When unsure, leave the diff undecided and explain with create-diff-comment.
Report likely engine bugs. Add --reportFlake when ignoring a diff where the replay was nondeterministic although Meticulous should have made it deterministic — rendering, animations, timers, dates, randomness, network ordering, or a replay that took a different path. Meticulous then investigates it as a likely replay-engine bug. Report each flake once per run, not on every diff it shows up in: when one cause produces the same flake across many diffs (e.g. a clock or an animation that differs on every screen), ignore each of those diffs but add --reportFlake to only one of them. Leave it off for a genuine difference in what the app served (a server-rendered timestamp, a build version, third-party content): the app's owner fixes those, e.g. by hiding the element with the meticulous-ignore class.
Review first, fix afterwards. Don't make code changes while reviewing: finish classifying and flagging every diff, then deal with what needs fixing in Step 12.
# CLI
meticulous agent reject-diff --replayDiffId=<id> --screenshotName=<name> --reason="<why>" --x=<0..1> --y=<0..1>
meticulous agent approve-diff --replayDiffId=<id> --screenshotName=<name>
meticulous agent ignore-diff --replayDiffId=<id> --screenshotName=<name> --reason="<why>" --x=<0..1> --y=<0..1> [--reportFlake]
meticulous agent create-diff-comment --replayDiffId=<id> --screenshotName=<name> --text="<note>" --x=<0..1> --y=<0..1>
# MCP
reject_diff(replayDiffId="<id>", screenshotName="<name>", reason="<why>", x=<0..1>, y=<0..1>)
approve_diff(replayDiffId="<id>", screenshotName="<name>")
ignore_diff(replayDiffId="<id>", screenshotName="<name>", reason="<why>", x=<0..1>, y=<0..1>, reportFlake=<true|false>)
create_diff_comment(replayDiffId="<id>", screenshotName="<name>", text="<note>", x=<0..1>, y=<0..1>)
Call reject-diff or ignore-diff for every diff classified as unintended, in addition to including it in the final report. --reason is the succinct explanation from your classification above; --x/--y are the approximate normalized coordinates of the changed region, estimated from the diff image. create-diff-comment is the neutral option for anything you want on the record without a verdict.
Is approve-diff available? Only on projects with the Enable approve/ignore diff actions setting. Over MCP, approve_diff is only offered when it's on; the CLI can't tell up front, so call it on the first expected diff — a 403 starting "Agents may not approve diffs on project …" means it's off, so skip everything about approving from here on.
Call approve-diff for every diff classified as expected. Unlike reject and ignore, it needs no reason.
Not symmetric: reject-diff writes a real, blocking decision, same as a human rejection. Where approve-diff is available, approve-diff and ignore-diff also write real decisions that clear the diff. Otherwise ignore-diff decides nothing — it's a comment only, so the diff stays unreviewed and the check stays pending — so don't oversell it in your final report as having resolved anything.
Steps 1–6 covered only the representative subset. Do this step even when Step 1 found nothing in it to review.
Collect the fix targets. List every diff in the run that's rejected or has an open comment:
# CLI
meticulous agent test-run-diffs --onlyRejected --onlyWithComments --includeReviews
# MCP
get_test_run_diffs(testRunId="<id>", onlyRejected=true, onlyWithComments=true, includeReviews=true)
The --only* flags are additive (a diff that's rejected, has an open comment, or both) and are never capped to the representative subset. A rejection, or a comment asking for a change (diff-comments / get_diff_comments shows the thread), makes a diff a fix target for Step 12 — including the diffs you rejected yourself. A comment that only explains an ignore or an approval (as this skill's own ignore-diff and approve-diff leave — an ignore stays unreviewed on projects without agent ignores), or a note you left on a diff you were unsure about, is not.
Decide the remaining diffs (only where approve-diff is available). The check passes only once every diff has a decision. Skip this part if Step 6 found approve-diff unavailable: without it, nothing here can clear the check. Otherwise, list what's still undecided:
# CLI
meticulous agent test-run-diffs --includeAllDiffs --onlyUnreviewed --includeReviews
# MCP
get_test_run_diffs(testRunId="<id>", includeAllDiffs=true, onlyUnreviewed=true, includeReviews=true)
Take each row without open comments through Steps 2–6 like the first ones; a row with open comments is covered above. If you haven't called approve-diff yet, you find out whether it's available on the first row you classify as expected, as in Step 6 — if it isn't, stop there. Keep --includeAllDiffs: without it, --onlyUnreviewed stays capped to the representative subset for as long as any diff in it is still undecided.
Besides screenshot diffs, a run can carry non-visual checks: builtin ones such as accessibility, network-requests and react-component-renders, and custom ones the project's own CI reports. Most projects have none, so first find out whether this run does:
# CLI (same run selector as Step 1)
meticulous agent test-run-check --availableIds
# MCP
get_test_run_check_available_ids(testRunId="<id>")
If this is refused because the project isn't set up for checks, there are no checks to review: skip to Step 9. An empty list can also mean results haven't been reported yet, so retry as the command's notice says before concluding there are none.
For each listed check, fetch its report:
# CLI
meticulous agent test-run-check --checkId=<checkId> [--checkType=custom]
# MCP
get_test_run_check(testRunId="<id>", checkId="<checkId>", checkType="builtin|custom")
Only a failing check needs attention: one whose findings require acknowledgement. A passing check, or one that only warns, needs nothing. The report describes the findings. For builtin checks, meticulous agent test-runs --prNumber=<n> --includeCheckIssueCounts also counts the failures (checkFailureCount) per run. ignore-check refuses a check that doesn't require acknowledgement, so a refusal also settles it.
Checks work differently from diffs: the only decision is to dismiss one, and a failing check nobody dismisses counts as a regression Meticulous caught and keeps the checks status failing. Classify each failing check the way Step 5 classifies a diff, against Step 0's expectations, and act on it:
# CLI (--prNumber=<n> can stand in for --testRunId)
meticulous agent ignore-check --testRunId=<id> --checkId=<checkId> [--checkType=custom] --reason="<why>"
# MCP
ignore_check(testRunId="<id>", checkId="<checkId>", checkType="builtin|custom", reason="<why>")
This works like ignore-diff in Step 6, with these differences:
check-comments, but the Meticulous app doesn't show it. Repeat it in your final report, which is where a person will read it.ignore-check needs the "Let agents ignore checks" project setting, separate from the diff one. Without it, it is refused: unlike ignore-diff, there is no comment-only fallback. Over MCP it's only offered when it's on. If it's refused, leave the check undismissed and name it in your final report as needing a human decision.Some projects also run Agent swarm, Meticulous's hosted agent that tests a pull request's build in a browser and reports a handful of test cases, each pass, fail, blocked or skipped. There's nothing to approve, reject or ignore: its results are informational, except for cases with a fix prompt. Look for a run on the same commit:
# CLI (same run selector as Step 1; waits up to 10 minutes for a run still in progress)
meticulous agent agent-swarm-run
# MCP (a run still in progress returns { status: 'processing' }: poll every 10s, for at most 10 minutes)
get_agent_swarm_run(commitSha="<sha>")
If it reports no Agent swarm run for the commit, or only a plan-only one, skip to Step 10. If the run is still in progress after 10 minutes, didn't complete (its errorMessage says why), or was found not testable (notTestable), just note that for the final report.
Otherwise read through all of its cases (title, status, outcomeSummary), to get an idea of what was tested and what wasn't. The cases that matter are the ones with a fix prompt: a failure upheld by an independent checker, with a ready-made prompt for fixing it. Only a fail case can have one, so fetch each of those and check whether its output has a fixPrompt:
# CLI
meticulous agent agent-swarm-run-case --swarmRunId=<id> --caseIndex=<n> --json
# MCP
get_agent_swarm_run_case(swarmRunId="<id>", caseIndex=<n>)
Whether a case has one matters more than what it says: report it — it's a fix target for Step 12.
Cover all significant visual changes, plus any failing checks from Step 8 and an Agent swarm summary from Step 9.
replayDiffId/screenshotName (linked: https://app.meticulous.ai/test-runs/<testRunId>/replay-diff/<replayDiffId>?screenshot=<screenshotName>), whether you rejected or ignored it, the reason you gave when flagging it (Step 6), what the change looks like, and your best assessment of the cause.https://app.meticulous.ai/test-runs/<testRunId>?tab=agent-swarm: the outcomes (e.g. "4 cases: 3 passed, 1 blocked") and roughly what they covered, or why the run didn't complete or wasn't testable. Name each failed case and its outcomeSummary, and point out the ones with a fix prompt, which the meticulous-fix skill can work from.The PR is only good when every diff and failing check has been matched or flagged. If any is flagged, the PR is not yet good: surface it clearly to the user in addition to the flag itself. Where approve-diff is available, also name any diff you left undecided: it keeps the check pending. Likewise name any failing check you left undismissed: it keeps the checks status failing until a person dismisses it or the code is fixed.
Always do this to close the review — it's part of the review itself, not something the user has to ask for. Submit one brief note: did Meticulous catch a real problem, was anything confusing, what would have made the review easier. Positive feedback counts too — this isn't just for reporting friction.
# CLI
meticulous agent submit-feedback --message="<one or two sentences>" --outcome=<helped|neutral|hindered> --testRunId=<id> --skill=meticulous-review
# MCP
submit_feedback(message="<one or two sentences>", outcome="<helped|neutral|hindered>", testRunId="<id>", skill="meticulous-review")
Collect the fix targets: the diffs from Step 7 (including the ones you rejected), the checks you flagged as potential regressions (Step 8), and Agent swarm cases with a fix prompt (Step 9). If there are none, you're done.
meticulous-fix skill for them now. It reads the comments, fixes the code, replies on each thread, pushes and confirms on the next run.meticulous-test skill sent you here), stop after the final report: meticulous-fix commits, pushes and waits for CI, which isn't how that loop iterates.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alwaysmeticulous/skills --plugin meticulous11 skills in this plugin
/meticulous-cliOverview of the Meticulous CLI tool and its global options. Use when asking about the meticulous CLI in general, available commands, or global flags that apply to all commands./meticulous-cli-updateCheck whether the Meticulous CLI (@alwaysmeticulous/cli) and skills are installed and up to date, and install/update them if not. Invoked at the start of every other Meticulous skill, since the CLI and skills are under active development with frequent changes and improvements./meticulous-fixFix the visual diffs that have been reviewed and rejected on a Meticulous test run (and any failing non-visual checks), following their review comments if given, plus any Agent swarm fix prompts on the same commit. Use when a user has reviewed the results of a test run and is handing off to an agent to implement the fixes, or when the `meticulous-review` skill hands off what needs fixing on a change you're working on./meticulous-improve-test-envWork out what to change in a project's test environment so Agent swarm stops getting blocked when it tests against a live backend — seed better test data, widen the test user's permissions, enable feature flags, fix test login, and so on. Reads the setup blockers Agent swarm has recorded, inspects the codebase and test-environment configuration, and proposes concrete fixes. Use when Agent swarm cases are blocked by the environment rather than by the app, or when asked to "improve the test environment", "fix Agent swarm setup blockers" or "why is Agent swarm blocked"./meticulous-increase-coverageIncrease coverage for a Meticulous project by tracing specific under-covered files back to a real UI action in the codebase, driving that action with a real recorded browser session, and validating the improvement with a clean coverage comparison. Also opens a PR proposing .meticulousignore entries for code that structurally never executes in-browser. Use when asked to "increase coverage", "find untested code", or "add .meticulousignore entries" for a project./meticulous-iterative-devIterative frontend development loop using Meticulous for per-step visual validation. Use when implementing a multi-step frontend change and want to catch visual regressions and unintended side effects at each step, before the final cloud test run.Other plugins' skills for the same job