slop
Remove AI-generated code slop from git diffs to maintain code quality
Skill by jellydn
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jellydn-slop-68dcde
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
slop- Description
- Remove AI-generated code slop from git diffs to maintain code quality
- License
- MIT
- Compatibility
- cline, claude, opencode, amp, codex, gemini, cursor, pi
- Metadata
- audience: all · workflow: code-quality
- Instructions
- 126 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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 ternary operators - Choose clarity over brevity - explicit code is often better than overly compact code ### 4. Maintain Balance Preserve necessary complexity — over-simplification can: - Reduce code clarity or maintainability - Create overly clever solutions that are hard to understand - Combine too many concerns into single functions - Remove helpful abstractions that improve code organization - Prioritize "fewer lines" over readability ## Process ### 1. Get the diff ```bash # Compare against main branch git diff main...HEAD --stat # Or against specific branch git diff $1 --stat ``` ### 2. Review each changed file For each changed file: - Read the current content - Compare with original (before changes) - Identify AI-generated slop patterns - Check for opportunities to improve elegance and consistency ### 3. Remove slop and refine - Remove unnecessary comments - Simplify overly defensive code - Remove `any` casts where possible - Restore natural code style - Apply project-specific best practices - Ensure all functionality remains unchanged ### 4. Verify ```bash # Show remaining changes git diff --stat # Check tests still pass npm test ``` ## Common Slop Patterns 1. **Over-commenting**: Comments explaining obvious code 2. **Verbose error handling**: Try/catch blocks where not needed 3. **Unnecessary type casts**: `x as any` to bypass TypeScript 4. **Defensive programming**: Checks for already-validated inputs 5. **Redundant validation**: Duplicate null/undefined checks 6. **Nested ternaries**: Complex nested ternary operators 7. **Overly compact code**: Dense one-liners that sacrifice readability ## Refinement Guidelines When refining code: 1. **Identify the modified sections** - Only refine code that changed in the diff 2. **Analyze for improvement opportunities** - Look for ways to enhance elegance and consistency 3. **Apply project standards** - Follow established conventions and patterns 4. **Preserve functionality** - Ensure behavior remains unchanged 5. **Verify improvements** - The refined code should be simpler and more maintainable 6. **Document significant changes** - Only document changes that affect understanding ### Code Style Preferences
From jellydn/my-ai-tools, MIT.
More from jellydn/my-ai-tools
- 0.722score
babysit-pr
jellydn
Use when monitoring an open GitHub PR for CI failures, review feedback, mergeability, and safe retries or fixes.
SkillAFreshness: A★ 123Claude Code +9 - 0.722score
visual-pr
jellydn
Posts a concise visual outline as a GitHub pull request comment.
SkillAFreshness: A★ 123Claude Code +9 - 0.716score
codemap
jellydn
Create a seven-document architecture map when the user asks to map a codebase.
SkillAFreshness: A★ 123Claude Code +9 - 0.716score
draft-pull-request
jellydn
Draft pull requests with structured descriptions using gh CLI
SkillAFreshness: A★ 123Claude Code +9 - 0.714score
diagnosing-bugs
jellydn
Build a tight, red-capable feedback loop before diagnosing failures, then minimize, test ranked hypotheses, and lock the fix with a regression test.
SkillAFreshness: A★ 123Claude Code +9 - 0.713score
pr-review
jellydn
Fix PR review comments by implementing requested changes
SkillAFreshness: A★ 123Claude Code +9 - 0.711score
code-review
jellydn
Review a branch, PR, or worktree diff for repository conventions and stated intent.
SkillAFreshness: A★ 123Claude Code +9 - 0.711score
pr
jellydn
Write a fast-to-review pull request body with a visual summary, before/after evidence, and merge-risk analysis.
SkillAFreshness: A★ 123Claude Code +9 - 0.711score
implementation-logger
jellydn
Log implementation decisions — tracks deviations from plan and captures rationale
SkillAFreshness: A★ 123Claude Code +9 - 0.711score
plannotator-setup-goal
jellydn
Turn ideas into executable goal packages with guided interviews and codebase analysis
SkillAFreshness: A★ 123Claude Code +9 - 0.711score
blindspot-pass
jellydn
Inspect history and architecture for hidden constraints before risky cross-cutting changes.
SkillAFreshness: A★ 123Claude Code +9 - 0.711score
implement-spec
jellydn
Implement a complete spec from its ticket graph, using isolated workers and one integration branch.
SkillAFreshness: A★ 123Claude Code +9
Signals
- Stars
- 123
- Forks
- 12
- Open issues
- 3
- Last commit (this folder)
- Jul 10, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jellydn/my-ai-tools
- Website
- ai-tools.itman.fyi/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from jellydn
- 0.722score
babysit-pr
jellydn
Use when monitoring an open GitHub PR for CI failures, review feedback, mergeability, and safe retries or fixes.
SkillAFreshness: A★ 123Claude Code +9 - 0.722score
visual-pr
jellydn
Posts a concise visual outline as a GitHub pull request comment.
SkillAFreshness: A★ 123Claude Code +9 - 0.716score
draft-pull-request
jellydn
Draft pull requests with structured descriptions using gh CLI
SkillAFreshness: A★ 123Claude Code +9 - 0.716score
codemap
jellydn
Create a seven-document architecture map when the user asks to map a codebase.
SkillAFreshness: A★ 123Claude Code +9 - 0.714score
diagnosing-bugs
jellydn
Build a tight, red-capable feedback loop before diagnosing failures, then minimize, test ranked hypotheses, and lock the fix with a regression test.
SkillAFreshness: A★ 123Claude Code +9 - 0.713score
pr-review
jellydn
Fix PR review comments by implementing requested changes
SkillAFreshness: A★ 123Claude Code +9
Cite this page
slop skill. Agent Mart. https://agentmart.dev/skills/jellydn-slop-68dcde (last updated 2026-10-24)