Логотип Frontend Code Review

Frontend Code Review

Сообщество
DNM03
frontend-code-review

Review React, Next.js App Router, TypeScript, Tailwind CSS, shadcn/ui, TanStack Query, and frontend UI code. Use when reviewing a PR, branch, diff, page, component, hook, Server Action, route handler, or API client; debugging frontend behavior; assessing production readiness; or checking runtime bugs, client/server boundaries, data fetching, security, accessibility, UX states, responsive layout, performance, SEO metadata, i18n, and maintainability.

Обзор

ИздательDNM03
Репозиторийfrontend-code-review
Название навыкаfrontend-code-review
Звёзды
5
Форки
0
Файлы в комплекте
14
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 14

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — DNM03. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Frontend Code Review в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-review
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DNM03/frontend-code-review.git /tmp/frontend-code-review
mkdir -p .claude/skills
cp -r /tmp/frontend-code-review/skills/frontend-code-review .claude/skills/frontend-code-review
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Frontend Code Review в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Frontend Code Review, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Frontend Code Review не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Frontend Code Review Skill

Purpose

Review frontend code like a practical production frontend developer.

This skill helps an agent inspect React/Next.js projects and return useful, concrete review feedback instead of vague advice. It prioritizes real production risk, user impact, and maintainability.

Review scope

Review the code or diff relevant to the user's request. Expand into adjacent modules only when needed to verify behavior, contracts, or user impact.

Isolated snippet rules

When reviewing a pasted snippet:

  • Use only the supplied snippet unless the user explicitly requests repository-context review.
  • Do not infer product requirements, framework context, localization requirements, or missing surrounding behavior.
  • Do not introduce framework-specific considerations unless the snippet identifies that framework.
  • Treat placeholder-looking handlers such as console.log, mock data, and stubs as verified issues only when the user states that the snippet is complete production code. Otherwise list them under ## Context-dependent considerations.
  • Label context-dependent concerns as conditional.
  • Put unverified concerns under ## Context-dependent considerations.
  • Do not classify a conditional concern as critical or use it to block merging.
  • Return Safe to merge based on the supplied snippet when no verified issue exists.

Core workflow

  1. Understand the feature, page, component, or bug being reviewed.
  2. Inspect the relevant code before making claims. For repository reviews, inspect package.json, next.config.*, and adjacent modules when framework behavior depends on them.
  3. Identify production-breaking issues first.
  4. Check framework boundaries:
    • React rendering and hooks
    • Next.js Server/Client Component boundary
    • data fetching and cache behavior
    • routing, metadata, redirects, and environment variables
    • Server Actions, route handlers, and frontend security boundaries
  5. Check UI quality:
    • visual hierarchy
    • accessibility
    • mobile/responsive layout
    • loading, empty, and error states
  6. Group findings by severity.
  7. For each issue, explain:
    • where it is
    • what is wrong
    • why it matters
    • how to fix it
  8. For repository reviews, include clickable file and line references. For pasted snippets, reference the component, function, or relevant expression.
  9. Give code patches when useful.
  10. Respect existing project style unless it is clearly harmful.

Review principles

Prefer correctness over taste

Do not mark a subjective style preference as a critical issue.

Critical issues are things that can break production, cause data loss, create security risk, block users, damage SEO, or create serious accessibility failure.

Prefer concrete fixes

Bad:

Improve error handling.

Good:

CreateJobForm only handles onSuccess. If the request fails, the user receives no feedback and can submit repeatedly. Add onError, disable the submit button while pending, and keep the form data so the user can retry.

Do not over-engineer

Recommend the smallest production-safe fix.

Respect client/server boundaries

Do not suggest client hooks inside Server Components.

Do not suggest browser APIs inside Server Components.

Do not suggest moving everything to "use client" unless interactivity truly requires it.

Be careful with useEffect

Treat Effects as synchronization with external systems, not as the default place for derived state or event logic.

Treat UI as product behavior

Missing loading, empty, disabled, and error states are not just polish. They can directly confuse users and cause duplicate actions.

Reference files

Read these files only when relevant:

  • references/checklist.md — broad review checklist.
  • references/react.md — React rendering, state, hydration, and form rules.
  • references/nextjs-app-router.md — current Next.js 16 App Router review rules.
  • references/data-fetching.md — TanStack Query and API client review.
  • references/frontend-security.md — XSS, authorization, secrets, and browser security.
  • references/ui-ux-accessibility.md — UI, accessibility, and responsive design.
  • references/performance-seo.md — Core Web Vitals, metadata, redirects, and SEO.
  • references/typescript.md — TypeScript review patterns.
  • references/i18n.md — translation fallback, locale routing, and localized SEO.
  • references/output-format.md — required review output structure.
  • references/sources.md — official docs/blogs/videos used to create this skill.
  • examples/good-review.md — example of a concrete, severity-ordered review.
  • examples/bad-review.md — example of vague review feedback to avoid.

Default output format

Use this structure unless the user asks for another format:

md
## Critical issues

### 1. Issue title

**Where:** file/component/function

**Problem:** Explain the issue.

**Why it matters:** Explain production or user impact.

**Fix:** Give a direct fix. Include code if useful.

## Important improvements

Same format.

## Nice-to-have polish

Shorter, lower-severity suggestions.

## Summary

One short paragraph with the overall judgment.

## Suggested patch

Code examples or diff-style patches when useful.

## Final recommendation

Say one of:
- Safe to merge.
- Safe after fixes.
- Not safe to merge yet.

Things to avoid

Avoid:

  • vague advice
  • ungrounded claims
  • style-only nitpicks as critical issues
  • suggesting client-side redirects for SEO-critical routes
  • recommending TanStack Query hooks in Server Components
  • ignoring loading, empty, and error states
  • ignoring keyboard accessibility
  • ignoring mobile layout
  • rewriting the whole feature when a small fix is enough

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Frontend Code Review?

Review React, Next.js App Router, TypeScript, Tailwind CSS, shadcn/ui, TanStack Query, and frontend UI code. Use when reviewing a PR, branch, diff, page, component, hook, Server Action, route handler, or API client; debugging frontend behavior; assessing production readiness; or checking runtime bugs, client/server boundaries, data fetching, security, accessibility, UX states, responsive layout, performance, SEO metadata, i18n, and maintainability.

Зачем использовать Frontend Code Review в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Frontend Code Review — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Frontend Code Review в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-review. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Frontend Code Review?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Frontend Code Review?

С любым количеством. В TypingMind вы можете использовать Frontend Code Review с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Frontend Code Review?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — DNM03. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇