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.
Detects and eliminates generic AI patterns ("slop") in text, code, and design. Use when reviewing AI-generated content, cleaning up generic writing, or enforcing quality standards.
/plugin marketplace add rand/cc-polymath/plugin install cc-polymath@cc-polymath-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
CLAUDE_MD_UPDATES.mdREADME.mdreferences/code-patterns.mdreferences/design-patterns.mdreferences/text-patterns.mdscripts/clean_slop.pyscripts/detect_slop.pyDetect 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:
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.