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.
Automates repetitive code tasks like fixing linting errors, renaming variables across files, or updating imports. Use this when you need to preserve context for architectural decisions while delegating bulk mechanical changes.
/plugin marketplace add krmcbride/claude-plugins/plugin install essentials@krmcbride-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
When you encounter repetitive, mechanical code tasks, launch the code-janitor agent instead of doing the work yourself to preserve context.
Use Task tool with subagent_type: "essentials:code-janitor" providing task description and scope.
The code-janitor agent uses TodoWrite to track work, iterates until complete, and verifies with linters.