From tehik-dev-skills
Detects and removes low-value AI-generated noise from code and documentation — redundant comments, dead helpers, duplicate blocks, weak naming, over-engineered wrappers, verbose docs. Use when the user asks to clean up messy code, reduce boilerplate, remove AI slop, simplify over-verbose documentation, remove dead code, remove unused helpers, or do a readability/noise-reduction pass. Supports audit-only and safe-fix modes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tehik-dev-skills:ai-slop-cleanerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```text
AI Slop Cleanup Progress
- [ ] Phase 1: Confirm scope and mode
- [ ] Phase 2: Scan target paths
- [ ] Phase 3: Classify findings by risk
- [ ] Phase 4: Apply only safe fixes (if mode=safe-fix)
- [ ] Phase 5: Run quality gates
- [ ] Phase 6: Produce final report
Reduce low-value generated noise without changing business behavior or API contracts.
This skill is for targeted cleanup in explicitly provided repositories/folders.
Use this skill when the user asks to:
Do not auto-apply this skill for feature development.
Before starting, confirm:
audit-only (report, no edits)safe-fix (low-risk edits allowed)Never auto-change in safe-fix mode:
Never use destructive git operations.
If unsure whether change is behavior-preserving, classify as needs-review instead of editing.
When code edits are needed, this skill must route through existing primary workflow/command IDs:
audit-only: no code edits, no primary workflow requiredsafe-fix with strictly behavior-preserving cleanup: use /refactor/implement-featureDo not bypass quality gates from the chosen primary workflow/command (/run-tests, /update-docs, /conventional-commit, etc. when required there).
audit-only on a first run in a new repository.safe-fix.Use rg/grep to locate pattern matches first; only read full file contents when a match warrants deeper inspection.
Look for patterns such as:
Code:
data, temp, helper, doStuff)Docs (when docs are in scope):
Use categories:
safe-fix: clear, behavior-preserving cleanupneeds-review: ambiguous or architecture-affectingblocked: forbidden area per safety rulesAssign severity:
low: readability onlymedium: maintainability riskhigh: could alter behavior if edited carelesslyAllowed examples:
For each applied fix, keep changes minimal and localized.
At minimum run project-appropriate checks:
If checks fail, include failure details and mark impacted findings as needs-review.
Return:
needs-review itemsUse these values for the Type column in the report table:
| Type | Meaning |
|---|---|
comment-noise | comment restates obvious code |
name-quality | weak identifier naming in local scope |
duplication | exact/near-exact repeated blocks |
dead-code | clearly unused private/internal code |
generated-boilerplate | low-value wrappers and passthroughs |
doc-filler | README/changelog prose with no real information |
redundant-javadoc | JSDoc/JavaDoc that restates the method signature |
debug-noise | gratuitous log/debug statements with no diagnostic value |
## AI Slop Cleanup Report
Mode: <audit-only|safe-fix>
Scope: <paths>
### Findings
| ID | Path | Type | Severity | Status | Note |
|----|------|------|----------|--------|------|
### Applied safely
- ...
### Needs review
- ...
### Verification
- Lint: <pass/fail/not-run>
- Tests: <pass/fail/not-run>
npx claudepluginhub tehik-ee/ai-generic-skills --plugin tehik-dev-skillsProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.