Skip to content
Back to skills

Rendering

ASecurity

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.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentjavascriptjavadatabasesecurityperformance

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add the-up/ai --skill rendering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rendering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rendering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/the-up-rendering/badge)](https://www.skillsdirectory.com/skills/the-up-rendering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.