Choosing SSR, SSG, ISR or CSR, rendering each route for each audience (people, search engine crawlers, and link-preview bots) from one server, recognizing crawlers by a verified IP address, the boundary between server and client code (server-only), and the environment variables exposed to the client. Load when building pages or components in a web framework.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Rendering?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/the-up-rendering)
---
name: rendering
description: "Choosing SSR, SSG, ISR or CSR, rendering each route for each audience (people, search engine crawlers, and link-preview bots) from one server, recognizing crawlers by a verified IP address, the boundary between server and client code (server-only), and the environment variables exposed to the client. Load when building pages or components in a web framework."
---
# Rendering
- Determine the project's rendering model (SSR, SSG, ISR, CSR); follow the framework's server and client boundaries and its recommended folder structure.
- Choose the model for each page by its SEO, performance, data freshness, and security needs; ship to the client only the code that needs interactivity.
- Decide how each route renders for each audience, and serve every audience from one server and one codebase, so that a fix to a page's tags, structured data, or status code lands once:
- **People:** stream server-rendered HTML on public pages. A screen behind a sign-in may render in the browser where the framework recommends it, but it then waits for JavaScript before it shows anything.
- **Search engine crawlers:** send the complete document, with every streamed part resolved in place and the structured data included, and skip hydration: no client bundle, router state, or placeholders that only the client would replace.
- **Link-preview bots:** run only the route's data loading and head tags (title, description, and image), and skip the page body.
- Recognize a search engine crawler by its verified IP address, usually at the edge: a reverse DNS lookup confirmed by a forward lookup, or the search engine's published IP ranges. Don't rely on the User-Agent header: anyone can send it to request the more expensive path, and tools such as Lighthouse would then measure a different page from the one people get.
- Keep server code (secrets, database access, authorization) in modules separate from client code; enforce this boundary with tools such as `server-only` or with lint rules.
- Put only values that may be public in the environment variables exposed to the client (for example `NEXT_PUBLIC_`, `VITE_`).
Source: [Rebuilding the global town square from scratch](https://blog.x.com/en/engineering/rebuilding-the-global-town-square-from-scratch), X Engineering, 2026-11-04.