duyet/codex-claude-plugins1.1k installs
react-nextjs-patterns
Conventions for React and Next.js App Router code. Use when building or reviewing components, pages, data fetching, caching, or Server Actions in a Next.js app.
How do I install this agent skill?
npx skills add https://github.com/duyet/codex-claude-plugins --skill react-nextjs-patternsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides best practices and architectural patterns for React and Next.js development with no security risks detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
React and Next.js patterns
Check the installed versions in package.json and read the matching docs (https://nextjs.org/docs) before using caching or routing APIs. Defaults changed across majors.
- Server components by default. Put
"use client"on the smallest leaf that needs it, never on a page or layout. - Fetch in server components. Start independent requests together. Stream slow sections with Suspense.
- Per-user data must never reach a shared cache.
- Treat every Server Action as a public endpoint: authenticate, authorize, and validate input inside it.
- Server-only modules import
server-only. Only serializable props cross the client boundary. - Derive values during render. An effect that only sets state from state should be deleted.
- No
useMemo,useCallback, ormemowithout a measured problem, and none with the React Compiler. - Stable list keys from data ids. Use
next/image,next/font, andnext/link.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/duyet/codex-claude-plugins/react-nextjs-patterns">View react-nextjs-patterns on skillZs</a>