agentleFS
DongDuong2001DongDuong2001/pudo-code-system/skills/frontend/nextjs/SKILL.md

nextjs

Skill5 starsChanged 6 months agoMITView on GitHub

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tailwind, shadcn-ui and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nth5693Skill

    tailwind

    Also in 3 projects that use this

  • akornmeierSkill

    shadcn-ui

    Use when building React UIs with component libraries, implementing forms, dialogs, navigation, or data display. Use when user mentions shadcn, Radix UI, Base UI, or asks about accessible React components. Proactively suggest when building UI that would benefit from pre-built accessible components with Tailwind CSS styling.

    Also in 3 projects that use this

  • VercelSkill

    react

    React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.

    Also in 3 projects that use this

The file

We found no rules to list in this file: it reads as prose or reference rather than instructions.

Files
SKILL.md

Next.js 15 (App Router) PUDO Checklist

1. PLAN (Architecture & Strategy)

  • Rendering Strategy: Define which routes will be Server Components (RSC) and which require Client Components (use client).
  • Data Fetching: Plan caching strategies using Next.js 15's native fetch overrides and React.cache.
  • Routing Tree: Map out nested layouts, loading.tsx, error.tsx, and not-found.tsx boundaries.
  • Mutations: Plan Server Actions for data mutations instead of traditional API routes where possible.

2. UNDERSTAND (Context & Auditing)

  • RSC Boundary: Ensure use client directives are pushed as far down the component tree as possible.
  • Bundle Analysis: Audit third-party packages to ensure they are compatible with Server Components.
  • State Management: Review where global state (Zustand, Redux) is truly needed versus URL state or server state.

3. DEVELOP (Implementation)

  • Components: Build Server Components by default. Extract interactivity (hooks, events) into minimal Client Components.
  • Forms & Mutations: Use React 19 hooks (useActionState, useFormStatus) combined with Server Actions.
  • Streaming: Wrap slow data-fetching components in <Suspense> to stream HTML to the client progressively.
  • Assets: Utilize <Image>, <Link>, and next/font for automatic asset optimization.

4. OPTIMIZE (Performance & Review)

  • Caching: Verify Data Cache, Full Route Cache, and Router Cache behaviors. Configure revalidate tags correctly.
  • SEO & Metadata: Implement dynamic generateMetadata for accurate Open Graph and SEO tags.
  • Web Vitals: Check LCP (Largest Contentful Paint) and CLS (Cumulative Layout Shift) metrics.
  • Edge Compatibility: Ensure middleware and essential handlers are Edge-runtime compatible if deploying to Vercel/similar.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.