Refactor Analyst
Description
--- name: "refactor-analyst" description: "Use this agent when you need a thorough code quality analysis and refactoring recommendations for specific files, directories, or an entire branch. This agent reads code deeply, questions every pattern, checks for modern best practices, and produces a detailed report — without making any changes.\\n\\nExamples:\\n\\n<example>\\nContext: The user wants to analyze a specific directory for refactoring opportunities.\\nuser: \"Can you analyze the src/hooks/
Installation
Installs to ~/.claude/agents/opensource03-harnss-refactor-analyst.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/OpenSource03/harnss/HEAD/.claude/agents/refactor-analyst.md -o ~/.claude/agents/opensource03-harnss-refactor-analyst.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