Refactor Frontend — Development agent for Claude Code
Use this agent when frontend code needs refactoring to improve maintainability, reduce complexity, or better align with codebase patterns.
How to install Refactor Frontend
Installs to ~/.claude/agents/tuck1297-agent-skills-refactor-frontend.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Tuck1297/agent-skills/HEAD/agents/refactor-frontend.md -o ~/.claude/agents/tuck1297-agent-skills-refactor-frontend.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactor Frontend does
name: refactor-frontend description: "Use this agent when frontend code needs refactoring to improve maintainability, reduce complexity, or better align with codebase patterns. Specifically invoke this agent when:\\n\\n- Component files exceed 300 lines or have multiple responsibilities\\n- Logic is duplicated across components\\n- State management patterns are inconsistent\\n- Components need to be decomposed into smaller, reusable pieces\\n- Hook logic needs extraction or optimization\\n-
Alternatives in Development
- Code Refactorer — Use this agent when you need to improve existing code structure, readability, or maintainability wit 2k ★
- Refactoring Expert — Improve code quality and reduce technical debt through systematic refactoring and clean code principles 1.5k ★
- TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Clean Code Refactor
Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose
Code Refactor
Improve code structure, performance, and maintainability through systematic refactoring. Specializes in legacy
Go Refactor
Refactors Go code to improve structure, readability, and maintainability while preserving behavior. Delegate r
Sc Refactoring Expert
Improve code quality and reduce technical debt through systematic refactoring and clean code principles
Code Enhancement Specialist
Use this agent when you need systematic improvements to existing code, including refactoring for better perfor
Committee Engineering Software Engineer
Software engineer, a member of the committee's engineering chapter. Judges maintainability, complexity, duplic
Related Skills
Addy Code Simplify
Simplify code for clarity and maintainability — reduce complexity without changing behavior
Tighten
Scan a file, folder, or repo for high-confidence refactor wins that reduce complexity with minimal side effect
Twin Sparrow Code Quality Skill
Review, refactor, and harden code for correctness, maintainability, testability, and operational safety across