code-cleanup

Delegate to Code Janitor

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-cleanup" with this command: npx skills add krmcbride/claude-plugins/krmcbride-claude-plugins-code-cleanup

Delegate to Code Janitor

When you encounter repetitive, mechanical code tasks, launch the code-janitor agent instead of doing the work yourself to preserve context.

Delegate When:

  • Fixing multiple linting errors across files

  • Renaming variables/functions consistently across codebase

  • Updating import statements in multiple files

  • Fixing formatting or style violations throughout project

  • Resolving IDE diagnostics in batch

  • Bulk refactoring that doesn't require design decisions

Keep in Main When:

  • Task requires architectural decisions

  • Single file with 1-2 changes

  • User explicitly wants you to do it

How:

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-content

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-examples

No summary provided by upstream source.

Repository SourceNeeds Review
General

documentation-lookup

No summary provided by upstream source.

Repository SourceNeeds Review