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 985 stars 114 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
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
today
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category