RSC usage, "use client" directive, and Component Purity.
Next.js (App Router) uses React Server Components (RSC) by default.
useState, useEffect, or Browser APIs (window, localstorage).'use client' at the VERY TOP of the file.onClick), State (useState), Lifecycle effects, Browser APIs.<Button /> in a Client Component.children prop to the Client Component.// ClientWrapper.tsx
'use client';
export default function ClientWrapper({ children }) {
return <div>{children}</div>;
}
// Page.tsx (Server)
<ClientWrapper>
<ServerComponent />
</ClientWrapper>;
server-only package to prevent).npx skills add ngxtm/Next.js Server Components下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer