fec-debug
Front-end problem diagnosis and repair: covering build failures, runtime errors, UI exceptions, and interface problems, using a unified diagnostic framework to…
Conduct a standardized review of the specified file or recently changed front-end code, output a graded review report and save it as a Markdown file.
> /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-reviewContext preview
What this command does when you run it.
Conduct a standardized review of the specified file or recently changed front-end code, output a graded review report and save it as a Markdown file.
name: fec-review description: Conduct a standardized review of the specified file or recently changed front-end code, output a graded review report and save it as a Markdown file.
Conduct a comprehensive review of the front-end code. Read the project status and diff first, and then output the findings with evidence; do not write guesses as blocking items. If you need to **combine git diff, reduce noise output by severity level (CRITICAL→LOW), and explicitly give Approve/Warning/Block conclusions**, you can entrust the **`fec-code-reviewer`** subagent to execute; if the changes are mainly **`.ts` / `.tsx` / `.js` / `.jsx`** and you need to run **typecheck/eslint**, PR merge readiness check and Special conclusions on TS/JS idioms can be delegated to **`typescript-reviewer`** (reported as `typescript-review-*.md`). Otherwise, continue to press this command and the `fec-code-review` Skill process.
1. Determine the scope of the review:
2. Filter to only keep front-end related files (`.ts`, `.tsx`, `.vue`, `.js`, `.jsx`, `.css`, `.scss`, `.less`, `.html`)
3. Use the review dimensions of `fec-code-review` Skill to check item by item:
Each question must include file location, impact, confidence level, and recommended verification method.
4. Output the review report in the following format:
# Code review report > Generation time: YYYY-MM-DD HH:mm > Review tool: frontend-craft **Review Scope**: N documents ## 🔴 Must be modified (N items) - **[File:line number]** Problem description → Suggested changes ## 🟡 Suggested optimizations (N items) - **[File:line number]** Problem description → Suggested modifications ## 🔵 Optional optimization items (N items) - **[File:line number]** Problem description ## 🟢 Things done well -... ## Risk Level: Low / Medium / High **Overall Rating**: Can be merged / merged after modification / needs to be refactored
5. Use the Write tool to save the report content as a Markdown file:
6. If the user agrees to the modification, directly repair the items that can be automatically repaired in "Must Modify".
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.