fec-debug
Front-end problem diagnosis and repair: covering build failures, runtime errors, UI exceptions, and interface problems, using a unified diagnostic framework to…
Diagnose frontend code smells with evidence and candidate refactorings without changing business code.
> /plugin marketplace add bovinphang/frontend-craft > /plugin install frontend-craft@frontend-craft
How it fires
How this command gets triggered: by you, by Claude, or both.
/fec-smellContext preview
What this command does when you run it.
Diagnose frontend code smells with evidence and candidate refactorings without changing business code.
name: fec-smell description: Diagnose frontend code smells with evidence and candidate refactorings without changing business code.
Use this command for **DIAGNOSE ONLY** analysis. Do not modify business code.
1. Discover the requested scope, project/framework facts, and current diff. 2. Collect concrete evidence about ownership, duplication, change coupling, data flow, control flow, and public boundaries. 3. Match evidence against the 24-smell catalog and run false-positive checks. 4. For each finding report: `Location`, `Evidence`, `Impact`, `Smell`, `Confidence`, `Candidates`, `Priority`, and `False-positive check`. 5. LOW-confidence findings remain open questions and must not become automatic edits. 6. Save the result to `reports/refactoring/smell-YYYY-MM-DD-HHmmss.md`.
Metrics such as LOC or complexity may focus investigation but are not sufficient proof by themselves.
frontend-craft is a universal frontend plugin that brings the same opinionated engineering standards to all 15 AI coding assistants.
Repo: bovinphang/frontend-craft
Front-end problem diagnosis and repair: covering build failures, runtime errors, UI exceptions, and interface problems, using a unified diagnostic framework to…
Sync README, docs, environment variables, scripts, API/routing/component descriptions and deployment instructions from code and project sources of truth.
Initialize frontend-craft project template, rules or downgrade instructions according to the current AI runtime.
Unified front-end planning entrance - implementation/architecture plan or testing strategy. The implementation path is taken by default; when the user clearly…
Identify and clean up front-end dead code, unused exports, outdated components, styles and dependencies under validation protection.
Build an ordered behavior-preserving frontend refactoring plan from evidence without editing business code.