Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pproenca/dot-skills --skill nextjs-ppr-patternsgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pproenca/dot-skills/nextjs-ppr-patterns)<a href="https://agentmods.dev/skills/pproenca/dot-skills/nextjs-ppr-patterns"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/nextjs-ppr-patterns/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/nextjs-ppr-patterns"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/nextjs-ppr-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00179 | $0.02199 |
| Opus 5.5 | $0.00072 | $0.00880 |
| Sonnet 5.5 | $0.00036 | $0.00440 |
| Haiku 4.5 | $0.00018 | $0.00220 |
Grade A, and why
nextjs-ppr-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Next.js 16 Partial Prerendering Patterns
Partial Prerendering (PPR) for the Next.js 16 App Router under the Cache Components model — the decisions PPR forces and how to settle them, written so an agent applies them while writing or reviewing code. Contains 21 rules across 6 categories, ordered from easy to complex: enable PPR → understand the static/dynamic boundary → cache → handle runtime data → compose whole pages → build forms and wizards. Each rule corrects a specific wrong default of a model defaulting to Next.js 14/15; there is no rule for things the model already gets right.
Version-specific. This skill targets Next.js 16 (PPR via
cacheComponents, React 19.2). The Next.js 14/15experimental.pprflag andexport const experimental_pprroute export were removed — seesetup-enable-cache-components. For migrating an existing app, see the migration guide.
Write, then verify. These rules are for authoring PPR; they can't tell you what actually rendered. To empirically deconstruct the boundary — diff the static shell against the hydrated DOM to find the dynamic holes, locate the
'use client'islands, measure loading, and explain why a route is dynamic — drivenext buildand a real browser per _debug-boundaries.md.
When to Apply
- Building or reviewing a Next.js 16 page that mixes static chrome with personalized, real-time, or per-request content
- Enabling or migrating PPR (
cacheComponents), or seeing deadexperimental.ppr/experimental_pprcode - Deciding where
<Suspense>boundaries go, or debugging anUncached data was accessed outside of <Suspense>build error - Adding
'use cache',cacheLife,cacheTag, or choosingupdateTag/revalidateTag/refreshafter a mutation - Composing forms, multi-step wizards, dashboards, or streaming server data into interactive Client Components
- Empirically verifying or debugging what actually rendered — which parts are in the static shell vs streamed, where the CSR/SSR boundary is, and why a route went dynamic
What ships with it
26 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 6.4 KB
- assets/templates/_template.md 1.0 KB
- metadata.json 2.1 KB
- references/_debug-boundaries.md 9.3 KB
- references/_sections.md 3.4 KB
- references/cache-in-memory-not-durable-serverless.md 1.2 KB
- references/cache-keys-are-automatic.md 1.2 KB
- references/cache-pass-runtime-values-as-props.md 2.1 KB
- references/cache-pass-through-children-and-actions.md 1.2 KB
- references/cache-set-lifetime-and-tags.md 1.1 KB
- references/cache-use-cache-directive.md 1.1 KB
- references/compose-do-not-opt-out-the-shell.md 1.6 KB
- references/compose-parallel-holes.md 1.6 KB
- references/compose-single-dynamic-hole.md 1.2 KB
- references/compose-stream-to-client-with-use.md 1.7 KB
- references/mutate-updatetag-vs-revalidatetag.md 1.6 KB
- references/mutate-wizard-url-driven-steps.md 1.7 KB
- references/runtime-gate-nondeterminism-with-connection.md 1.2 KB
- references/runtime-keep-param-routes-static.md 1.2 KB
- references/runtime-request-apis-force-a-boundary.md 1.3 KB
- references/setup-dynamic-by-default.md 1.3 KB
- references/setup-enable-cache-components.md 1.2 KB
- references/shell-place-boundaries-low.md 1.3 KB
- references/shell-suspense-does-not-force-dynamic.md 1.4 KB
- references/shell-suspense-is-the-boundary.md 1.2 KB
- references/shell-wrap-uncached-data.md 1.4 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 97 lines · 179 tokens per session scan A 4aae09507027
nextjs-ppr-patterns is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 179 tokens to every session and 2,199 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
nextjs-ppr-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextjs-ppr-patternspproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 179 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |