/devops-skills:deslopfrom devops-skills
Scans staged or recent changes for AI-generated verbosity patterns (slop) and presents findings for user approval. Use when asked to clean up AI-generated code or remove unnecessary comments.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Identify and remove AI-generated verbosity patterns from code.
Target recent or staged changes only, not the whole codebase:
# Check staged changes
git diff --cached --name-only
# Check recent commits (default: last commit)
git diff HEAD~1 --name-only
If the user doesn't specify scope, ask: staged changes or last N commits?
Identify which files to scan:
git diff --cached)git diff HEAD~N)Only scan code files. Skip markdown, docs, and config files.
Read each file in scope. Apply the 10 detection patterns from slop-patterns.md.
For each match, record:
Group by severity:
| Severity | Description | Examples |
|---|---|---|
| High | Pure noise, safe to remove | Obvious comments, filler summaries |
| Medium | Likely unnecessary, review | Over-engineered error handling, verbose docstrings |
| Low | Possibly intentional, confirm | Extra validation, type annotations |
Show each finding one at a time for user review. Follow the workflow in review-workflow.md.
Format:
## Finding 1/N — [pattern-type] (severity)
File: src/utils.ts:23-25
Current:
// This function adds two numbers together and returns the result
function add(a: number, b: number): number {
Suggested:
function add(a: number, b: number): number {
Remove? [y/n/skip-all-of-type]
Only apply changes the user explicitly approves. Never auto-fix.
After all findings reviewed, show summary:
## Deslop Summary
- Reviewed: 15 findings
- Removed: 10
- Skipped: 5
- Lines removed: 34
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub spences10/claude-code-toolkit --plugin devops-skills5 skills in this plugin
/assholeStop dismissing pre-existing test/build failures. Use when reporting test results, build output, or any command output containing errors or failures./ci-debug-workflowDebug failing CI pipelines, containers, and reproduce bugs locally. Use when CI is red, containers won't start, or need to reproduce bugs./improve-codebase-architectureExplore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.Other plugins' skills for the same job