Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

review-frontend

БесплатноБез исполняемых скриптовНе проверен

Comprehensive React/TypeScript frontend code review with per-area review skills, run in parallel where the agent supports subagents and sequentially…

existential-birdsот existential-birds★ 92 звезды на GitHub

Об этом скилле

Frontend Code Review

Arguments

  • --parallel: Hint to fan out per technology area when the agent supports subagents (see Step 5). When unsupported, the review runs sequentially with identical output.
  • Path: Target directory (default: current working directory)

Step 1: Identify Changed Files

git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.(tsx?|jsx?|mjs|cjs|css)$|^(remix|vite|react-router)\.config\.'

If nothing is returned, inspect staged/working-tree changes (git status --short) or ask the user for an explicit path list before continuing.

Step 2: Detect Technologies

# Detect Remix v2 (any official adapter). When matched, the Remix-specific
# surface is delegated to the review-remix-v2 skill in Step 4.
grep -E '"@remix-run/(react|node|cloudflare|deno|serve)"' package.json | head -3

# Detect React Router (v6.4+ / v7)
grep -E '"(react-router|react-router-dom|@react-router/[^"]+)"' package.json | head -3

# Detect shadcn/ui
ls components.json 2>/dev/null || grep -E '"(class-variance-authority|@radix-ui/[^"]+)"' package.json | head -3

# Detect React Flow
grep -E '"(@xyflow/react|reactflow)"' package.json 2>/dev/null || grep -rE --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git "@xyflow/react|ReactFlow|useNodesState" --include="*.ts" --include="*.tsx" -l | head -3

# Detect Zustand
grep -E '"zustand":space:*:' package.json 2>/dev/null || grep -rE --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git "from ['\"]zustand(/|['\"])" --include="*.ts" --include="*.tsx" -l | head -3

# Detect Tailwind v4
grep -E '"@tailwindcss/(vite|postcss|cli)"|"tailwindcss"::space:*"[~^>=]*4\.' package.json 2>/dev/null || grep -rE --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git "@theme|@layer theme|@import ['\"]tailwindcss['\"]" --include="*.css" -l | head -3

# Check React version & React Compiler config
grep -E '"(react|babel-plugin-react-compiler)"' package.json | head -5

# Check for test files
git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.test\.tsx?$'

Step 3: Load Verification Protocol

Load the review-verification-protocol skill (review-verification-protocol when installed alongside sibling skills) before any substantive judgment on code.

Pass before Step 5: The skill is loaded (or its checklist is open in context). Do not classify severity or write findings until this gate clears.

Step 4: Load Skills

Read each applicable skill below (open its SKILL.md) so its guidance is in context before you review that area.

Remix v2 branch (Step 2 detected @remix-run/* in package.json):

  • Load review-remix-v2 (review-remix-v2) — single consolidated legacy maintenance skill covering routing/root shell, data flow, forms, error boundaries, meta/sessions, and SSR/caching. Run it for the Remix-specific surface and consolidate its findings into this review's output.
  • Do NOT also load react-router-code-review (react-router-code-review) — Remix v2 sits on React Router v6 but routes through Remix's route module conventions, which review-remix-v2 covers in that context.

Non-Remix React Router branch (Step 2 detected react-router, react-router-dom, or @react-router/* without @remix-run/*):

Conditionally load based on detection (both branches):

Condition Skill
shadcn/ui (components.json, cva, @radix-ui/*) detected shadcn-code-review (shadcn-code-review)
@xyflow/react detected react-flow-code-review (react-flow-code-review)
Zustand detected zustand-state (zustand-state)
Tailwind v4 detected tailwind-v4 (tailwind-v4)
Test files changed vitest-testing (vitest-testing)

Step 5: Review

If the agent supports subagents (and --parallel is requested or appropriate), dispatch one subagent per technology area in parallel; otherwise run the same areas sequentially in a single context. Both paths produce identical output.

Parallel path:

  1. Detect all technologies upfront
  2. Dispatch one subagent per technology area, each loading its skill and reviewing its domain
  3. Wait for all subagents to return
  4. Consolidate findings

Sequential path:

  1. Load applicable skills
  2. Review routing/framework patterns first (review-remix-v2 or react-router-code-review when detected)
  3. Review component/UI patterns (shadcn-code-review when detected)
  4. Review remaining detected technology areas
  5. Consolidate findings

Step 6: Verify Findings

Before reporting any issue:

  1. Re-read the actual code (not just diff context)
  2. Fo
Полный SKILL.md на GitHub

Установить review-frontend в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл review-frontend?

Comprehensive React/TypeScript frontend code review with per-area review skills, run in parallel where the agent supports subagents and sequentially otherwise. Detects React Router, Remix v2, shadcn/ui, React Flow, Zustand, Tailwind v4, and Vitest before loading matching skills.

Как установить скилл review-frontend?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл review-frontend запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить review-frontend с