accountable-engineerin…
Use explicit human checkpoints for architecture, security, rollout, or operational decisions.
Remove AI-generated code slop from git diffs to maintain code quality
$ npx -y skills add jellydn/my-ai-tools --skill slop --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/slopContext preview
The summary Claude sees to decide when to auto-load this skill.
Remove AI-generated code slop from git diffs to maintain code quality
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 hint: Use when cleaning up AI-generated code slop in git diffs user-invocable: true metadata: audience: all workflow: code-quality
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.
`/slop [branch-name]`
This includes:
Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
Follow the established coding standards from `@CLAUDE.md` or conventions:
Simplify code structure by:
Preserve necessary complexity — over-simplification can:
# Compare against main branch git diff main...HEAD --stat # Or against specific branch git diff $1 --stat
For each changed file:
# Show remaining changes git diff --stat # Check tests still pass npm test
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
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
Portable, source-controlled configuration for AI coding assistants. my-ai-tools installs one consistent set of agent guidelines, skills, commands, hooks, MCP servers, and tool settings across supported AI coding assistants.
Use explicit human checkpoints for architecture, security, rollout, or operational decisions.
Record architecture decisions with ADRs — captures why, alternatives considered, and consequences
Use when monitoring an open GitHub PR for CI failures, review feedback, mergeability, and safe retries or fixes.
Inspect history and architecture for hidden constraints before risky cross-cutting changes.
Build an interactive report or experiment when the user asks to explore model capabilities.
Audit a diff for structural maintainability and unnecessary complexity.