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★ 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, whichreview-remix-v2covers in that context.
Non-Remix React Router branch (Step 2 detected react-router, react-router-dom, or @react-router/* without @remix-run/*):
- Load
react-router-code-review(react-router-code-review)
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:
- Detect all technologies upfront
- Dispatch one subagent per technology area, each loading its skill and reviewing its domain
- Wait for all subagents to return
- Consolidate findings
Sequential path:
- Load applicable skills
- Review routing/framework patterns first (
review-remix-v2orreact-router-code-reviewwhen detected) - Review component/UI patterns (
shadcn-code-reviewwhen detected) - Review remaining detected technology areas
- Consolidate findings
Step 6: Verify Findings
Before reporting any issue:
- Re-read the actual code (not just diff context)
- Fo
Установить 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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic