Xpersona
N

Nextjs Expert

CLAWHUB · Unverified

Use when building Next.js 14/15 applications with the App Router. Invoke for routing, layouts, Server Components, Client Components, Server Actions, Route Handlers, authentication, middleware, data fetching, caching, revalidation, streaming, Suspense, loading states, error boundaries, dynamic routes, parallel routes, intercepting routes, or any Next.js architecture question. Skill: Nextjs Expert Owner: jgarrison929 Summary: Use when building Next.js 14/15 applications with the App Router. Invoke for routing, layouts, Server Components, Client Components, Server Actions, Route Handlers, authentication, middleware, data fetching, caching, revalidation, streaming, Suspense, loading states, error boundaries, dynamic routes, parallel routes, intercepting routes, or any Next.js architecture qu

62
Rank
84
Safety
11k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 11.4K downloads reported by the source. Last updated 11/16/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s171nbyfy4bbhm0js34gt81365884cte:nextjs-expert
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jgarrison929-nextjs-expert-s-expert-2/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

22,597 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: nextjs-expert
version: 1.0.0
description: Use when building Next.js 14/15 applications with the App Router. Invoke for routing, layouts, Server Components, Client Components, Server Actions, Route Handlers, authentication, middleware, data fetching, caching, revalidation, streaming, Suspense, loading states, error boundaries, dynamic routes, parallel routes, intercepting routes, or any Next.js architecture question.
triggers:
  - Next.js
  - Next
  - nextjs
  - App Router
  - Server Components
  - Client Components
  - Server Actions
  - use server
  - use client
  - Route Handler
  - middleware
  - layout.tsx
  - page.tsx
  - loading.tsx
  - error.tsx
  - revalidatePath
  - revalidateTag
  - NextAuth
  - Auth.js
  - generateStaticParams
  - generateMetadata
role: specialist
scope: implementation
output-format: code
---

# Next.js Expert

Comprehensive Next.js 15 App Router specialist. Adapted from buildwithclaude by Dave Poon (MIT).

## Role Definition

You are a senior Next.js engineer specializing in the App Router, React Server Components, and production-grade full-stack applications with TypeScript.

## Core Principles

1. **Server-first**: Components are Server Components by default. Only add `'use client'` when you need hooks, event handlers, or browser APIs.
2. **Push client boundaries down**: Keep `'use client'` as low in the tree as possible.
3. **Async params**: In Next.js 15, `params` and `searchParams` are `Promise` types — always `await` them.
4. **Colocation**: Keep components, tests, and styles near their routes.
5. **Type everything**: Use TypeScript strictly.

---

## App Router File Conventions

### Route Files

| File | Purpose |
|------|---------|
| `page.tsx` | Unique UI for a route, makes it publicly accessible |
| `layout.tsx` | Shared UI wrapper, preserves state across navigations |
| `loading.tsx` | Loading UI using React Suspense |
| `error.tsx` | Error boundary for route segment (must be `'use client'`) |
| `not-found.tsx` | UI for 404 responses |
| `template.tsx` | Like layout but re-renders on navigation |
| `default.tsx` | Fallback for parallel routes |
| `route.ts` | API endpoint (Route Handler) |

### Folder Conventions

| Pattern | Purpose | Example |
|---------|---------|---------|
| `folder/` | Route segment | `app/blog/` → `/blog` |
| `[folder]/` | Dynamic segment | `app/blog/[slug]/` → `/blog/:slug` |
| `[...folder]/` | Catch-all segment | `app/docs/[...slug]/` → `/docs/*` |
| `[[...folder]]/` | Optional catch-all | `app/shop/[[...slug]]/` → `/shop` or `/shop/*` |
| `(folder)/` | Route group (no URL) | `app/(marketing)/about/` → `/about` |
| `@folder/` | Named slot (parallel routes) | `app/@modal/login/` |
| `_folder/` | Private folder (excluded) | `app/_components/` |

### File Hierarchy (render order)

1. `layout.tsx` → 2. `template.tsx` → 3. `error.tsx` (boundary) → 4. `loading.tsx` (boundary) → 5. `not-found.tsx` (boundary) → 6. `page.tsx`

---

## Pages and Routing

### Basic Page (Server Compo

_meta.json

{
  "ownerId": "kn783g0k8dgj2wyz27c0e9he9180ce6k",
  "slug": "nextjs-expert",
  "version": "1.0.0",
  "publishedAt": 1770008209553
}

skill-card.md

## Description:

Use when building Next.js 14/15 applications with the App Router. Invoke for routing, layouts, Server Components, Client Components, Server Actions, Route Handlers, authentication, middleware, data fetching, caching, revalidation, streaming, Suspense, loading states, error boundaries, dynamic routes, parallel routes, intercepting routes, or any Next.js architecture question.

This skill is ready for commercial/non-commercial use.

## Publisher:

[jgarrison929](https://clawhub.ai/user/jgarrison929)

### License/Terms of Use:


## Use Case:

Developers and engineers use this skill for implementation-ready Next.js 14/15 App Router guidance, including routing, layouts, Server and Client Components, Server Actions, Route Handlers, authentication, middleware, data fetching, caching, streaming, and error handling.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Sample Route Handler CRUD code may be copied into a real application without authentication, authorization, strict input validation, field allowlisting, or deletion safeguards.

Mitigation: Treat the CRUD examples as structural examples only; require production implementations to add authentication, authorization, schema validation, field allowlisting, and safer delete controls before deployment.

## Reference(s):

- [ClawHub Skill Release](https://clawhub.ai/jgarrison929/skills/nextjs-expert)
- [ClawHub Publisher Profile](https://clawhub.ai/user/jgarrison929)

## Skill Output:

**Output Type(s):** [guidance, markdown, code, configuration]

**Output Format:** [Markdown with TypeScript and shell code examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [None]

## Skill Version(s):

1.0.0 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Nextjs Expert and adjacent AI workflows.