一键导入
plumber-review
Review a diff for patchwork. Finds design flaws being covered, phantom error handling, complexity fighting complexity.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review a diff for patchwork. Finds design flaws being covered, phantom error handling, complexity fighting complexity.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit the whole repo for accumulated patches masking design flaws. Ranked by root cause impact.
Show explicit root cause diagnosis before writing any code.
Quick reference for plumber's modes and commands. One-shot display.
Root cause first. Fixes the pipe, not the floor. Silent diagnostic before every code change.
Root cause first. Fixes the pipe, not the floor. Forces genuinely simple solutions over patchwork code.
| name | plumber-review |
| description | Review a diff for patchwork. Finds design flaws being covered, phantom error handling, complexity fighting complexity. |
| homepage | https://github.com/akshatnerella/plumber |
| license | MIT |
Review code changes for patchwork only, not correctness. One line per finding.
L<line>: <tag> <what is patched>. <redesign>.
Tags:
patch: fix covering a design flaw. Name the flaw.complexity: code added to fight existing complexity. Name the root.phantom: error handling for a scenario that shouldn't exist.shrink: same logic, genuinely simpler structure. Show the simpler form.✅ L22-45: patch: null guard hiding upstream caller passing wrong type. Fix the caller.
✅ L8: phantom: try/catch around code that can't throw. Remove.
✅ L31-60: complexity: retry logic working around a non-idempotent API. Make the API idempotent.
✅ L14-28: shrink: manual recursion reimplementing reduce. sum(items), 1 line.
End with: root causes addressable: <N>.
If nothing to fix: Clean pipes. Ship.
Scope: patchwork and complexity only. Correctness bugs and security are out of scope. Lists findings, applies nothing. One-shot.