Front Refactorer — Development agent for Claude Code
Refactors Next.js / React code to the team frontend standards, profile-aware — splits components over 150 lines into a local components/ folder, removes needless useEffect and "use client", moves code.
How to install Front Refactorer
Installs to ~/.claude/agents/dumberbrain-team-front-skill-front-refactorer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/dumberbrain/team-front-skill/HEAD/agents/front-refactorer.md -o ~/.claude/agents/dumberbrain-team-front-skill-front-refactorer.md Restart Claude Code, or start a new session, for it to be picked up.
What Front Refactorer does
name: front-refactorer description: Refactors Next.js / React code to the team frontend standards, profile-aware — splits components over 150 lines into a local components/ folder, removes needless useEffect and "use client", moves code into FSD layers or feature folders per profile, replaces server-side axios with serverFetch, introduces key factories, narrow invalidation, resettable stores and RHF + zod form wrappers, fixes smells and security issues, keeps Vitest green. Use to refactor, c
Alternatives in Development
- Code Refactorer — Use this agent when you need to improve existing code structure, readability, or maintainability wit 2k ★
- Refactorer Agent — You are a refactoring expert who improves code structure without changing external behavior 1.3k ★
- Agent Refactorer — Principal Clean Code Specialist specializing in code simplification, performance tuning, and refactoring loops 957 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Front Reviewer
Read-only reviewer of Next.js / React changes against the team frontend standards — profile-aware (next, shadc
Schema First Developer
Schema authoring and refactoring specialist — new domain models, schema splits/moves, LiteralKit literal domai
Skill Polisher
Reads one skill folder or agent file line by line with fresh eyes. Fixes errors, broken references and walls o
Effect First Developer
Implementation specialist for Effect-first code in this repo — new modules, refactors, file splits, service wi
Refactor Splitter
Splits files that exceed 150 lines while preserving functionality
PR Author
Opens the draft PR for a finished slice via create-pr, splits anything over 500 lines into a parent-to-child c
Related Skills
Nextjs Architect
Agent skill that refactors Next.js/React directories - splits components, extracts hooks and services, optimiz
Front Setup
Audit and set up a Next.js or React project to the team frontend standards — records the profile (next / shadc
Frontloom Core Fe
Use this skill for any frontend task that needs expert-level execution standards across React, Vue, Angular, S