Fec Refactor Clean — Code Quality skill for Claude Code
Identify and clean up front-end dead code, unused exports, outdated components, styles and dependencies under validation protection.
How to install Fec Refactor Clean
Installs to ~/.claude/skills/bovinphang-frontend-craft-fec-refactor-clean/SKILL.md
mkdir -p ~/.claude/skills/bovinphang-frontend-craft-fec-refactor-clean && curl -fsSL https://raw.githubusercontent.com/bovinphang/frontend-craft/HEAD/commands/fec-refactor-clean.md -o ~/.claude/skills/bovinphang-frontend-craft-fec-refactor-clean/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Fec Refactor Clean does
name: fec-refactor-clean description: Identify and clean up front-end dead code, unused exports, outdated components, styles and dependencies under validation protection.
Press `fec-refactor-clean` to perform a safe clean. Complex cleanup can be delegated to **`fec-refactor-cleaner`**.
Execution steps
- Establish the current verification baseline.
- Use existing tools in the warehouse or
rgto collect unused candidates. - Check dynamic references, routing, barrel export, Story
Alternatives in Code Quality
- Refactor — We are about to refactor code 1.6k ★
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
- Sentry Find Bugs — Find and identify bugs in code 438 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Fec TDD
Use front-end TDD workflow to implement functions, fix bugs, or refactor logic: first write failing tests, the
Refactor Clean
Remove dead code and clean up after implementation.
Cleanup Code
Remove dead code, unused imports, optimize structure, and improve code quality.
Hybrid Manual
Load an existing PRD file and enter review mode. Supports JSON format with stories, priorities, dependencies,
Clawback
Claude Code and Codex hooks kit for verification loops: file protection, post-edit lint, and stop-time checks
Etemi Prompt Enhancer Skill
Transform rough prompts into production-ready six-part instructions (Role, Context, Task, Pitfalls, Examples/F
Related Agents
Fec Refactor Cleaner
Front-end Dead Code & Technical Debt Cleanup Subagent: Identifies unused components, exports, styles, routes,
Tp Dead Code Finder
Use this when the user asks to find or remove dead / unused code ("clean up this file", "find unused exports",
Refactor Cleaner
Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refa