nextjs-react19
星标11
分支1
更新时间2026年4月5日 15:06
Next.js with React 19 App Router patterns
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Next.js with React 19 App Router patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Biome JavaScript/TypeScript linter and formatter
Hono lightweight web framework on Cloudflare Workers
Cloudflare Workers edge computing platform
Laravel PHP framework best practices
MySQL database best practices and query patterns
React with TypeScript best practices
| name | nextjs-react19 |
| description | Next.js with React 19 App Router patterns |
| model | inherit |
| triggers | [{"file_pattern":"app/**/page.tsx"},{"file_pattern":"app/**/layout.tsx"}] |
Build modern Next.js applications with App Router and React 19 features.
// Server Component
async function BlogPage() {
const posts = await getPosts();
return (
<main>
{posts.map(post => (
<PostCard key={post.id} post={post} />
))}
</main>
);
}
// Client Component
'use client';
function LikeButton({ postId }: { postId: string }) {
const [optimisticLikes, addOptimisticLike] = useOptimistic(
likes,
(state) => state + 1
);
return <button>{optimisticLikes} likes</button>;
}
/react - React TypeScript patterns/typescript - TypeScript fundamentals