fec-debug
CommandFront-end problem diagnosis and repair: covering build failures, runtime errors, UI exceptions, and interface problems, using a…
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
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.
Front-end problem diagnosis and repair: covering build failures, runtime errors, UI exceptions, and interface problems, using a…
Sync README, docs, environment variables, scripts, API/routing/component descriptions and deployment instructions from code and…
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…
Identify and clean up front-end dead code, unused exports, outdated components, styles and dependencies under validation…
Build an ordered behavior-preserving frontend refactoring plan from evidence without editing business code.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.