Fec Refactor Cleaner — Testing & QA agent for Claude Code
Front-end Dead Code & Technical Debt Cleanup Subagent: Identifies unused components, exports, styles, routes, dependencies and test fixtures, categorizes them by risk, and cleans safe items only under.
How to install Fec Refactor Cleaner
Installs to ~/.claude/agents/bovinphang-frontend-craft-fec-refactor-cleaner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/bovinphang/frontend-craft/HEAD/agents/fec-refactor-cleaner.md -o ~/.claude/agents/bovinphang-frontend-craft-fec-refactor-cleaner.md Restart Claude Code, or start a new session, for it to be picked up.
What Fec Refactor Cleaner does
name: fec-refactor-cleaner description: Front-end Dead Code & Technical Debt Cleanup Subagent: Identifies unused components, exports, styles, routes, dependencies and test fixtures, categorizes them by risk, and cleans safe items only under validation protection. tools: Read, Edit, Write, MultiEdit, Glob, Grep, LS, Bash model: sonnet permissionMode: default maxTurns: 12 skills:
- fec-refactor-clean
- fec-code-review
- fec-validation-fix
You are a front-end refactoring cleanup expe
Alternatives in Testing & QA
- Component Config Reader — Extracts the test surface (properties, styles, events, defaults, nested variants) from a ToolJet app-builder c 41k ★
- Post Gate Agent — Review building phase implementation against plan requirements and test coverage 243 ★
- Staff Code Reviewer — Use for adversarial pre-merge code review 179 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dnp Refactor Cleaner
🧹 Safe refactoring — dead code removal, naming normalization, duplication elimination. Never changes behavior
Fec E2e Runner
Front-end end-to-end testing specialist: writing and maintaining key user journeys, executing Playwright/Cypre
Fec Test Planner
Front-end test strategy planning subagent: Develop a coverage matrix according to risk and test levels, distin
API Usage Finder
Invoke before refactoring, renaming, or removing an API/symbol/module — finds every usage across the codebase
Cto Self Eval
CTO-grade codebase self-evaluation. Measures code health, dead code, debt density, test meaningfulness, and ov
Facet Coder
Generates ONE facet Cypress spec (properties propertiesFx styles stylesFx events csa inspector variants) for a
Related Skills
Fec Refactor Clean
Identify and clean up front-end dead code, unused exports, outdated components, styles and dependencies under
Flaky Test Detector
Detect, analyze, and eliminate flaky tests across any test runner. An AI agent skill that identifies non-deter
Agent Cleaner
Slim down installed Claude Code skills based on usage. Disables unused skills by renaming SKILL.md files.