<< All versions

Skill v1.0.0

currentLLM-judged scan95/100
jxoesneon/ciel/nextjs-development
──Details
PublishedOctober 4, 2026 at 06:12 PM
Content Hashsha256:a8741eb9427ef4ad...
Git SHA
──Files
Files (1 file, 1.7 KB)
SKILL.md1.7 KBactive
SKILL.md · 38 lines · 1.7 KB

version: "1.0.0" name: nextjs-development description: Next.js 16+ development using Turbopack, Server Components, and bundle optimization. license: MIT metadata: ciel-version: 1.0.0 ciel-extension: ciel.yaml


CIEL ADAPTATION: Next.js Development (The React Meta-Layer)

This skill formalizes the development of modern React applications using Next.js 16+. it prioritizes Turbopack for development and Server Components for production.

The Turbopack Workflow

  • Dev Mode: Default to next dev. Verify file-system caching is active in .next/.
  • HMR Integrity: If hot updates are slow, audit for massive barrel-imports or un-optimized third-party packages.
  • Bundle Analysis: Use the experimental bundleAnalyzer to find and tree-shake heavy dependencies.

Architecture Mandates

  1. Server Components (RSC): Default to Server Components. Use "use client" ONLY for interactivity (events, state, hooks).
  2. Data Fetching: Fetch data in Server Components via fetch() with appropriate revalidate tags.
  3. Optimized I/O: Use next/image for LCP images and next/font for zero-CLS typography.

Performance Gates

  • LCP: Target < 2.5s via server-side fetching and image priority.
  • CLS: Target < 0.1 via fixed-ratio image containers and font-optimization.
  • Cold Start: Audit middleware and global layouts for blocking I/O that slows down TTFB.

Anti-Patterns

  • Prop Drilling RLS: Passing security context deep into Client Components instead of checking in RSC.
  • Barrel Import Bloat: Importing 1 component from a 50-component index file (breaks tree-shaking).
  • Global State Overkill: Using Redux/Zustand for data that can be managed by RSC and URL params.
All versions