{"slug": "dual-review-address-review-findings-automatically", "title": "dual-review: address review findings automatically", "summary": "Thiago Perrotta updated his dual-review skill for Claude Code to automatically fix Blocker and Important findings from two independent LLM reviewers, leaving Suggestions for user confirmation. The new --address flag closes the loop by editing the reviewed tree, rerunning checks, committing, and optionally pushing, while the skill still posts the action plan to the pull request when --post is used. Perrotta chose two reviewers as a balance between non-deterministic LLM outputs and token cost.", "body_md": "♠ [Previously](https://perrotta.dev/2026/06/claude-code-ship-your-skills-as-a-plugin-marketplace/).\n\nMy\n[ dual-review](https://github.com/thiagowfx/skills/blob/master/plugins/thiagowfx/skills/dual-review/SKILL.md)\nskill runs two independent LLM reviewers over a commit / diff / PR, validates\nevery finding against the code, and hands back one action plan — Blockers,\nImportant, Suggestions.\n\nRecently I added a flag argument that closes the loop:\n\n```\n argument-hint: \"[branch|staged|all] [--pr NUMBER] [--post]\"\n+argument-hint: \"[branch|staged|all] [--pr NUMBER] [--post] [--address]\"\n- `--post`: post final action plan to target pull request after showing it; never post otherwise\n+- `--address`: after showing (and, if requested, posting) the action plan, fix Blockers and Important findings directly in the reviewed tree; never fix Suggestions without explicit confirmation\n+## 7. Address Findings (only with `--address`)\n+\n+Skip this section entirely unless `--address` was requested.\n+\n+1. Work in the same tree that was reviewed (existing worktree or user's checkout for `staged`/` all`); never create a second copy of the changes.\n+2. Address every Blocker and every Important finding. For Suggestions, ask the user which (if any) to apply; default to none.\n+3. For each finding: re-read the exact `file:line` locations, apply the `Fix:` recommendation, and fix every sibling location listed under that finding, not just the first instance.\n+4. If a finding is ambiguous, requires a design decision, or the recommended fix turns out to be wrong once you're in the code, stop and ask the user instead of guessing.\n+5. After edits, rerun any locally available checks that cover the change (tests, linters, type-checks) before treating a finding as resolved.\n+6. Stage only the files touched while addressing findings. Commit with a message describing which findings were fixed (e.g. `address dual-review findings`), listing them briefly in the body.\n+7. If scope was `branch`/`--pr`, push to the branch. If the action plan was posted (`--post`), leave a short follow-up comment noting the findings were addressed and pushed; do not repost the full plan.\n+8. Report: which findings were fixed, which were skipped and why, and which need user input.\n```\n\nThe important line is the second one: Suggestions never get auto-applied, only Blockers and Important.\n\n`/dual-review --post --address`\n\nnow reviews, posts the plan, fixes\nwhat’s fixable, and pushes.\n\nWhy two review(er)s instead of one? Because LLMs are non-deterministic.\n\nWhy not more than two review(er)s then? Tokens ($$$) and time. It’s a balance.\n\n🤖 *Drafted with *\n\n`/bloggify`\n\n.— § —\n\nReply via [email](mailto:serendipity@perrotta.dev?subject=Reply to: dual-review: address review findings automatically)", "url": "https://wpnews.pro/news/dual-review-address-review-findings-automatically", "canonical_source": "https://perrotta.dev/2026/08/dual-review-address-review-findings-automatically/", "published_at": "2026-08-05 12:01:30+00:00", "updated_at": "2026-08-05 12:37:08.384838+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-agents"], "entities": ["Thiago Perrotta", "dual-review", "Claude Code", "GitHub"], "alternates": {"html": "https://wpnews.pro/news/dual-review-address-review-findings-automatically", "markdown": "https://wpnews.pro/news/dual-review-address-review-findings-automatically.md", "text": "https://wpnews.pro/news/dual-review-address-review-findings-automatically.txt", "jsonld": "https://wpnews.pro/news/dual-review-address-review-findings-automatically.jsonld"}}