aizen-gate/skills-reference/.agent/skills/react-best-practices/SKILL.md
React & Next.js engineering standards.
npx skillsauth add ahmad-ubaidillah/aizen-gate react-best-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Goal: Build high-performance, maintainable, and accessible React applications using modern patterns (React 19+, Next.js App Router).
app/) for all new projects.'use client' when interactivity (state, hooks, event listeners) is strictly needed.<Suspense> boundaries to stream UI parts that depend on slow data.useEffect for data fetching.children prop to tackle prop drilling.useHookName.any.next/image with proper width, height, and sizes.next/font to eliminate layout shift (CLS).next/dynamic or React.lazy for heavy client components below the fold.@next/bundle-analyzer.clsx + tailwind-merge (typically cn() helper) for conditional class merging.md:, lg: prefixes.app/
├── (marketing)/ # Route group
├── dashboard/
│ ├── page.tsx
│ ├── layout.tsx
│ ├── _components/ # Private feature components
│ └── loading.tsx
components/ # Shared components (UI Kit)
lib/ # Utilities and helpers
hooks/ # Shared hooks
types/ # Global types
dangerouslySetInnerHTML.NextAuth.js (Auth.js) or Clerk. Protect routes via Middleware.Checklist before PR:
'use client' used only where necessary?key props?development
Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns.
development
Modern Angular UI patterns for loading states, error handling, and data display. Use when building UI components, handling async data, or managing component states.
tools
Master modern Angular state management with Signals, NgRx, and RxJS. Use when setting up global state, managing component stores, choosing between state solutions, or migrating from legacy patterns.
development
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or ...