BumpyClock/agent-templates / skills/engineering/deslop
deslop
UnverifiedRemove AI-generated code slop and clean up code style
Remove AI code slop
Check the diff against main and remove AI-generated slop introduced in the branch.
Focus Areas
- Extra comments that are unnecessary or inconsistent with local style
- Defensive checks, broad
try/catch, or fallback paths added only to avoid understanding a trusted path - Casts to
anyused only to bypass type issues - Deeply nested code that should be simplified with guard clauses and early returns
- Single-use abstractions, wrappers, options, or config that the task did not need
- Naming, error handling, tests, or file structure that diverges from nearby code
- Queries with mutation, or commands not explicit about meaningful returns (CQS)
- Other patterns inconsistent with the file and surrounding codebase
Output
Keep the final summary concise (1-3 sentences): what was removed or simplified, and what verification ran.
Guardrails
- Keep behavior unchanged unless fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Re-run the relevant verification after cleanup.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |