AI Agent Hub
Back to skills
Frontend Code Review Pipeline icon

Frontend Code Review Pipeline

Development Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please install @user_dc5a82bd/fecodereview according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem It Addresses

Frontend PR review often gets stuck on which signals should block merge: lint rules, hardcoded secrets, component lifecycle issues, async races, and bundle size usually live in separate checks. The Frontend Code Review skill collapses those signals into a single merge gate. It starts from a staged diff or branch diff, runs ESLint and bundle-size checks when available, and then asks a Codex reviewer plus a secondary review framework to return findings labeled P0, P1, P2, or Nit. The final output is READY or BLOCKED, so the decision is not just a person scrolling through a diff.

How It Works

The workflow has four main parts:
- Diff analysis: summarize file types, added/removed lines, and classify changes as feat, fix, refactor, or perf.
- Frontend checks: inspect package.json to find lint and size-related scripts, and detect React, Vue, Svelte, or Solid.
- Dual review aggregation: treat Codex as the blocking primary reviewer and the reviewer framework as a non-blocking secondary reviewer; late secondary findings are reconciled before precommit.
- Gate persistence: write state to disk, and after BLOCKED require fixes followed by --continue re-review until no P0 or P1 findings remain.

Boundaries

It is intended for frontend code review only, not server-side code, documentation review, or dedicated security review. If Codex or the secondary reviewer is unavailable, the flow degrades to single-reviewer mode with a warning. Which signals are injected into prompts depends on the selected Fast, Full, or Branch variant.

Use Cases

  • Before sending a frontend PR, review staged React or Vue changes for P0/P1 issues.
  • Before merging a feature branch, run Full or Branch review with ESLint, bundle size, and hardcoded-secret findings.
  • After a BLOCKED result, fix listed P0/P1 items and re-review with /fe-review-fast --continue until READY.
  • After refactoring components, check that null-safety, memory-leak, and async-race findings are aggregated and labeled.

Best For

  • Frontend engineers maintaining React or Vue component libraries who need PR P0/P1 risks turned into actionable fixes.
  • Engineers owning frontend CI or code review who need lint, bundle size, security scans, and model review merged into one gate.
  • Developers taking over frontend legacy code who need to identify memory leaks, async races, and null-safety issues before merge.
  • Teams using Codex or reviewer frameworks who need resumable, re-reviewable state for frontend PRs.