Python Anti-Slop is a specialized Claude Code skill designed to transform generic, low-quality AI outputs into robust, maintainable production code. It addresses common issues like ambiguous variable naming, missing type annotations, and inefficient pandas operations. By enforcing strict adherence to PEP 8, NumPy-style docstrings, and explicit error handling, this skill ensures that data science pipelines and general Python scripts are readable, type-safe, and ready for professional code reviews or deployment.
Key Features
01Optimizes pandas operations with method chaining and explicit copies
02Mandates comprehensive type hints for all function signatures
03Implements robust error handling with specific exception types
040 GitHub stars
05Enforces PEP 8 compliance and organized import hierarchies
06Standardizes NumPy/Google style docstrings for better documentation