rc-deslop

Solid

Removes AI-generated slop from the branch diff — unearned comments, defensive try/catch on trusted paths, `any` casts that only silence the type-checker, and nesting that should be an early return. Use before claiming a coding task complete, before a commit or PR, or when the user asks for slop cleanup. Do not use to hunt correctness or security defects (rc-code-review), to report on over-engineering without editing (rc-simplify-review), or to fix existing review issues (rc-fix-reviews).

Code & Development 19 stars 1 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
43
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
68
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Remove AI code slop Check the diff against main and remove AI-generated slop introduced in the branch. This edits; it is the cheap sweep that runs before every commit. `rc-simplify-review` is the expensive read-only counterpart that reports on over-engineering — reach for that one when the question is "did this need to exist?", not "is this written like a human wrote it?". Keep behavior unchanged unless fixing a clear bug, and prefer minimal, focused edits over broad rewrites. ## Focus Areas - Extra comments that are unnecessary or inconsistent with local style — this repo's convention is **no comments in code**; keep only pre-existing ones that already match the surrounding file. Never strip a comment that states a constraint the code cannot show (a safety invariant, a workaround with its reason, a `ponytail:` marker naming a deliberate ceiling). - Defensive checks or try/catch blocks that are abnormal for trusted code paths. Never remove input validation at a trust boundary, error handling that prevents data loss, or a security control — those are not slop, however defensive they read. - Casts to `any` used only to bypass type issues - Deeply nested code that should be simplified with early returns - Other patterns inconsistent with the file and surrounding codebase ## Guardrails - Keep the final summary concise (1-3 sentences).

Details

Author
rodolfochicone
Repository
rodolfochicone/rc-project
Created
1 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category