Skip to content

skilldrop·docs·How-to

Use rendering-strategy

Decide route by route how each page of a web app is rendered

Decide route by route how each page of a web app is rendered — static at build (SSG), static with revalidation (ISR, stale-while-revalidate), server-rendered per request (SSR, streaming), client-rendered (CSR, SPA), at the edge, or a mix with islands and server components — from how fresh each route's data must be, whether it is personalised, whether it must be indexed or shared, what it costs per request at the stated traffic and how much JavaScript it needs, with the cache keys, invalidation events and failure modes of each choice.

Reach for it when the user asks "should this be SSR or static", "SSR vs SSG vs ISR", "how should each page be rendered", "do we need SSR for SEO", "which pages can we cache", or is choosing rendering modes in Next.js, Nuxt, Remix, React Router, SvelteKit or Astro.

Install it

npx skilldrop-cli install rendering-strategy                 # Claude Code, your user folder
npx skilldrop-cli install rendering-strategy --project       # Claude Code, this repo
npx skilldrop-cli install rendering-strategy --ide cursor    # or kiro, codex, antigravity, copilot

It is part of the Frontend pack: --pack frontend installs it with its neighbours.

It ships scripts, so it needs Python 3 (standard library only, nothing to install). What they may touch is declared in its manifest.

Ask for it

Say it the way you would to a colleague. Requests like these route to it:

Requests like these belong to a different skill, so it shouldn't answer them:

If another skill answers instead, ask for this one by name: "use rendering-strategy".

Check what you get

A good result:

See a worked example

Use something else when

Next

Edit this page on GitHub · View source