From frontend-craft
Reviews front-end code (specified file or recent git changes) across 11 quality dimensions, outputs a graded Markdown report with severity levels and merge readiness.
How this command is triggered — by the user, by Claude, or both
Slash command
/frontend-craft:fec-reviewThe summary Claude sees in its command listing — used to decide when to auto-load this command
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-revie...
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.
Determine the scope of the review:
git diff --name-only HEAD to get a list of recently changed filesFilter to only keep front-end related files (.ts, .tsx, .vue, .js, .jsx, .css, .scss, .less, .html)
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.
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
Use the Write tool to save the report content as a Markdown file:
reports/ in the project root directory (create it if it does not exist)code-review-YYYY-MM-DD-HHmmss.md (use current timestamp)If the user agrees to the modification, directly repair the items that can be automatically repaired in "Must Modify".
npx claudepluginhub bovinphang/frontend-craft/code_reviewPerforms comprehensive code review on modified files, categorizing findings by severity (CRITICAL/HIGH/MEDIUM/LOW), scoring quality, and saving prioritized action plan to Markdown report.
/reviewReviews code quality of optional file or recent changes, providing assessment, issues found, recommendations, and best practices.
/reviewReviews staged or recent git changes against codebase patterns, security best practices, and acceptance criteria. Supports reviewing specific files or feature IDs.
/f5-reviewPerforms automated code review detecting project stack and running linting, type checks, complexity analysis, OWASP security scans, and quality metrics. Generates scored reports. Supports check, full, security, pr subcommands.
/code-reviewPerforms code review on files, directories, recent git changes, or PRs, providing actionable feedback on quality, security, performance, maintainability, and testing.