nextjs-server-client-boundaries

设计 Next.js 服务端组件与客户端组件的边界。用于决定何时添加 use client、如何将属性从服务端传递到客户端、如何避免在客户端暴露敏感信息、如何减小打包体积、如何混用交互式组件,以及如何在 App Router 项目中组织 React 组件结构。

仓库最近推送
GitHub Stars
140
Forks
47
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "nextjs-server-client-boundaries":https://skillpi.com/zh/skills/deepskill-c122c1ba7efcac6267d952fc356ff7ab3028c2b77ff828f795d5e4bdae775dcf。安装前核对上游来源和版本:https://github.com/TheGoat395/Codex-Skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

设计 Next.js 服务端组件与客户端组件的边界。用于决定何时添加 use client、如何将属性从服务端传递到客户端、如何避免在客户端暴露敏感信息、如何减小打包体积、如何混用交互式组件,以及如何在 App Router 项目中组织 React 组件结构。

0 下载

介绍来源: third_party · TheGoat395 · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: nextjs-server-client-boundaries
description: "Set use client and Server Function boundaries."

Next.js Server Client Boundaries

For substantial web work, reuse the scoped web contract when available; it replaces duplicated policy here. Match the requested scope and existing decisions; a missing optional sibling does not block this local procedure.

Use This Skill

Use this skill to draw precise server and client component boundaries.

Required Reference

Read references/nextjs-server-client-boundaries-guide.md before making architectural or visible UI changes with this skill.

版本历史

  1. v0.2.0 GitHub ↗
    原版更新说明

    Added the public agent-quality collection and expanded the default public core from 70 to 80 skills. Highlights: - Critical and logical thinking, creativity, deep research, and evidence reconciliation - Systematic debugging and fresh verification before completion claims - Bounded agent architecture, memory provenance, and evaluation workflows - Public-neutral packaging with private and machine-specific references removed - Updated catalogs, adapters, release checks, and generated inventories

  2. v0.1.2 GitHub ↗
    原版更新说明

    ## Codex Premium Website Skills v0.1.2 - Added `COMPATIBILITY.md` with Codex, Claude Code, Cursor, Gemini CLI, and generic `SKILL.md` support levels. - Added `CATALOG.md` as a cleaner audience-facing map of collections and high-value skills. - Added `adapters/` documentation for Claude Code, Cursor project rules, and Gemini CLI context files. - Added Cursor and Gemini CLI adapter files for project-level use. - Updated README, evidence, docs, and usage-signal guidance for broader agent ecosystem adoption.

  3. v0.1.1 GitHub ↗
    原版更新说明

    ## Codex Premium Website Skills v0.1.1 - Added `EVIDENCE.md` to summarize proof-of-output, workflow estimates, benchmark readiness, and evidence status. - Added maintainer workflow, usage-signal, and measured benchmark template documentation. - Improved install documentation for clone-based and release-archive usage. - Corrected stale benchmark skill references. - Refined public attribution language in `design-motion-principles`. - Added repository hygiene for release artifacts and GitHub language classification.

  4. v0.1.0 GitHub ↗
    原版更新说明

    # Changelog All notable changes to Codex Premium Website Skills are documented here. ## [0.1.0] - 2026-07-02 - Initial public release of the curated 70-skill public core. - Added eight installable collections for design direction, frontend implementation, QA, motion, content, and maintainer safety workflows. - Added the local installer with dry-run, selected-collection, and replace-with-backup behavior. - Added the premium website showcase gallery with nine local demo previews. - Added public quality, security, benchmark, contribution, and community-health documentation. - Added automated skill validation through GitHub Actions.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 针对 Next.js App Router 项目中服务端与客户端组件边界设计这一高频刚需场景,具备高实用价值
  • 明确覆盖 use client 设置、属性传递、敏感信息处理、打包优化等关键开发痛点
触发精准95/100

亮点

  • 触发描述精准完整,覆盖多种 Next.js 组件边界设计变体,边界清晰
结构规范70/100

待提升项

  • 缺少具体步骤划分与示例 原报告严重程度:轻微

    Skill 缺少具体的执行步骤划分(Phase)、端到端示例以及明确的出口条件

    改进建议:建议补充具体的操作步骤、端到端示例以及明确的出口条件,以提升可读性和可执行性

亮点

  • frontmatter 完整,单文件未超 500 行
执行可靠55/100

待提升项

  • 引用文件缺失 原报告严重程度:重大

    Skill 引用了 references/nextjs-server-client-boundaries-guide.md 文件,但该文件未包含在传入内容中

    改进建议:请确保所有被引用的文件都包含在 Skill 包中,或提供完整的参考内容

证据可验 (前四项均值)78/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。