lishiyo

Code Cleanup Specialist — Development agent for Claude Code

Development community

Use this agent when you need to clean up and optimize your codebase by removing unused code, eliminating duplication, and updating outdated documentation.

How to install Code Cleanup Specialist

Installs to ~/.claude/agents/lishiyo-claude-code-template-code-cleanup-specialist.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/lishiyo/claude-code-template/HEAD/.claude/agents/code-cleanup-specialist.md -o ~/.claude/agents/lishiyo-claude-code-template-code-cleanup-specialist.md

Restart Claude Code, or start a new session, for it to be picked up.

What Code Cleanup Specialist does


name: code-cleanup-specialist description: Use this agent when you need to clean up and optimize your codebase by removing unused code, eliminating duplication, and updating outdated documentation. Examples: Context: User has just finished implementing a new feature and wants to clean up the codebase before committing. user: "I just finished adding the new authentication flow. Can you clean up any unused imports, duplicate code, and update the docs?" assistant: "I'll use the code-cl

Alternatives in Development

  • Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
  • Codebase Mental Model Documenter — Use this agent when you need to create or update technical documentation that helps developers understand the 1.2k ★
  • Example Curator — Use this agent when you need to evaluate CLAUDE.md examples for inclusion in the awesome-claude-md repository 570 ★

Full documentation available on GitHub

View Source Repository