verify-nextjs
Skill4 starsChanged 3 months agoMITView on GitHub
Next.js/React verification checklist — components, data fetching, types, performance, Tailwind v4.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- theyoungastronauts/waypoint-mdword for word, first seen Jul 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- theyoungastronauts/waypoint-md★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository53 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- actionableSkill
- astro-bootstrapSkill
- astro-patternsSkill
- autopilotSkill
- axon-code-intelSkill
- brainstormingSkill
- commit-conventionsSkill
- cross-repo-contextSkill
- django-bootstrapSkill
- django-patternsSkill
- executeSkill
- find-sessionSkill
- flutter-bootstrapSkill
- flutter-patternsSkill
- full-featureSkill
- intelSkill
- nextjs-bootstrapSkill
- nextjs-fullstack-bootstrapSkill
- nextjs-fullstack-patternsSkill
- nextjs-mui-bootstrapSkill
- nextjs-patternsSkill
- nextjs-shadcn-bootstrapSkill
- orchestratorSkill
- phase-breakdownSkill
- plan-and-scopeSkill
- prdSkill
- reactSkill
- recallSkill
- reflectSkill
- relaySkill
- rememberSkill
- scaffoldSkill
- scratchSkill
- tailwindSkill
- ux-specSkill
- ux-to-promptsSkill
- verify-astroSkill
- verify-djangoSkill
- verify-flutterSkill
- verify-nextjs-fullstackSkill
- verify-nextjs-muiSkill
- verify-nextjs-shadcnSkill
- verifySkill
- visual-feedbackSkill
- work-disciplineSkill
- worktreesSkill
- wrapSkill
- write-as-friendSkill
- write-as-humanSkill
- writing-clearlySkill
- writing-skillsSkill
The file
Files
Skill: Verify Next.js
Purpose
Systematic verification checklist for Next.js/React code. Used by the reviewer agent after code execution.
Verification Process
1. Tests
- Tests exist for new/changed components and logic
- Tests pass (
npm test/vitest) - Tests cover user interactions, not implementation details
- API mocking is realistic (matches actual response shapes)
2. Components
- Server vs Client Components used appropriately
- No unnecessary
"use client"directives - Props are typed — no
anytypes - Components are reasonably sized (extract if >150 lines)
- Key props on list items
3. Data Fetching
Match the project's architecture mode (see CLAUDE.md / nextjs-patterns): SSR-centric projects use route-level conventions, frontend-centric projects manage state in client components.
- No waterfalls — parallel fetches where possible
- Loading states handled (SSR: loading.tsx or Suspense; frontend-centric: loading flags in state, reset in
finally) - Error states handled (SSR: error.tsx or error boundaries; frontend-centric: error state + user-visible message)
- Caching strategy is intentional (not accidental)
- API endpoints use trailing slashes (Django REST Framework convention)
- API calls live in a single
lib/api.ts— a genericapiFetch<T>base plus namespaced exports (authApi,itemsApi), not scatteredfetchcalls
4. Types
- API response types match the integration summary
- No
anyescape hatches without comments explaining why - Shared types are in
types/not duplicated across files - Backend dates are typed as
string(ISO 8601) and parsed withdayjs— not read asDatestraight off the wire tsc --noEmitpasses cleanly
5. Performance
- Images use next/image
- No unnecessary re-renders (check effect dependencies)
- Large lists are virtualized if >100 items
- Bundle impact is reasonable (no giant libraries for small tasks)
For a deeper performance pass, run the
/reactskill (react-best-practices) — its 57 rules across 8 categories are prioritized by impact.
6. Accessibility
- Interactive elements are keyboard accessible
- Form inputs have labels
- Images have alt text
- Semantic HTML used (not div soup)
7. Security
- No secrets or API keys in client code
- User input is sanitized before rendering
- API calls include appropriate auth headers
- Server actions validate input
8. Code Quality
- No commented-out code
- No console.logs left in
- ESLint passes
- Consistent naming conventions
9. Development Environment
Dockerfile.devexists and uses a supported LTS Node image (node:22-alpineor newer)docker-compose.ymlexists with volume mounts andWATCHPACK_POLLINGMakefileexists and wraps all commands viadocker compose exec- No
npm run/npxcommands used directly on host
10. Styling — Tailwind v4 (Tailwind stacks only: shadcn / plain Next.js — skip for MUI)
- No
tailwind.config.js/ts— configuration lives in an@themeblock in CSS, with@import "tailwindcss"(not@tailwind base/components/utilities) - Colors use semantic tokens in OKLCH (
bg-primary, notbg-blue-500or hardcoded hex); new tokens go in@themerather than arbitrary values - Component variants use CVA (
class-variance-authority), merged throughcn() size-*shorthand (size-10) overh-10 w-10; noforwardRef(React 19 passesrefas a prop)- Dark mode via
@custom-variant dark+ the.darkclass, not a configdarkModeflag
Output
Produce a verification-report.md (same format as verify-django).
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
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.

