anti-slop

Audit source code files for AI-generated slop patterns and output a structured report.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/b4r7x/agent-skills --skill anti-slop-b4r7x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anti-slop
Source: https://github.com/b4r7x/agent-skills/tree/main/anti-slop
Command: npx skills add https://github.com/b4r7x/agent-skills --skill anti-slop-b4r7x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill identifies and helps remove patterns in code that are often generated by AI, leading to cleaner, more maintainable, and human-readable source code.

Core Features & Use Cases

  • AI Slop Detection: Audits code for common AI writing artifacts like unnecessary comments, over-engineering, defensive coding, AI voice markers, dead code, type workarounds, and verbose patterns.
  • Structured Reporting: Provides a detailed report with line references, severity levels, and suggested fixes for each detected issue.
  • Use Case: After an AI assistant generates a significant portion of your codebase, run this Skill to review the output and ensure it adheres to high-quality coding standards, removing any AI-specific bloat.

Quick Start

Run the anti-slop skill to audit all TypeScript files in the src directory.

Frequently Asked Questions about anti-slop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect and remove AI-generated code bloat from my source files?

You can detect AI-generated code bloat by auditing source files for patterns like unnecessary comments, over-engineering, defensive over-coding, AI voice markers, dead code, type workarounds, and verbose patterns using automated code review tools.

What are common AI slop patterns in code generated by artificial intelligence?

Common AI slop patterns include unnecessary comments, over-engineering, defensive over-coding, AI voice markers, dead code, type workarounds, and verbose patterns that reduce code maintainability and readability.

Can I audit multiple programming languages for code quality issues at once?

You can audit multiple programming languages simultaneously by passing multiple file paths or glob patterns, supporting TypeScript, JavaScript, Python, Go, Rust, Java, Ruby, PHP, Swift, and Kotlin files for comprehensive code quality analysis.

How do I review an AI-generated codebase for maintainability and code quality?

To review an AI-generated codebase for maintainability, run a code audit that scans for AI-specific artifacts and outputs a structured report with line references, severity levels, and suggested fixes to ensure high-quality coding standards.

Does anti-slop code auditing work with Python and Go files?

Yes, anti-slop code auditing works with Python and Go files, alongside TypeScript, JavaScript, Rust, Java, Ruby, PHP, Swift, and Kotlin, allowing you to scan multiple file paths or glob patterns for AI-generated patterns.

What is the best way to clean up over-engineered code and defensive over-coding?

The best way to clean up over-engineered code and defensive over-coding is to perform a code audit that detects these specific patterns, outputs a structured report with line references and severity levels, and provides suggested fixes for targeted refactoring.