fec-accessibility-chec…
Use when reviewing or improving frontend accessibility, semantic structure, keyboard support, focus management, ARIA labels,…
Use when creating or reviewing Next.js 14+ App Router projects, file routes, layouts, server/client component boundaries, SSR/SSG/ISR, streaming, metadata, middleware, server actions, or Next-specific data fetching. For generic client React component architecture, apply the
Claude Code
$ npx -y skills add bovinphang/frontend-craft --skill fec-nextjs-project-standard --agent claude-code
Codex
$ npx skills add bovinphang/frontend-craft --skill fec-nextjs-project-standard -a codex -y
Cursor
$ npx skills add bovinphang/frontend-craft --skill fec-nextjs-project-standard -a cursor -y
Gemini CLI
$ npx skills add bovinphang/frontend-craft --skill fec-nextjs-project-standard -a gemini-cli -y
GitHub Copilot
$ npx skills add bovinphang/frontend-craft --skill fec-nextjs-project-standard -a github-copilot -y
OpenCode
$ npx skills add bovinphang/frontend-craft --skill fec-nextjs-project-standard -a opencode -y
Windsurf
$ npx skills add bovinphang/frontend-craft --skill fec-nextjs-project-standard -a windsurf -y
name: fec-nextjs-project-standard description: Use when creating or reviewing Next.js 14+ App Router projects, file routes, layouts, server/client component boundaries, SSR/SSG/ISR, streaming, metadata, middleware, server actions, or Next-specific data fetching. For generic client React component architecture, apply the project's React conventions separately; Chinese triggers include Next.js, App Router.
For repositories using Next.js 14+ with App Router.
Standardize engineering practices for App Router, SSR/SSG/ISR rendering modes, data acquisition, route layout, middleware and SEO metadata in Next.js 14+ projects to ensure server-side priority, performance optimization and maintainability.
1. First identify whether the target belongs to App Router, layout, server data, middleware, metadata or client interaction. 2. Default server-side components take precedence; use `'use client'` only when browser API, interactive state or event handling is required. 3. Clarify SSR / SSG / ISR / CSR rendering mode and Next fetch/cache strategy. 4. Complete the server-side boundaries of `loading.tsx`, `error.tsx`, `not-found.tsx`, metadata and sensitive logic for routing. 5. Check whether Server Component is supported before introducing third-party libraries; browser-specific, animation, chart, editor and WebGL libraries must be placed into client leaf components and loaded on demand. 6. Prioritize evidence review for dynamic rendering, cache invalidation, RSC serialization, route handler, middleware, and first-screen bundles; first collect build, trace, headers, or routing behavior evidence when unsure. 7. Client component architecture issues are offloaded to the React project workflow.
src/ ├── app/ # App Router │ ├── layout.tsx # Root layout │ ├── page.tsx # Home page │ ├── loading.tsx # Global loading UI │ ├── error.tsx # Global error boundary │ ├── not-found.tsx # 404 │ ├── globals.css │ │ │ ├── (auth)/ # Routing group │ │ ├── login/ │ │ │ └── page.tsx │ │ └── register/ │ │ └── page.tsx │ │ │ ├── (dashboard)/ # Dashboard routing group │ │ ├── layout.tsx # Shared layout │ │ ├── dashboard/ │ │ │ └── page.tsx │ │ └── users/ │ │ ├── page.tsx │ │ └── [id]/ │ │ └── page.tsx │ │ │ └── api/ # API Routes │ └── users/ │ └── route.ts │ ├── components/ # Shared components ├── lib/ # Tools, configuration ├── hooks/ ├── services/ └── types/
| Patterns | Usage scenarios | Implementation methods | | ------- | ---------------- | ----------------------------------------------- | | **SSR** | Dynamic, real-time data required | Default, `fetch` does not cache or `cache: 'no-store'` | | **SSG** | Static content | `generateStaticParams` + static `fetch` | | **ISR** | Periodically updated | `revalidate` or `revalidatePath` | | **CSR** | Client interaction | `'use client'` + `useEffect` or SWR/React Query |
frontend-craft is a universal frontend plugin that brings the same opinionated engineering standards to all 15 AI coding assistants.
Use when reviewing or improving frontend accessibility, semantic structure, keyboard support, focus management, ARIA labels,…
Use when absorbing ideas, capabilities, workflows, architecture, quality systems, ecosystem extensions, or engineering practices…
Use when designing, implementing, or reviewing frontend-to-backend API integration, typed API clients, REST/tRPC/OpenAPI client…
Use when frontend work needs to communicate data, action, state, permission, validation, or business-rule needs to backend teams…
Use when choosing, implementing, or reviewing browser storage such as localStorage, sessionStorage, IndexedDB, cookies, client…
Use when building or reviewing Canvas 2D, Three.js/WebGL, React Three Fiber, GLSL shaders, ShaderToy-to-WebGL adaptation, 2D/3D…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.