udecode/plate

review-sweep

Mine review comments for broader diff-wide fixes instead of handling each line in isolation

First seen May 28, 2026

Installation

$ npx skills add udecode/plate --skill review-sweep

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from udecode/plate · top by installs.

npx skills add udecode/plate

Browse all from udecode/plate

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 16.6K
License LICENSE
Default branch main
Open issues 10
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
skiller
{"source":".agents\/rules\/review-sweep.mdc"}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,844 B
  • docs SUMMARY.md 111 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

Review Pattern Mining

Use this when handling PR review feedback and you want to reduce repeated follow-up review on the same branch.

Goal

Treat each review comment as a chance to infer a broader rule, then apply that rule across the rest of the current diff where it clearly fits.

Core Rules

  • Extract the underlying rule, not just the literal line edit.
  • Fix the same pattern everywhere in the current diff when the rule is objective and low-ambiguity.
  • Do not cargo-cult a reviewer suggestion across unrelated code.
  • If the feedback is architectural or taste-heavy, decide once and either:

- refactor intentionally across the relevant seam, or - prepare a concise pushback draft with reasoning.

  • Prefer one coherent follow-up refactor over many tiny copy-paste fixes.
  • Keep the blast radius proportional to confidence.
  • If a suggested sweep depends on another PR or pending upstream change, call that out explicitly instead of guessing.

Good Sweep Targets

  • Safety rules:

- input validation - index or key guards - dangerous property filtering - null or undefined handling

  • Repeated docs issues:

- incomplete explanations - drift between API docs and concept docs - missing tradeoff or usage guidance

  • Repeated code-shape issues:

- redundant casts - awkward conditionals - repeated helper patterns - duplicated comments or missing comments at the same seam

  • Repeated test issues:

- brittle setup - over-specific selectors - restored assertions that should exist in similar tests

Bad Sweep Targets

  • Naming preferences without a strong readability win
  • Broad architecture changes without repo evidence
  • Subjective style choices that only weakly generalize
  • Changes that widen public API just to satisfy local convenience
  • Anything you cannot explain in one sentence

Workflow

  1. Read the review comment and classify it:

- safety - docs clarity - code-shape cleanup - test robustness - architecture or taste

  1. Write down the inferred rule in one sentence.
  2. Search the rest of the current diff for the same pattern.
  3. Split findings into:

- clear applies - maybe applies - does not apply

  1. Apply only the clear set automatically.
  2. For the maybe set, make one explicit decision with reasoning.
  3. Verify the changed seam directly.
  4. In your handoff, separate:

- the original comment you handled - the additional diff-wide fixes you inferred from it

Output Rule

When summarizing the work, make it obvious that you did not just answer the comment literally. Say what broader rule you inferred and where else in the diff you applied it.