From atv-starter-kit
Detects and strips AI-generated slop from code: simplifies unnecessary complexity, removes rotten comments, checks design patterns. Runs on git changes or paths before PRs.
npx claudepluginhub all-the-vibes/atv-starterkit --plugin atv-starter-kitThis skill uses the workspace's default tool permissions.
Three parallel analysis passes that detect and report AI-generated "slop" — generic, template-looking, over-enthusiastic output that makes code, comments, and UI feel artificial.
Identifies and interactively removes AI-generated slop like unnecessary comments and verbosity from staged or recent git changes.
Detects and removes AI-generated code slop like unnecessary comments, over-engineering, verbose error handling, premature abstractions, and filler patterns. Cleans to senior engineer standards while preserving functionality.
Analyzes code changes for quality issues via cleanup reports on technical debt and multi-perspective reviews from maintainer, architect, security, and performance viewpoints. Use before merges or PRs.
Share bugs, ideas, or general feedback.
Three parallel analysis passes that detect and report AI-generated "slop" — generic, template-looking, over-enthusiastic output that makes code, comments, and UI feel artificial.
Parse $ARGUMENTS for these tokens:
| Token | Example | Effect |
|---|---|---|
fix | /unslop fix | Auto-apply safe fixes after reporting |
<path> | /unslop src/components/ | Scope to specific file or directory |
| (none) | /unslop | Analyze all files changed since the base branch |
If a file or directory path is provided:
Scope to that path. Use find or glob to list all code files under it.
If no argument (default):
Determine changed files since the base branch:
BASE=$(git merge-base HEAD origin/main 2>/dev/null || git merge-base HEAD origin/master 2>/dev/null || echo "HEAD~10")
echo "FILES:" && git diff --name-only $BASE
echo "DIFF:" && git diff -U5 $BASE
Classify files in scope:
| File extensions | Passes to run |
|---|---|
.ts, .tsx, .js, .jsx, .py, .go, .rb, .rs, .java, .cs, .swift, .kt | Code Slop + Comment Rot |
.css, .scss, .less, .tsx, .jsx, .html, .vue, .svelte | + Design Slop |
.json, .yaml, .yml, .toml, .md | Code Slop + Comment Rot only |
If no UI/style files are in scope, skip the Design Slop pass entirely.
Announce the scope:
De-slop scope: 14 files changed since origin/main
Passes: Code Slop | Comment Rot | Design Slop (3 UI files detected)
Launch three sub-agents IN PARALLEL. Each receives the file list and diff content, and returns structured findings as text.
<parallel_tasks>
You are a code simplification expert. Analyze the provided files for AI-generated slop patterns. Focus ONLY on slop — not correctness, security, or architecture.
What to flag:
Unnecessary complexity
Redundant abstractions
YAGNI violations
Dead weight
Over-engineering
Return format:
{
"pass": "code-slop",
"findings": [
{
"file": "src/auth.ts",
"line": 42,
"issue": "Nested ternary — use if/else for readability",
"severity": "medium",
"fix_safe": true,
"suggested_fix": "Replace ternary chain with if/else block"
}
]
}
You are a technical documentation expert specializing in comment quality. Analyze the provided files for comment rot — inaccurate, redundant, or AI-generated filler comments.
What to flag:
Obvious restatements
// increment counter above counter++// return the result above return result// set the name above this.name = nameAI-generated filler phrases (hard bans — flag these immediately)
Factual inaccuracy
Stale comments
Over-documentation
// ==================)Return format:
{
"pass": "comment-rot",
"findings": [
{
"file": "src/auth.ts",
"line": 10,
"issue": "\"This function handles authentication\" — restates the function name",
"severity": "low",
"fix_safe": true,
"suggested_fix": "Remove comment — function name is self-documenting"
}
]
}
Only run this pass when UI/style files are in scope.
You are a design quality expert. Analyze the provided UI files for AI-generated visual slop — generic, template-looking patterns that signal "an AI made this, not a designer."
What to flag:
Generic color patterns
Template layouts
Missing interaction states
Lazy defaults
No visual hierarchy
Return format:
{
"pass": "design-slop",
"findings": [
{
"file": "src/Hero.tsx",
"line": 22,
"issue": "Generic purple-to-blue gradient — replace with brand palette",
"severity": "medium",
"fix_safe": false,
"suggested_fix": "Define an intentional brand gradient in design tokens"
}
]
}
</parallel_tasks>
WAIT for all Stage 2 sub-agents to complete.
Format the consolidated report using pipe-delimited markdown tables:
De-slop Report
==============
Scope: [N] files changed since [base]
Passes: Code Slop [✓|✗] | Comment Rot [✓|✗] | Design Slop [✓|skipped]
## Code Slop ([N] findings)
| # | File | Line | Issue | Severity |
|---|------|------|-------|----------|
| 1 | path | line | description | High/Medium/Low |
## Comment Rot ([N] findings)
| # | File | Line | Issue | Severity |
|---|------|------|-------|----------|
| 1 | path | line | description | High/Medium/Low |
## Design Slop ([N] findings)
| # | File | Line | Issue | Severity |
|---|------|------|-------|----------|
| 1 | path | line | description | High/Medium/Low |
─────────────────────────────
Summary: [N] findings ([H] High, [M] Medium, [L] Low)
Potential LOC reduction: ~[N] lines
Omit any pass section with zero findings. If all passes return zero findings:
De-slop Report: Clean! No slop detected in [N] files.
fix argument was provided)If the user invoked /unslop fix:
fix_safe: trueAuto-fix applied:
✓ Removed 3 commented-out code blocks (42 lines)
✓ Deleted 5 obvious-restatement comments
✓ Removed 2 stale TODOs
Remaining (manual review needed): 4 findings
If fix was NOT provided but fixable findings exist, suggest it:
Tip: Run /unslop fix to auto-apply [N] safe fixes
| Level | Meaning | Examples |
|---|---|---|
| High | Actively misleading or creates maintenance burden | Inaccurate comment, missing hover states, large dead code block |
| Medium | Noticeable slop that reduces quality | Unnecessary abstraction, AI filler phrase, generic gradient |
| Low | Minor quality improvement | Restatement comment, unused import, over-documentation |
Slop is never "Critical" — it's a quality concern, not a correctness or security issue.
Before presenting findings:
dist/, build/, node_modules/, .next/, vendor/, or similar generated directories.fix is specified./ce-review (which checks correctness) — /unslop checks aesthetics and quality.