camilool8/harness-engineering-templates/addon-nextjs

Claude Code and agent skill by camilool8/harness-engineering-templates

Trust tier 3
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Next.js App Router conventions — Server Components by default, leaf-node 'use client' boundaries, server-side data fetching with cache control, Server Actions for mutations, file-system routing, and the server/client import boundary. Use when building in the app/ directory or reviewing Next.js App Router code.

Install

npx vskill@latest install camilool8/harness-engineering-templates/addon-nextjs

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as camilool8/harness-engineering-templates/addon-nextjs.

Addon — Next.js App Router

All code targets the app/ directory (App Router). The pages/ directory is legacy — do not create new files there.

Component model:

  • Every component is a Server Component by default. Add 'use client' only when

you need browser APIs (window, document), event handlers, or React state/effects.

  • Keep 'use client' boundaries as leaf nodes — move data-fetching ancestors to

the server side.

Data fetching:

  • Fetch data in async Server Components using the native fetch API or ORM calls.

Do not use useEffect to load data — it runs on the client after hydration and defeats server rendering.

  • Cache control: { cache: 'force-cache' } for static, { cache: 'no-store' } for

dynamic, { next: { revalidate: N } } for ISR.

Mutations:

  • Use Server Actions ('use server' functions, or files with 'use server' at top)

for all data writes. Invoke them from <form action={action}> or startTransition.

  • Revalidate with revalidatePath / revalidateTag after a successful mutation.

Routing:

  • File-system routing: app/page.tsx → /, app/blog/[slug]/page.tsx → /blog/:slug.
  • Layouts in layout.tsx persist across child routes; use template.tsx when

layout state must reset on navigation.

  • Loading UI: loading.tsx wraps the route segment in <Suspense> automatically.

Do not:

  • Do not call Server Actions inside useEffect for side-effects — use event handlers

or form actions.

  • Do not import server-only modules (database clients, secrets) into Client Components.

Use server-only package to enforce this boundary at build time.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/camilool8/harness-engineering-templates/addon-nextjs/badge)](https://verified-skill.com/skills/camilool8/harness-engineering-templates/addon-nextjs)

Something wrong with this skill or its page? Tell us.