skills/anti-slop/SKILL.md
Comprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design. Use when reviewing or improving content quality, preventing generic AI patterns, cleaning up existing content, or enforcing quality standards in writing, code, or design work.
npx skillsauth add rand/cc-polymath anti-slopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Detect and eliminate generic AI-generated patterns ("slop") across natural language, code, and design.
AI slop refers to telltale patterns that signal low-quality, generic AI-generated content:
This skill helps identify and remove these patterns to create authentic, high-quality content.
Apply anti-slop techniques when:
For text files:
python scripts/detect_slop.py <file> [--verbose]
This analyzes text and provides:
Manual detection: Read the appropriate reference file for detailed patterns:
references/text-patterns.md - Natural language slop patternsreferences/code-patterns.md - Programming slop patternsreferences/design-patterns.md - Visual/UX design slop patternsAutomated cleanup (text only):
# Preview changes
python scripts/clean_slop.py <file>
# Apply changes (creates backup)
python scripts/clean_slop.py <file> --save
# Aggressive mode (may slightly change meaning)
python scripts/clean_slop.py <file> --save --aggressive
Manual cleanup: Apply strategies from the reference files based on detected patterns.
Remove immediately:
Simplify wordy phrases:
Replace buzzwords:
Be direct:
Be specific:
Be authentic:
Rename generic variables:
data → name what data it representsresult → name what the result containstemp → name what you're temporarily storingitem → name what kind of itemRemove obvious comments:
# Bad
# Create a user
user = User()
# Better - let code speak
user = User()
Simplify over-engineered code:
Improve function names:
handleData() → what are you doing with data?processItems() → what processing specifically?manageUsers() → what management action?Clarity over cleverness:
Meaningful names:
Appropriate documentation:
Visual slop:
Layout slop:
Copy slop:
Content-first design:
Intentional choices:
Authentic voice:
Consult these comprehensive guides when working on specific domains:
text-patterns.md - Complete catalog of natural language slop patterns with detection rules and cleanup strategies
code-patterns.md - Programming antipatterns across languages with refactoring guidance
design-patterns.md - Visual and UX design slop patterns with improvement strategies
Each reference includes:
Analyzes text files for AI slop patterns.
Usage:
python scripts/detect_slop.py <file> [--verbose]
Output:
Scoring:
Automatically removes common slop patterns from text files.
Usage:
# Preview changes
python scripts/clean_slop.py <file>
# Save changes (creates backup)
python scripts/clean_slop.py <file> --save
# Save to different file
python scripts/clean_slop.py <file> --output clean_file.txt
# Aggressive mode
python scripts/clean_slop.py <file> --save --aggressive
What it cleans:
Safety:
.backup file when overwritingWhen creating content:
Not all patterns are always slop:
Acceptable contexts:
Always consider:
The scripts are tools, not replacements for judgment:
# Check files before committing
python scripts/detect_slop.py src/documentation.md --verbose
# Clean up automatically
python scripts/clean_slop.py src/documentation.md --save
Create project-specific thresholds:
Scripts only handle text:
Context sensitivity:
Language coverage:
# User asks: "Can you review this article for AI slop?"
1. Read references/text-patterns.md for patterns to watch
2. Run: python scripts/detect_slop.py article.txt --verbose
3. Review findings and apply manual cleanup
4. Optionally run: python scripts/clean_slop.py article.txt --save
5. Do final manual review of cleaned content
# User asks: "Help me clean up generic AI patterns in my code"
1. Read references/code-patterns.md
2. Review code files manually for patterns
3. Create list of generic names to rename
4. Refactor following principles in code-patterns.md
5. Remove obvious comments and over-abstractions
# User asks: "Does this design look too generic?"
1. Read references/design-patterns.md
2. Check against high-confidence slop indicators
3. Identify specific issues (gradients, layouts, copy)
4. Provide specific recommendations from design-patterns.md
5. Suggest concrete alternatives
# User asks: "Help me create quality standards for our team"
1. Review all three reference files
2. Identify patterns most relevant to user's domain
3. Create project-specific guidelines
4. Set up detection scripts in development pipeline
5. Document acceptable exceptions
For text cleanup:
For code cleanup:
For design cleanup:
General principles:
development
Refactor codebases using Design by Typed Holes methodology - iterative, test-driven refactoring with formal hole resolution, constraint propagation, and continuous validation. Use when refactoring existing code, optimizing architecture, or consolidating technical debt through systematic hole-driven development.
development
Create world-class, accessible, responsive interfaces with sophisticated interactive elements including chat, terminals, code display, and streaming content. Use when building user interfaces that need professional polish and developer-focused features.
development
Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming. Activates for Zig development tasks.
development
Automatically discover WebAssembly skills when working with WebAssembly, WASM, WASI, wasm-bindgen, Rust to WASM, wasm-pack, or browser runtime. Activates for WASM development tasks.