Skill

anti-slop-toolkit

by majiayu000

AI Summary

Anti-slop-toolkit automates detection and cleanup of AI-generated low-quality patterns in Python, R, and text files, helping developers maintain code quality through CI/CD integration and pre-commit hooks.

Install

# Add to your project root as SKILL.md
curl -o SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/toolkit/SKILL.md"

Description

Automated detection and cleanup tools for AI slop patterns. Provides Python and R scripts for active slop detection, scoring, and cleanup across codebases. Use when you need automated quality enforcement.

When to Use This Skill

Use anti-slop-toolkit when: • ✓ Running automated slop detection across a codebase • ✓ Integrating slop checks into CI/CD pipelines • ✓ Setting up pre-commit hooks for quality enforcement • ✓ Auditing large projects for generic AI patterns • ✓ Batch processing multiple files for cleanup • ✓ Establishing quantitative quality thresholds Do NOT use when: • Manual review is more appropriate (use domain-specific anti-slop skills) • Dealing with non-text files (images, binaries) • Working with languages not covered by scripts (use manual skills)

Quick Example

Running Detection: `bash

Text file detection

$ python3 scripts/detect_slop.py report.md --verbose Analyzing: report.md Overall Slop Score: 45/100 High-Risk Phrases (3 found): Line 12: "delve into the complexities" Line 34: "in today's fast-paced world" Line 67: "it's important to note that" Recommendations: • Remove meta-commentary • Simplify wordy phrases • Replace buzzwords with direct language

R code detection

$ Rscript scripts/detect_slop.R analysis.R --verbose Analyzing: analysis.R Overall Slop Score: 52/100 Generic Variables (5 found): Line 8: df Line 15: data Line 23: result Recommendations: • Replace generic variable names • Add namespace qualification • Remove obvious comments ` Running Cleanup: `bash

Quality Score

B

Good

81/100

Standard Compliance72
Documentation Quality75
Usefulness78
Maintenance Signal100
Community Signal92
Scored Yesterday

GitHub Signals

Stars100
Forks15
Issues1
UpdatedYesterday
View on GitHub

Trust & Transparency

Open Source — MIT

Source code publicly auditable

Verified Open Source

Hosted on GitHub — publicly auditable

Actively Maintained

Last commit Yesterday

100 stars — Growing Community

15 forks

My Fox Den

Community Rating

Works With

Claude Code