slop
FeaturedRemove AI-generated code slop from git diffs to maintain code quality
Code & Development 120 stars
13 forks Updated today MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Remove AI Code Slop
Check the diff against a branch and remove all AI-generated slop introduced in this branch. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
## Usage
`/slop [branch-name]`
- If no branch is provided, compare against main: `/slop main`
## What is AI Code Slop?
This includes:
- Extra comments that a human wouldn't add or is inconsistent with the rest of the file
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase
- Casts to `any` to get around type issues
- Any other style that is inconsistent with the file
## Core Principles
### 1. Preserve Functionality
Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
### 2. Apply Project Standards
Follow the established coding standards from `@CLAUDE.md` or conventions:
- Use proper import sorting and file organization
- Follow language-specific patterns (ES modules, proper TypeScript types, etc.)
- Maintain consistent naming conventions
- Use proper error handling patterns
### 3. Enhance Clarity
Simplify code structure by:
- Reducing unnecessary complexity and nesting
- Eliminating redundant code and abstractions
- Improving readability through clear variable and function names
- Consolidating related logic
- Removing unnecessary comments that describe obvious code
- **IMPORTANT**: Use switch statements or if/else chains over nested...
Details
- Author
- jellydn
- Repository
- jellydn/my-ai-tools
- Created
- 8 months ago
- Last Updated
- today
- Language
- Shell
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
clean-slop
Remove AI-generated code slop from a branch. Use when cleaning up AI-generated code, removing unnecessary comments, defensive checks, or type casts. Checks diff against main and fixes style inconsistencies.
146 Updated 1 weeks ago
alfredolopez80 AI & Automation Featured
deslop
Remove AI-generated code slop and clean up code style
333 Updated 2 days ago
michael-denyer AI & Automation Listed
deslop
Remove AI-generated code slop and clean up code style
16 Updated today
ulises-jeremias