fec-debug
CommandFront-end problem diagnosis and repair: covering build failures, runtime errors, UI exceptions, and interface problems, using a…
Build an ordered behavior-preserving frontend refactoring plan from evidence without editing business code.
> /plugin marketplace add bovinphang/frontend-craft> /plugin install frontend-craft@frontend-craft
name: fec-refactor-plan description: Build an ordered behavior-preserving frontend refactoring plan from evidence without editing business code.
This command is **PLAN ONLY**. Do not edit business code.
1. Validate current project facts and any supplied smell diagnosis. 2. Record the observable behavior contract and available verification baseline. 3. Select the smallest candidate technique whose preconditions fit each diagnosed cause. 4. Order only necessary prerequisites and keep each step independently verifiable. 5. Classify every step `SAFE`, `CAUTION`, or `DANGER`. 6. For every step include: target, technique, intent, dependency/order reason, preconditions, risk, expected files/functions, expected observable behavior change (`NONE`), verification command/method, and rollback boundary. 7. Include a Diff Budget and stop conditions. 8. Save the result to `reports/refactoring/plan-YYYY-MM-DD-HHmmss.md`.
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…
Execute controlled behavior-preserving frontend refactoring with small steps, verification, rollback, and proof reporting.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.