frontend-code-review

Installation
Summary

Automated frontend code review against a multi-category checklist, supporting both pending-change and targeted file reviews.

  • Triggers on user requests to review frontend files (.tsx, .ts, .js) and applies a canonical checklist across Code Quality, Performance, and Business Logic categories
  • Supports two review modes: pending-change review for staged/working-tree files before commit, and file-targeted review for specific named files
  • Flags violations with urgency metadata (Urgent vs. Suggestion) and groups findings by severity, then by category for prioritized remediation
  • Outputs structured reviews with file paths, line numbers, code snippets, and suggested fixes; prompts user to apply fixes if issues are found
SKILL.md

Frontend Code Review

Intent

Use this skill whenever the user asks to review frontend code (especially .tsx, .ts, or .js files). Support two review modes:

  1. Pending-change review – inspect staged/working-tree files slated for commit and flag checklist violations before submission.
  2. File-targeted review – review the specific file(s) the user names and report the relevant checklist findings.

Stick to the checklist below for every applicable file and mode.

Checklist

See references/code-quality.md, references/performance.md, references/business-logic.md for the living checklist split by category—treat it as the canonical set of rules to follow.

Flag each rule violation with urgency metadata so future reviewers can prioritize fixes.

Review Process

  1. Open the relevant component/module. Gather lines that relate to class names, React Flow hooks, prop memoization, and styling.
  2. For each rule in the review point, note where the code deviates and capture a representative snippet.
  3. Compose the review section per the template below. Group violations first by Urgent flag, then by category order (Code Quality, Performance, Business Logic).
Related skills

More from langgenius/dify

Installs
7.4K
Repository
langgenius/dify
GitHub Stars
141.3K
First Seen
Jan 20, 2026