Logo di Frontend Code Review

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.

Panoramica

Pubblicato daDNM03
Repositoryfrontend-code-review
Nome della skillfrontend-code-review
Stelle
5
Fork
0
File inclusi
14
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 14

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da DNM03 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Frontend Code Review in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-review
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Frontend Code Review in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Frontend Code Review non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Frontend Code Review non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Frontend Code Review su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Frontend Code Review è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Frontend Code Review in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-review. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Frontend Code Review?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Frontend Code Review?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Frontend Code Review: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Frontend Code Review è gratuita?

Sì. È pubblicata su GitHub da DNM03 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇