Frontend Code Review logo

Frontend Code Review

Community
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.

Overview

PublisherDNM03
Repositoryfrontend-code-review
Skill namefrontend-code-review
Stars
5
Forks
0
Bundled files
14
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 14 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by DNM03 on GitHub. Read the source before you install it.

Installation

Install the Frontend Code Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Frontend Code Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Frontend Code Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Frontend Code Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Frontend Code Review AI skill do?

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.

Why use Frontend Code Review on TypingMind?

Because you install it once and use it with any model. Frontend Code Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Frontend Code Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-review. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Frontend Code Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Frontend Code Review?

As many as you like. As long as a model supports skills, you can use Frontend Code Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Frontend Code Review AI skill free?

Yes. It is published on GitHub by DNM03 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇