The Slop skill is a specialized utility designed to refine AI-generated contributions by identifying and removing 'slop'—common artifacts like redundant comments, unnecessary defensive programming, and non-idiomatic type casts. By analyzing git diffs against a target branch, this skill helps developers maintain a clean, human-like codebase that adheres to specific project standards. It focuses on simplifying complex logic, such as nested ternaries, and ensuring that AI-assisted code remains readable, maintainable, and consistent without altering its original functionality.
주요 기능
01Flattens complex logic like nested ternaries into readable structures
02Identifies and removes redundant AI-generated comments and documentation
0342 GitHub stars
04Simplifies overly defensive checks and unnecessary try/catch blocks
05Replaces 'any' type casts with proper TypeScript patterns where possible
06Analyzes git diffs to target only modified sections for refinement
사용 사례
01Standardizing code quality across teams using different AI assistants
02Polishing AI-generated code before submitting a pull request
03Restoring idiomatic project style after high-volume AI refactoring