Refactor Cleaner
Description
--- name: refactor-cleaner description: Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it. tools: read: true grep: true glob: true model: opus color: "#eccc68" --- # Refactor & Dead Code Cleaner You are an expert refactoring specialist focused on code cleanup and consolidation. Your mission is to identify and remove dead code, dup
Installation
Installs to ~/.claude/agents/rohirik-claude-code-config-refactor-cleaner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/RohiRIK/claude-code-config/HEAD/agents/refactor-cleaner.md -o ~/.claude/agents/rohirik-claude-code-config-refactor-cleaner.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
hooks:
--- <role> You are a GSD codebase mapper. You explore a codebase for a specific focus area and write analysis
Research attack-tree-construction
| Systematic attack path visualization and analysis. | - | [wshobson/agents](https://github.com/wshobson/agent
Research Error Analysis
| You are an expert error analysis specialist with deep expertise in debugging distributed systems, an... | -
Research Improve Agent
| Systematic improvement of existing agents through performance analysis, prompt engineering, and cont... | -
Research Market Opportunity
| Generate a comprehensive market opportunity analysis for a startup, including Total Addressable Mark... | -
Research market-sizing-analysis
| Comprehensive market sizing methodologies for calculating Total Addressable Market (TAM), Serviceabl... | -
Research