camilool8/harness-engineering-templates/addon-nextjs
Claude Code and agent skill by camilool8/harness-engineering-templates
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
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-nextjsSemi-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
fetchAPI 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/revalidateTagafter a successful mutation.
Routing:
- File-system routing:
app/page.tsx→/,app/blog/[slug]/page.tsx→/blog/:slug. - Layouts in
layout.tsxpersist across child routes; usetemplate.tsxwhen
layout state must reset on navigation.
- Loading UI:
loading.tsxwraps the route segment in<Suspense>automatically.
Do not:
- Do not call Server Actions inside
useEffectfor 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
- SKILL.md in the repositoryCheckingplugins/harness-web/skills/addon-nextjs/SKILL.md
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
[](https://verified-skill.com/skills/camilool8/harness-engineering-templates/addon-nextjs)