Cleanup Slops

Find and simplify implicit state machines across a repository or a specified pull request without regressing behavior. Use for requests such as "find all of the implicit state machines in my app" or a cleanup pass that removes redundant state and consolidates scattered transitions for readability and maintenance.

9 stars 3 forksGit & Code Review Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add comfuture/agent-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add comfuture/agent-skills --skill cleanup-slops
Manual install
git clone --depth 1 https://github.com/comfuture/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/plugins/develoop/skills/cleanup-slops ~/.claude/skills/cleanup-slops

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cleanup Slops

Start from this prompt:

> find all of the implicit state machines in my app

Use it as a discovery lens for a behavior-preserving cleanup. Find lifecycle
rules hidden across mutable flags, nullable values, effects, callbacks, and
duplicated status fields. Remove unnecessary stored state and scattered
coordination; make essential transitions easier to understand and maintain.

An implicit state machine exists when the meaning or legality of an operation
depends on prior events and combinations of state, while its transitions and
invariants are distributed across the code. Multiple booleans alone are not
evidence: independent settings may legitimately vary independently.

## Establish the boundary

- For a repository-wide request, map application entry points and runtime
  modules, then track which areas were inspected. Start with first-party code;
  exclude generated, vendored, and build output unless they own relevant
  behavior. Do not claim exhaustive discovery from a few keyword searches.
- For a specified PR, resolve the target repository, base, and head. Inspect the
  merge-base-to-head diff and the full enclosing implementations, callers,
  consumers, and tests needed to understand it. Address machines introduced,
  modified, or relied on by that implementation; record unrelated discoveries
  without expanding the patch. Keep findings tied to the inspected head.
- Honor explicit inspection-only or planning requests. When cleanup is
Read the full skill on GitHub

Details

Skill name
cleanup-slops
Path
plugins/develoop/skills/cleanup-slops/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Cleanup Slops skill do?

Find and simplify implicit state machines across a repository or a specified pull request without regressing behavior. Use for requests such as "find all of the implicit state machines in my app" or a cleanup pass that removes redundant state and consolidates scattered transitions for readability and maintenance.

How do I install the Cleanup Slops skill?

Claude Code plugin: /plugin marketplace add comfuture/agent-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cleanup Slops popular?

It lives in comfuture/agent-skills, which has 9 GitHub stars and 3 forks.

Related skills

Gh Autoreview Resolve

9

comfuture/agent-skills

Run a bounded GitHub automated-review and resolution loop for a specified pull request. Use when an agent must mark a PR ready for review, confirm the automated reviewer started through an eyes reaction, wait for a thumbs-up or concrete review response, validate and address review threads, request a narrowly focused `@codex review` follow-up when warranted, prevent review scope creep through PR comments or a gh-create-issue follow-up, and optionally merge with the user's preferred strategy.

Git & Code Review

Gh Create Issue

9

comfuture/agent-skills

Create high-quality GitHub issues or issue drafts from repository evidence, user intent, and external documentation. Use when the user asks an agent to create, draft, file, open, or prepare an implementation issue, bug report, feature request, follow-up issue, or GitHub issue with researched facts, scope, non-goals, suggested direction, acceptance criteria, and validation notes.

Git & Code Review

Gh Implement Issue

9

comfuture/agent-skills

Implement GitHub issues through a complete branch-to-PR workflow. Use when the user asks an agent to implement, fix, or ship a specific GitHub issue, including reading issue comments, confirming the implementation contract, creating a branch, making atomic commits, validating, pushing, opening or updating a PR, and handling issue-linked review/CI follow-up. Use related skills or integrations when available; otherwise inspect the repository, issue, PR, CI, and review context directly with the available tools.

Git & Code Review

Code Review Analyst

10

1ikeadragon/awesome-offsec-claude

Perform exploit-oriented code review by proving attacker-controlled paths from source to sink and validating impact.

Git & Code Review

Auto Experiment

5

zxl696/smallmodel-auto-experiment-skill

自动化超参数/架构搜索循环。给定模型代码、数据集和优化目标,自动生成 train.py,经双 agent 审计门禁通过后,循环调用 DeepSeek 提出改进建议、训练、用 git 追踪每轮变更,保留最优配置和 checkpoint。

Git & Code Review

Design Review

9

eralmansouri/skills

Design review of a codebase area, branch, or PR. Maps its bounded contexts, vertical slices, and modules, then judges where rules live and whether flexibility sits where change actually happens. Use when the user asks for a design or architecture review, or when a review should judge structure rather than bugs or style.

Git & Code Review

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.