sdcorejs-review-code-nextjs

Audit Next.js landing-site code for build conventions and correctness.

2|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/sdcorejs/sdcorejs-agent --skill sdcorejs-review-code-nextjs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sdcorejs-review-code-nextjs
Source: https://github.com/sdcorejs/sdcorejs-agent/tree/main/plugin/skills/sdcorejs-review-code-nextjs
Command: npx skills add https://github.com/sdcorejs/sdcorejs-agent --skill sdcorejs-review-code-nextjs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies line-level Next.js landing-site violations early so your codebase stays consistent with build-website conventions and avoids broken pages and runtime surprises.

Core Features & Use Cases

  • Per-file Next.js conventions audit: Server/client boundary, next/image usage, generateMetadata coverage, typed i18n Link, and required caching/locale setup.
  • Bugs-first security and correctness checks: Flags unsafe dangerouslySetInnerHTML usage for user content and validates hydration-safe patterns.
  • Actionable, structured reporting: Produces Critical/Important/Minor findings with file:line references for fast fixes and consistent review outcomes.

Quick Start

Use sdcorejs-review-code-nextjs to audit a Next.js landing-site branch for convention breaches before opening a merge request.

Frequently Asked Questions about sdcorejs-review-code-nextjs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Next.js code for convention violations before merging?▼

To review Next.js code for convention violations before merging, audit pages, components, and API routes for server/client boundaries, next/image usage, generateMetadata coverage, and typed i18n Link implementation. This identifies line-level issues early to maintain build-website conventions and avoid broken pages.

What is the best way to ensure hydration-safe rendering in a Next.js application?▼

Ensuring hydration-safe rendering in a Next.js application requires validating component rendering patterns against correctness guardrails during per-file audits. This process prevents runtime mismatches and surprises during client-side hydration.

Does this Next.js code review cover internationalization and locale context?▼

Yes, this Next.js code review covers internationalization by validating typed locale-aware Link components and explicit locale context setup. It targets i18n-enabled navigation to ensure landing-site code correctly handles locale requirements.

How do I check for unsafe dynamic HTML rendering in Next.js components?▼

To check for unsafe dynamic HTML rendering in Next.js components, scan for dangerouslySetInnerHTML usage applied to user content. This security check flags unsafe patterns during per-file audits to prevent potential vulnerabilities.

What Next.js caching conventions should I enforce during a pre-merge review?▼

During a pre-merge review, enforce explicit caching setup alongside Next.js conventions for pages and API routes. This ensures codebase adherence to build-website standards and prevents runtime surprises related to data fetching.

How are code review findings structured for Next.js convention issues?▼

Code review findings for Next.js convention issues are structured as Critical, Important, or Minor categories. Each includes actionable file:line references for fast fixes, ensuring consistent review outcomes across pages, components, and API routes.