deslop

Featured

Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene.

AI & Automation 967 stars 111 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 96/100

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

Skill Content

# deslop Clean AI slop from code with certainty-based findings and auto-fixes. ## Parse Arguments ```javascript const args = '$ARGUMENTS'.split(' ').filter(Boolean); const mode = args.find(a => ['report', 'apply'].includes(a)) || 'report'; const scope = args.find(a => a.startsWith('--scope='))?.split('=')[1] || 'all'; const thoroughness = args.find(a => a.startsWith('--thoroughness='))?.split('=')[1] || 'normal'; ``` ## Input Arguments: `[report|apply] [--scope=<path>|all|diff] [--thoroughness=quick|normal|deep]` - **Mode**: `report` (default) or `apply` - **Scope**: What to scan - `all` (default): Entire codebase - `diff`: Only files changed in current branch - `<path>`: Specific directory or file - **Thoroughness**: Analysis depth (default: `normal`) - `quick`: Regex patterns only - `normal`: + multi-pass analyzers - `deep`: + CLI tools (jscpd, madge) if available ## Detection Pipeline ### Phase 1: Run Detection Script The detection script is at `../../scripts/detect.js` relative to this skill. **Run detection** (use relative path from skill directory): ```bash # Scripts are at plugin root: ../../scripts/ from skills/deslop/ node ../../scripts/detect.js . --thoroughness normal --compact --max 50 ``` **For diff scope** (only changed files): ```bash BASE=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@' || echo "main") # Use newline-separated list to safely handle filenames with special chars git diff --name-only origin/${BAS...

Details

Author
agent-sh
Repository
agent-sh/agentsys
Created
7 months ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

deslop

Remove AI-generated code noise from the current diff while preserving behavior. Use for deslop, AI slop cleanup, unnecessary comments, defensive checks, any casts, or needless nesting after an agent-generated change. Do not use as permission for a broad rewrite or when a real bug has not been isolated.

144 Updated today
AnastasiyaW
AI & Automation Listed

deslop

Reviews code readability first, then applies approved cleanup that makes the full pipeline understandable in seconds. Use when the user says "deslop" for readability (not structure lean-out), "make this readable", "make this less AI", "second pass", "clean this up", "rename for clarity", "show before and after", or asks to improve code comprehension across React, TypeScript, backend, folders, imports, hooks, or functions. If the real ask is full-repo lean / ban wrappers / kill ceremony / over-engineering, use deslop-v2 (optionally after grill-me-code-style-with-docs).

0 Updated 2 days ago
YosefHayim
AI & Automation Listed

slop-scan

Use when the user wants to scan the current repo for AI slop, verbosity, fragile hard-coded references (line numbers, test counts, file counts), or low-value contributions in tracked files, with each finding landing as its own atomic forward-going commit. Triggers on phrases like "scan for slop", "audit repo for slop", "deslop the repo", "remove slop from this codebase", "scrub the repo", "scan the codebase for AI signatures", or "clean up slop without rewriting history". Does NOT rewrite history; every finding lands as a forward-going commit, with the project's formatter, linter, and type-checker running before each commit.

2 Updated 4 days ago
tony