Skip to content
Agentmart
Submit a tool

nextjs-frontend-audit

Audita el frontend de proyectos Next.js con TypeScript y produce un reporte de hallazgos por severidad.

Skill by 2003gdb

IndexedMIT
Write a review

Chalk Labs

Need help deploying nextjs-frontend-audit?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/2003gdb-nextjs-frontend-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audita el frontend de proyectos Next.js con TypeScript y produce un reporte de hallazgos por severidad. Usa esta skill siempre que el usuario pida auditar, revisar, evaluar o diagnosticar un proyecto, repositorio o código Next.js/React/TypeScript, mencione "auditoría", "code review", "calidad del código", "deuda técnica", "rendimiento del frontend" o pida verificar buenas prácticas, seguridad o accesibilidad en una app Next.js.

Use cases: frontend, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/nextjs-frontend-audit

What's inside

Skill name
nextjs-frontend-audit
Description
Audita el frontend de proyectos Next.js con TypeScript y produce un reporte de hallazgos por severidad. Usa esta skill siempre que el usuario pida auditar, revisar, evaluar o diagnosticar un proyecto, repositorio o código Next.js/React/TypeScript, mencione "auditoría", "code review", "calidad del código", "deuda técnica", "rendimiento del frontend" o pida verificar buenas prácticas, seguridad o accesibilidad en una app Next.js.
License
MIT
Instructions
97 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "nextjs-frontend-audit" does not match folder "audit-frontend"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Auditoría de Frontend Next.js + TypeScript

Audita en este orden. Reporta solo hallazgos reales con archivo y línea; no inventes problemas para llenar el reporte.

## 1. Diagnóstico automatizado (correr primero)

```bash
npx tsc --noEmit              # errores de tipos
npx eslint . --max-warnings=0 # lint (o npx next lint en versiones < 15)
npm audit --omit=dev          # vulnerabilidades de dependencias de producción
npx next build 2>&1 | tail -40 # confirma que compila; revisa warnings y tamaños de bundle
```

Si algo falla, eso ya es un hallazgo. Anota la salida relevante.

## 2. Configuración

- `tsconfig.json`: `strict: true` es obligatorio. Marcar si falta o si hay `strictNullChecks: false`, `noImplicitAny: false`.
- `next.config.*`: marcar `typescript.ignoreBuildErrors: true` y `eslint.ignoreDuringBuilds: true` como hallazgos altos.
- Verificar que exista configuración de ESLint con `eslint-config-next`.

## 3. TypeScript

Buscar con grep y revisar contexto:

```bash
grep -rn "any\b" --include="*.ts" --include="*.tsx" src/ app/ | grep -v "// eslint"
grep -rn "@ts-ignore\|@ts-nocheck\|as unknown as" --include="*.ts*" .
```

- `any` explícito, `@ts-ignore`, dobles casteos: deuda de tipos.
- Props sin tipar, respuestas de API sin interfaz/zod: hallazgo medio.

## 4. Next.js específico

- **Server vs Client Components** (App Router): `"use client"` en componentes que no usan estado, efectos ni eventos es innecesario y agranda el bundle. Components con fetch de datos deberían ser Server Components cuando sea posible.
- **Imágenes**: `<img>` en vez de `next/image` (pierde optimización y lazy loading).
- **Fuentes**: links a Google Fonts en vez de `next/font`.
- **Navegación**: `<a>` interno en vez de `next/link`; `window.location` para rutas internas.
- **Data fetching**: fetch en `useEffect` cuando podría ser Server Component, route handler o librería como React Query; falta de manejo de loading/error.
- **Metadata/SEO**: páginas sin `metadata` o `generateMetadata`; falta de `alt` en imágenes.

## 5. React y rendimiento

- Dependencias incorrectas o faltantes en `useEffect`/`useMemo`/`useCallback` (eslint-plugin-react-hooks debe estar activo).
- `useEffect` que actualiza estado de sus propias dependencias (loops).
- Listeners, intervals o suscripciones sin cleanup (memory leaks).
- `key={index}` en listas dinámicas.
- Objetos/funciones inline pasados a componentes memorizados.
- Componentes gigantes (>300 líneas) que mezclan datos, lógica y UI.
- Imports pesados sin `next/dynamic` (gráficas, editores, mapas).

## 6. Seguridad

```bash
grep -rn "NEXT_PUBLIC_" .env* 2>/dev/null
grep -rn "dangerouslySetInnerHTML\|eval(" --include="*.tsx" --include="*.ts" .
grep -rni "api[_-]key\|secret\|password\s*=" --include="*.ts*" src/ app/ lib/
```

- Secretos o API keys con prefijo `NEXT_PUBLIC_` (quedan expuestos al cliente): hallazgo crítico.
- Secretos hardcodeados en el código: crítico.
- `dangerouslySetInnerHTML` sin sanitizar (XSS): alto.
- Tokens en `localStorage` sin estrategia de expiración; lógica de autorización solo en el cliente.
- Falta de validación de inputs en route handlers / server actions.

## 7. Accesibilidad (revisión rápida)

- `div`/`span` con `onClick` en vez de `button`.
- Inputs sin `label` o `aria-label`; imágenes sin `alt`.
- Contraste y foco visibles si hay estilos personalizados de focus.

## 8. Formato del reporte

Entregar un reporte con esta estructura, ordenado por severidad:

```
# Auditoría Frontend: <proyecto>

## Resumen
2-4 frases: estado general, riesgos principales, qué priorizar.

## Hallazgos
### Crítico
- [archivo:línea] Descripción del problema. Por qué importa. Cómo corregirlo.
### Alto / Medio / Bajo
(mismo formato)

## Lo que está bien
2-5 puntos positivos concretos.

## Plan de acción sugerido
Lista numerada, máximo 7 pasos, del más urgente al menos.
```

Severidades: **Crítico** = seguridad o build roto; **Alto** = bugs probables o impacto fuerte en rendimiento; **Medio** = deuda técnica y malas prácticas; **Bajo** = estilo y mejoras opcionales.

From 2003gdb/My-Claude-Workflows, MIT.

More from 2003gdb/My-Claude-Workflows

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 12, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from 2003gdb

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get nextjs-frontend-audit running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying nextjs-frontend-audit?

CallGet help
Cite this page

nextjs-frontend-audit skill. Agent Mart. https://agentmart.dev/skills/2003gdb-nextjs-frontend-audit (last updated 2026-10-24)