From rdxmin
Audits files, diffs, or repos for over-engineered code and bloated prose in a single pass, outputting a ranked report of what to cut.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rdxmin:rdx-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scan the target (a diff, a file, or the repo tree) and report what to cut, on
Scan the target (a diff, a file, or the repo tree) and report what to cut, on both axes. One-shot. Read-only — never edit, never write a flag, never apply fixes.
git diff (staged + unstaged). Empty diff → audit HEAD~1..HEAD.node_modules/dist/lockfiles).Code (the YAGNI axis):
<input type>) does itProse (the compression axis) — the half a code-only auditor misses:
i += 1 // increment i)Input validation at trust boundaries, error handling that prevents data loss,
security, accessibility, deliberate // rdx: / // ponytail: shortcuts already
documented, or domain comments that explain why (not what).
One ranked list, biggest cut first. One finding per line. No preamble, no praise.
path:line [code|prose] <what's bloated> → <the lean replacement>. (~N lines/tokens)
End with a two-line summary:
N findings: X code, Y prose. Est. removable: ~A lines code, ~B lines prose.
Biggest win: <the single highest-impact cut>.
Be honest about uncertainty — mark a finding (check) if cutting it might lose
behavior you can't verify from the snippet. Lean toward fewer, high-confidence
findings over a long speculative list.
npx claudepluginhub jaypokale/rdxmin --plugin rdxminReviews diffs and files for over-engineering, speculative abstractions, reinvented stdlib, and verbose code, suggesting simpler alternatives.
Scans the entire codebase for over-engineering: dead code, unnecessary dependencies, and complex abstractions. Outputs a ranked list of what to delete, simplify, or replace with stdlib/native equivalents.
Reviews diffs to identify over-engineered and over-verbose code (speculative generality, hand-rolled stdlib, dead code, redundant comments). Outputs a terse delete-list with line savings. Use when asked to review, trim, or de-bloat a change before opening a PR.