← 返回 Skills 市场
kostja94

rendering-strategies

作者 Kostja Zhang · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
121
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install rendering-strategies
功能描述
When the user wants to choose or optimize rendering strategy for SEO. Also use when the user mentions "SSR," "SSG," "CSR," "ISR," "static rendering," "dynami...
使用说明 (SKILL.md)

SEO Technical: Rendering Strategies

Guides rendering strategy selection and optimization for search engine and AI crawler visibility. Golden rule: Page data and metadata must be available on page load without JavaScript execution for optimal SEO.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope (Technical SEO)

  • Static vs dynamic: SSG, SSR, ISR, CSR; when to use each
  • Crawler behavior: Googlebot renders JS (with delays); AI crawlers do not
  • Component-level: Content in initial HTML; tabs, carousels, nav
  • Dynamic rendering: Prerender for bots when full SSR/SSG is not feasible

Rendering Methods

Method When HTML generated SEO Best for
SSG (Static Site Generation) Build time ✅ Best Blog, docs, marketing pages; content rarely changes
SSR (Server-Side Rendering) Request time ✅ Good News, product pages; dynamic, personalized content
ISR (Incremental Static Regeneration) Build + revalidate ✅ Good Large sites; static with periodic updates
CSR (Client-Side Rendering) Browser (after JS) ❌ Poor Dashboards, account pages; no SEO needed
Dynamic rendering On-demand for bots ✅ Fallback SPAs; prerender for crawlers, SPA for users

SSG (Static Site Generation)

HTML generated at build time; same HTML for every request. Best for SEO: crawlers receive full HTML immediately; optimal performance.

  • Use when: Blog, docs, marketing pages, content that doesn't change frequently
  • Framework: Next.js getStaticProps, Astro, Gatsby

SSR (Server-Side Rendering)

HTML generated on each request. Good for SEO: crawlers receive complete HTML; supports dynamic, personalized content.

  • Use when: News, product pages, user-specific content
  • Tradeoff: Higher server load; slower TTFB than SSG
  • Framework: Next.js getServerSideProps, Remix

ISR (Incremental Static Regeneration)

Static at build; pages can revalidate after a period. Good for SEO: combines static performance with freshness.

  • Use when: Large sites (millions of pages); content updates periodically
  • Framework: Next.js revalidate in getStaticProps

CSR (Client-Side Rendering)

Server sends minimal HTML shell; content renders in browser after JS loads. Not for SEO: crawlers may see empty content; indexing delays or failures.

  • Use when: Dashboards, account pages, internal tools—no search visibility needed
  • Avoid for: Public content, marketing pages, blog

Dynamic Rendering

Serve prerendered HTML to crawlers; serve SPA to users. Fallback when full SSR/SSG is not feasible (e.g. legacy SPA migration).

  • How: Detect crawler user-agent; route to prerender service (e.g. Prerender.io) or headless render
  • When: JavaScript-heavy sites; migration period; product/docs with CSR
  • Note: Google permits this; prerendered content should match user experience

Crawler Behavior

Crawler JavaScript Content in initial HTML
Googlebot Renders JS (Chrome); may have multi-day queue Full weight; SSR/SSG preferred
AI crawlers (GPTBot, ClaudeBot, PerplexityBot) Do not execute JS Required—CSR content invisible
Bingbot Renders JS Same as Googlebot

AI crawlers: ~28% of Googlebot's crawl volume. Critical content (articles, meta, nav) must be in initial HTML. See site-crawlability for AI crawler optimization; generative-engine-optimization for GEO.

Component-Level: Content in Initial HTML

Google does not simulate user clicks (tabs, carousels, "Load more"). Content loaded via AJAX or on interaction is not discoverable.

Component Requirement Implementation
Tabs / Accordion All tab content in DOM at load Server-render; use \x3Cdetails>/\x3Csummary> or CSS show/hide
Carousel All slides in initial HTML Server-render; CSS/JS for show/hide only
Hero Headline, CTA, LCP image in HTML No JS-only rendering
Navigation All nav links in first paint No JS-injected menus for critical links

Recommendation: Server-render (SSR/SSG) all critical content; use JS only for interaction (show/hide, animation). Content loaded on click = not indexed.

Decision Guide

Content type Rendering Reason
Blog, docs, marketing SSG or ISR Best SEO; fast; static
Product, news, dynamic SSR Fresh content; crawler-ready
Dashboard, account CSR No SEO; auth required
Legacy SPA Dynamic rendering Bridge until SSR/SSG migration

Output Format

  • Current setup: SSG, SSR, CSR, or hybrid
  • Recommendation: By page type
  • Component checks: Tabs, carousel, nav—content in initial HTML?
  • References: Next.js Rendering, Vercel SSR vs SSG

Related Skills

  • site-crawlability: AI crawler optimization; SSR for critical content; URL management
  • generative-engine-optimization: GEO; AI crawlers don't execute JS
  • core-web-vitals: LCP; SSR/SSG for above-fold; client-side hurts LCP
  • mobile-friendly: Mobile-first indexing; content parity
  • tab-accordion: Content in DOM at load; server-render tabs
  • carousel: Content in initial HTML; server-render slides
  • hero-generator: Hero in initial HTML; avoid JS-only
  • navigation-menu-generator: Nav in first paint; no JS-only menus
安全使用建议
This skill is instruction-only and appears coherent for SEO rendering advice — it neither installs software nor asks for credentials. Before installing: (1) understand it only provides guidance (no automated remediation), (2) verify recommendations against your framework/version (e.g., Next.js/Remix docs) because best practices change, and (3) if you plan to let agents act autonomously with this advice, limit automated actions (deploys, credential use) elsewhere since the skill does not perform checks or perform safe automated changes.
功能分析
Type: OpenClaw Skill Name: rendering-strategies Version: 1.0.2 The skill bundle contains only documentation and instructions for an AI agent regarding SEO rendering strategies (SSR, SSG, CSR, etc.). There is no executable code, no data exfiltration logic, and no malicious prompt injection; the instructions are strictly aligned with the stated purpose of guiding technical SEO decisions in SKILL.md.
能力标签
crypto
能力评估
Purpose & Capability
Name/description (rendering strategies for SEO) match the SKILL.md content: guidance on SSG/SSR/ISR/CSR, dynamic rendering, component-level server-rendering, and decision heuristics. The skill does not request unrelated credentials, binaries, or config paths.
Instruction Scope
SKILL.md contains only explanatory guidance, decision tables, component checks, and an output format. It does not instruct the agent to read arbitrary files, access environment variables, call external endpoints, or perform system operations outside the skill's domain.
Install Mechanism
No install spec or code files are present — instruction-only. No downloads or package installs are specified, so there is no installation risk.
Credentials
The skill declares no required environment variables, credentials, or config paths; the guidance does not reference any secrets or external service tokens.
Persistence & Privilege
always is false and there is no indication the skill requests persistent system privileges or modifies other skills/config. Autonomous invocation is allowed by platform default but the skill itself has no elevated capabilities.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rendering-strategies
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rendering-strategies 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Version bump for ClawHub republish
v1.0.1
Automated batch sync
元数据
Slug rendering-strategies
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

rendering-strategies 是什么?

When the user wants to choose or optimize rendering strategy for SEO. Also use when the user mentions "SSR," "SSG," "CSR," "ISR," "static rendering," "dynami... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 rendering-strategies?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rendering-strategies」即可一键安装,无需额外配置。

rendering-strategies 是免费的吗?

是的,rendering-strategies 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

rendering-strategies 支持哪些平台?

rendering-strategies 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 rendering-strategies?

由 Kostja Zhang(@kostja94)开发并维护,当前版本 v1.0.2。

💬 留言讨论