maroffo/claude-forge/react-nextjs
Claude Code and agent skill by maroffo/claude-forge
- community
Checking that the SKILL.md file is still in the repository.
React + Next.js App Router development. Use when working with .tsx/.jsx files, next.config, or user asks about Server Components, data fetching, state management, forms, or React testing.
Install
npx vskill@latest install maroffo/claude-forge/react-nextjsSKILL.md
ABOUTME: React + Next.js App Router development with Server Components, TypeScript
ABOUTME: Patterns for data fetching, state management, forms, testing, and styling
React + Next.js
Quick Reference
See also: _AST_GREP.md, _PATTERNS.md, source-control
Version (determine, don't assume)
See ../_LANG_COMMON.md. Fetch the truth:
Pre-Commit Verification (MANDATORY)
make check && make test-e2e must pass (enforced by the pre-commit-gate hook; see ../_LANG_COMMON.md). What make check expands to for a Next.js app:
Project Structure
Organize by feature, not technical layer.
Server vs Client Components
Default to Server. Client only when needed.
| Server | Client | |
|---|---|---|
| Fetch data, DB access | onClick, onChange | |
| Sensitive data | useState, useEffect | |
| Large deps, SEO | Browser APIs |
Key Patterns
State: TanStack Query (server state), Zustand (global client), nuqs (URL state).
Forms: Server Action + useActionState + Zod validation. useFormStatus for pending UI.
Performance: next/image with priority, dynamic() for lazy loading, React Compiler for auto-memoization.
Testing: Vitest + React Testing Library (unit), Playwright (E2E).
For detailed code examples (forms, Zustand, testing, performance), see references/react-patterns.md.
Checklist
- [ ] No
any, no unnecessary'use client' - [ ] Server/Client correctly separated
- [ ] Forms: useActionState + useFormStatus
- [ ] useOptimistic for mutations
- [ ] Images: next/image + priority
Libraries: TanStack Query, Zustand, nuqs, Zod, Vitest + Playwright
Security
- Security scanPassed, 100 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 repositoryCheckingskills/react-nextjs/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 2
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Apr 2026, 7 months ago.
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/maroffo/claude-forge/react-nextjs)