anti-slop

rand/cc-polymath · updated Apr 24, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/rand/cc-polymath --skill anti-slop
0 commentsdiscussion
summary

Detect and eliminate generic AI-generated patterns ("slop") across natural language, code, and design.

skill.md

Anti-Slop Skill

Detect and eliminate generic AI-generated patterns ("slop") across natural language, code, and design.

What is AI Slop?

AI slop refers to telltale patterns that signal low-quality, generic AI-generated content:

  • Text: Overused phrases like "delve into," excessive buzzwords, meta-commentary
  • Code: Generic variable names, obvious comments, unnecessary abstraction
  • Design: Cookie-cutter layouts, generic gradients, overused visual patterns

This skill helps identify and remove these patterns to create authentic, high-quality content.

When to Use This Skill

Apply anti-slop techniques when:

  • Reviewing AI-generated content before delivery
  • Creating original content and want to avoid generic patterns
  • Cleaning up existing content that feels generic
  • Establishing quality standards for a project
  • User explicitly requests slop detection or cleanup
  • Content has telltale signs of generic AI generation

Core Workflow

1. Detect Slop

For text files:

python scripts/detect_slop.py <file> [--verbose]

This analyzes text and provides:

  • Slop score (0-100, higher is worse)
  • Specific pattern findings
  • Actionable recommendations

Manual detection: Read the appropriate reference file for detailed patterns:

  • references/text-patterns.md - Natural language slop patterns
  • references/code-patterns.md - Programming slop patterns
  • references/design-patterns.md - Visual/UX design slop patterns

2. Clean Slop

Automated 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.

Text Slop Detection & Cleanup

High-Priority Targets

Remove immediately:

  • "delve into" → delete or replace with "examine"
  • "navigate the complexities" → "handle" or delete
  • "in today's fast-paced world" → delete
  • "it's important to note that" → delete
  • Meta-commentary about the document itself

Simplify wordy phrases:

  • "in order to" → "to"
  • "due to the fact that" → "because"
  • "has the ability to" → "can"

Replace buzzwords:

  • "leverage" → "use"
  • "synergistic" → "cooperative"
  • "paradigm shift" → "major change"

Quality Principles

Be direct:

  • Skip preambles and meta-commentary
  • Lead with the actual point
  • Cut transition words that don't add meaning

Be specific:

  • Replace generic terms with concrete examples
  • Name specific things instead of "items," "things," "data"
  • Use precise verbs instead of vague action words

Be authentic:

  • Vary sentence structure and length
  • Use active voice predominantly
  • Write in a voice appropriate to context, not corporate-generic

Code Slop Detection & Cleanup

High-Priority Targets

Rename generic variables:

  • data → name what data it represents
  • result → name what the result contains
  • temp → name what you're temporarily storing
  • item → name what kind of item

Remove obvious comments:

# Bad
# Create a user
user = User()

# Better - let code speak
user = User()

Simplify over-engineered code:

  • Remove unnecessary abstraction layers
  • Replace design patterns used without purpose
  • Simplify complex implementations of simple tasks

Improve function names:

  • handleData() → what are you doing with data?
  • processItems() → what processing specifically?
  • manageUsers() → what management action?

Quality Principles

Clarity over cleverness:

  • Write code that's easy to understand
  • Optimize only when profiling shows need
  • Prefer simple solutions to complex ones

Meaningful names:

  • Variable names should describe content
  • Function names should describe action + object
  • Class names should describe responsibility

Appropriate documentation:

  • Document why, not what
  • Skip documentation for self-evident code
  • Focus documentation on public APIs and complex logic

Design Slop Detection & Cleanup

High-Priority Targets

Visual slop:

  • Generic gradient backgrounds (purple/pink/cyan)
  • Overuse of glassmorphism or neumorphism
  • Floating 3D shapes without purpose
  • Every element using same design treatment

Layout slop:

  • Template-driven layouts ignoring content needs
  • Everything in cards regardless of content type
  • Excessive whitespace without hierarchy
  • Center-alignment of all elements

Copy slop:

  • "Empower your business" type headlines
  • Generic CTAs like "Get Started" without context
  • Buzzword-heavy descriptions
  • Stock photo aesthetics

Quality Principles

Content-first design:

  • Design around actual content needs
  • Create hierarchy based on importance
  • Let content determine layout, not templates

Intentional choices:

  • Every design decision should be justifiable
  • Use patterns because they serve users, not because they're trendy
  • Vary visual treatment based on element importance

Authentic voice:

  • Copy should reflect brand personality
  • Avoid generic marketing speak
  • Be specific about value proposition

Reference Files

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:

  • Pattern definitions and examples
  • Detection signals (high/medium confidence)
  • Context where patterns are acceptable
  • Specific cleanup strategies

Scripts

detect_slop.py

Analyzes text files for AI slop patterns.

Usage:

python scripts/detect_slop.py <file> [--verbose]

Output:

  • Overall slop score (0-100)
  • Category-specific findings
  • Line numbers and examples
  • Actionable recommendations

Scoring:

  • 0-20: Low slop (authentic writing)
  • 20-40: Moderate slop (some patterns)
  • 40-60: High slop (many patterns)
  • 60+: Severe slop (heavily generic)

clean_slop.py

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:

  • High-risk phrases
  • Wordy constructions
  • Meta-commentary
  • Excessive hedging
  • Buzzwords
  • Redundant qualifiers
  • Empty intensifiers

Safety:

  • Always creates .backup file when overwriting
  • Preview mode shows changes before applying
  • Preserves content meaning (non-aggressive mode)

Best Practices

Prevention Over Cure

When creating content:

  1. Write with specific audience in mind
  2. Use concrete examples over abstractions
  3. Lead with the point, skip preambles
  4. Choose words for precision, not impression
  5. Review before considering it complete

Context-Aware Cleanup

Not all patterns are always slop:

Acceptable contexts:

  • Academic writing may need more hedging
  • Legal documents require specific phrasing
  • Internal documentation can use shortcuts
  • Technical docs have domain-specific conventions

Always consider:

  • Who is the audience?
  • What is the purpose?
  • Does this pattern serve a function?
  • Is there a better alternative?

Iterative Improvement

  1. Detect - Run detection scripts or manual review
  2. Analyze - Understand which patterns are truly problems
  3. Clean - Apply automated cleanup where safe
  4. Review - Manually verify changes maintain meaning
  5. Refine - Fix remaining issues by hand

Quality Over Automation

The scripts are tools, not replacements for judgment:

  • Use automated detection to find candidates
  • Apply automated cleanup to obvious patterns
  • Manually review anything that changes meaning
  • Exercise discretion based on context

Integration Patterns

Code Review

# 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

Content Pipeline

  1. Create initial content
  2. Run slop detection
  3. Apply automated cleanup
  4. Manual review and refinement
  5. Final quality check

Standards Enforcement

Create project-specific thresholds:

  • Max acceptable slop score: 30
  • Required manual review for scores > 20
  • Auto-reject submissions with scores > 50

Limitations

Scripts only handle text:

  • Code slop detection is manual (use code-patterns.md)
  • Design slop detection is manual (use design-patterns.md)

Context sensitivity:

  • Scripts can't understand all contexts
  • Some "slop" may be appropriate in certain domains
  • Always review automated changes

Language coverage:

  • Detection patterns optimized for English
  • Code patterns focus on common languages (Python, JS, Java)
  • Design patterns are platform-agnostic

Common Scenarios

Scenario 1: Review AI-Generated Content

# 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

Scenario 2: Clean Up Codebase

# 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

Scenario 3: Design Review

# 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

Scenario 4: Establish Quality Standards

# 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

Tips for Success

For text cleanup:

  • Run detection first to understand scope
  • Use non-aggressive mode for important content
  • Always review automated changes
  • Focus on high-risk patterns first

For code cleanup:

  • Start with renaming generic variables
  • Remove obvious comments next
  • Refactor over-engineered code last
  • Test after each significant change

For design cleanup:

  • Audit visual elements against patterns
  • Prioritize structural issues over aesthetic ones
  • Ensure changes serve user needs
  • Maintain brand consistency

General principles:

  • Quality > uniformity
  • Context > rules
  • Clarity > cleverness
  • Specificity > generality
how to use anti-slop

How to use anti-slop on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add anti-slop
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/rand/cc-polymath --skill anti-slop

The skills CLI fetches anti-slop from GitHub repository rand/cc-polymath and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/anti-slop

Reload or restart Cursor to activate anti-slop. Access the skill through slash commands (e.g., /anti-slop) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.748 reviews
  • Mateo Chen· Dec 24, 2024

    anti-slop reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Lucas Gonzalez· Dec 12, 2024

    anti-slop is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Valentina Jackson· Nov 15, 2024

    We added anti-slop from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Dev Gonzalez· Nov 3, 2024

    Keeps context tight: anti-slop is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Mia Gonzalez· Oct 22, 2024

    We added anti-slop from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Valentina Agarwal· Oct 6, 2024

    Keeps context tight: anti-slop is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Yash Thakker· Sep 25, 2024

    Keeps context tight: anti-slop is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Min Gupta· Sep 13, 2024

    anti-slop has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Mia Perez· Sep 9, 2024

    Keeps context tight: anti-slop is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Hiroshi Singh· Sep 5, 2024

    Useful defaults in anti-slop — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 48

1 / 5