cleanup
Skill by simstudioai
Runs up to nine code quality passes on a chosen scope, covering React effects, memo, state, React Query, design, comments and tests. It then applies the fixes one pass at a time.
Install cleanup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/simstudioai/sim /tmp/sim && mkdir -p ~/.claude/skills && cp -r /tmp/sim/.agents/skills/cleanup ~/.claude/skills/cleanupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/simstudioai/sim /tmp/sim && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sim/.agents/skills/cleanup ~/.gemini/antigravity-cli/skills/cleanupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Cleanup is a skill that runs a set of code quality skills on a chosen scope. It covers effects, memo, callbacks, state, React Query, emcn design review, url-state, comments, and test audits. Up to nine analysis passes run in parallel as subagents and are read-only.
After analysis, it reconciles overlapping proposals and applies fixes pass by pass in a fixed dependency order, then runs bun run lint. Each proposal is checked against the current code before it is applied. It is meant for developers who want one pass over React and test code, with a summary of what was applied or skipped.
Written from the project's SKILL.md and checked against it.
What it can do
- Effects passRuns the you-might-not-need-an-effect review on the scope.
- Memo passRuns the you-might-not-need-a-memo review on the scope.
- Callback passRuns the you-might-not-need-a-callback review on the scope.
- State passRuns the you-might-not-need-state review on the scope.
- React Query passRuns the react-query-best-practices review on the scope.
- emcn design reviewRuns the emcn-design-review pass on the scope.
- URL state passRuns the you-might-not-need-url-state review on the scope.
- Comments passRuns the you-might-not-need-a-comment review on the scope.
- Test audit passAudits added or changed test files and proposes deleting those that fail the authoring gate.
What you need
- Bun, for running bun run lint from the repo root
- Git, for listing changed test files against a base
Try asking
- Run cleanup with fix=false on the diff to staging
- Clean up my current changes and apply the fixes
- Review PR #123 for unnecessary effects and memos without editing
Good to know
- Edits are applied by default. Set fix=false to only propose changes.
- Proposals are checked against the current code and dropped or re-derived if stale.
- The test audit pass runs only when the scope adds or changes test files.
- Boundary findings must be fixed in the code, not silenced with annotations.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/cleanup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to cleanup
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
cleanup: common questions
Does cleanup change my code without asking?
Yes, by default. The fix argument defaults to true, so fixes are applied. Setting fix=false only proposes changes.
What scope can cleanup review?
The default scope is your current changes. The source gives examples such as a diff to staging, a PR number, a folder path, or the whole codebase.
Can cleanup suppress boundary findings with annotations?
No. The source says boundary findings must be fixed at the call or the type, and annotations are only for documented exceptions.
How do I install cleanup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cleanup free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is cleanup safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cleanup?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
