用于审查或改进前端无障碍、语义结构、键盘支持、焦点管理、ARIA 标签、屏幕阅读器行为、WCAG 2.2 问题、触控无障碍或辅助技术回归;中文触发词包括 无障碍、accessibility、a11y、WCAG、屏幕阅读器。
日本語の概要は準備中です。原文の説明を表示しています。
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.
'use client' only when browser API, interactive state or event handling is required.loading.tsx, error.tsx, not-found.tsx, metadata and sensitive logic for routing.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 |
async or fetch, without exposing useEffectuseEffect + useState, or SWR / React Queryloading.tsx and Suspense to wrap asynchronous blocks to provide streaming experienceforce-cache, no-store, revalidate, tag/path revalidation or user private data constraints(auth) does not change the URL, only affects the layout[id] cooperates with generateStaticParams to do SSGlayout.tsx wraps sub-routes to share UI and layoutpage.tsx is a leaf route and cannot be nestedmiddleware.tsmetadata or generateMetadatatitle, description, openGraph, twitter, etc.generateMetadata(params)'use client' only when client interaction is required.useState, useEffect, and browser API directly in server componentsnext/image for images and next/font for fontsNEXT_PUBLIC_ environment variable.loading.tsx / error.tsx, routing and layout, etc. are subject to this skill.'use client' component: combined and composite components, forms, client state, list virtualization, animation and keyboard/focus, etc., consistent with pure React projects, following the React rules in the project (such as .claude/rules/fec-react.md).app/ directory, page.tsx, layout.tsx, loading.tsx, error.tsx)まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
用于审查或改进前端无障碍、语义结构、键盘支持、焦点管理、ARIA 标签、屏幕阅读器行为、WCAG 2.2 问题、触控无障碍或辅助技术回归;中文触发词包括 无障碍、accessibility、a11y、WCAG、屏幕阅读器。
日本語の概要は準備中です。原文の説明を表示しています。
Use when reviewing or improving frontend accessibility, semantic structure, keyboard support, focus management, ARIA labels, screen reader behavior, WCAG 2.2 issues, touch accessibility, or assistive-technology regressions; Chinese triggers include accessibility, accessibility, a11y, WCAG, screen reader.
日本語の概要は準備中です。原文の説明を表示しています。
用于从参考系统中吸收想法、能力、工作流、架构、质量体系、生态扩展或工程实践,并通过原创的项目内重设计转化为当前项目能力,而不是复制原实现。
日本語の概要は準備中です。原文の説明を表示しています。
Use when absorbing ideas, capabilities, workflows, architecture, quality systems, ecosystem extensions, or engineering practices from any reference system into the current project through original, project-native redesign rather than copying.
日本語の概要は準備中です。原文の説明を表示しています。
Use when designing, implementing, or reviewing frontend-to-backend API integration, typed API clients, REST/tRPC/OpenAPI client choices, auth refresh, API error mapping, upload flows, SSE/WebSocket/polling choices, CORS-facing frontend behavior, or cross-boundary loading/error states. Do not use for backend-only service architecture or TanStack Query cache policy alone; Chinese triggers include API integration, front-end and back-end joint debugging, typed API client, Interface error handling, SSE, WebSocket.
日本語の概要は準備中です。原文の説明を表示しています。
用于设计、实现或审查前后端 API 集成、类型化 API client、REST/tRPC/OpenAPI 客户端选型、认证刷新、API 错误映射、上传流程、SSE/WebSocket/轮询选择、CORS 相关前端行为或跨边界 loading/error 状态。不要用于纯后端服务架构或仅 TanStack Query 缓存策略;中文触发词包括 API 集成、前后端联调、typed API client、接口错误处理、SSE、WebSocket。
日本語の概要は準備中です。原文の説明を表示しています。