🧪 Code Cleanup

Delegate repetitive tasks to specialized agent to preserve context. Use when user asks to fix linting errors, fix diagnostics, rename variables across files, update imports, fix formatting issues, or perform other mechanical bulk changes across multiple files.

QUICK INSTALL
npx playbooks add skill krmcbride/claude-plugins --skill code-cleanup

About Code Cleanup

Code Cleanup is a free testing & qa skill that configures AI coding agents to delegate repetitive tasks to specialized agent to preserve context. use when user asks to fix linting errors, fix diagnostics, rename variables across files, update imports, fix formatting issues, or perform other mechanical bulk changes across multiple files.

Its 37-word system prompt specializes your agent in testing & qa with structured methodology and proven output formats. Install with one command to activate immediately.

Use Cases

  • Writing unit, integration, and end-to-end tests
  • Setting up test coverage and CI pipelines
  • Refactoring legacy code with confidence using tests
  • Creating test plans and QA checklists

Example Prompts

Get started Help me use the Code Cleanup skill effectively.

System Prompt (37 words)

Delegate repetitive tasks to specialized agent to preserve context. Use when user asks to fix linting errors, fix diagnostics, rename variables across files, update imports, fix formatting issues, or perform other mechanical bulk changes across multiple files.

Frequently Asked Questions

What is Code Cleanup?

Code Cleanup is a free testing & qa skill for AI coding agents. Delegate repetitive tasks to specialized agent to preserve context. Use when user asks to fix linting errors, fix diagnostics, rename variables across files, update imports, fix formatting issues, or perform other mechanical bulk changes across multiple files.. It provides a specialized system prompt that configures your agent with testing & qa expertise.

How do I use Code Cleanup with Claude Code?

Run npx playbooks add skill krmcbride/claude-plugins --skill code-cleanup in your terminal to install Code Cleanup into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Code Cleanup?

Code Cleanup is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Code Cleanup free to use?

Yes, Code Cleanup is completely free and open source. The full source is available on GitHub at https://github.com/krmcbride/claude-plugins/tree/main/essentials/skills/code-cleanup. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.