·nextjs-static-shells
</>

nextjs-static-shells

静态优先 Next.js 16 种架构模式:具有动态槽的缓存 shell、提供程序岛、“使用缓存”边界和链接预加载策略。在构建或重构 Next.js 路由时使用,以最大化静态渲染、通过动态个性化实现“使用缓存”、拆分条目与静态渲染器、确定客户端提供程序的范围或调整预取行为。在“静态 shell”、“使用缓存模式”、“动态槽”、“提供者岛”、“预取策略”、“静态优先”、“缓存边界”、“路由意外变为动态”或任何涉及混合静态/动态渲染的 Next.js 架构工作上触发。

36安装·1热度·@joelhooks

安装

$npx skills add https://github.com/joelhooks/joelclaw --skill nextjs-static-shells

如何安装 nextjs-static-shells

通过命令行快速安装 nextjs-static-shells AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/joelhooks/joelclaw --skill nextjs-static-shells
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:joelhooks/joelclaw。

SKILL.md

查看原文

Build a static shell first, then cut small dynamic holes where personalization or request-specific behavior is required.

| Static | Synchronous, pure computation | Our Blog | | Cached ('use cache') | Async but deterministic for given inputs | db.posts.findMany() with cacheLife('hours') | | Dynamic (Suspense) | Runtime/request-specific, must be fresh | cookies(), user session, notifications |

Built-in profile shortcuts: 'use cache' alone → 5m stale / 15m revalidate. 'use cache: remote' → platform KV. 'use cache: private' → allows runtime APIs (compliance escape hatch).

静态优先 Next.js 16 种架构模式:具有动态槽的缓存 shell、提供程序岛、“使用缓存”边界和链接预加载策略。在构建或重构 Next.js 路由时使用,以最大化静态渲染、通过动态个性化实现“使用缓存”、拆分条目与静态渲染器、确定客户端提供程序的范围或调整预取行为。在“静态 shell”、“使用缓存模式”、“动态槽”、“提供者岛”、“预取策略”、“静态优先”、“缓存边界”、“路由意外变为动态”或任何涉及混合静态/动态渲染的 Next.js 架构工作上触发。 来源:joelhooks/joelclaw。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/joelhooks/joelclaw --skill nextjs-static-shells
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from joelhooks/joelclaw

快速解答

什么是 nextjs-static-shells?

静态优先 Next.js 16 种架构模式:具有动态槽的缓存 shell、提供程序岛、“使用缓存”边界和链接预加载策略。在构建或重构 Next.js 路由时使用,以最大化静态渲染、通过动态个性化实现“使用缓存”、拆分条目与静态渲染器、确定客户端提供程序的范围或调整预取行为。在“静态 shell”、“使用缓存模式”、“动态槽”、“提供者岛”、“预取策略”、“静态优先”、“缓存边界”、“路由意外变为动态”或任何涉及混合静态/动态渲染的 Next.js 架构工作上触发。 来源:joelhooks/joelclaw。

如何安装 nextjs-static-shells?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/joelhooks/joelclaw --skill nextjs-static-shells 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/joelhooks/joelclaw

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25