Deploys static frontends (React, Vue, Hugo, Gatsby, etc.) to Render's global CDN with automatic TLS, Brotli compression, and HTTP/2. Covers build commands, publish paths, SPA fallback routing, redirects, custom headers, and PR previews.
Ships in render. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Deploys static frontends (React, Vue, Hugo, Gatsby, Docusaurus, Jekyll, etc.) to Render's global CDN with automatic TLS, Brotli compression, HTTP/2, and DDoS protection. Free tier available.
For SSR frameworks (Next.js, Nuxt, SvelteKit) that need a running server, use render-web-services instead. For Blueprint authoring, see render-blueprints.
| Need | Use | Why |
|---|---|---|
| Pure HTML/CSS/JS, SPA, docs, blog | Static Site | Free, global CDN, instant cache invalidation |
SSR (Next.js next start, Nuxt server) | Web Service | Needs a running Node/Python/etc. process |
| Static export from SSR framework | Static Site | If the framework supports full static export (next export, nuxt generate) |
| API backend | Web Service | Static sites cannot run server code |
Key constraint: Static sites are not on the private network. They cannot communicate with other Render services over internal hostnames.
| Setting | Purpose |
|---|---|
buildCommand | Installs dependencies and builds assets (e.g. npm ci && npm run build) |
staticPublishPath | Directory of built output to serve (e.g. build, dist, public) |
Render auto-detects and installs dependencies. Set SKIP_INSTALL_DEPS=true to handle installation yourself in the build command.
| Framework | Build command | Publish path |
|---|---|---|
| Create React App | npm ci && npm run build | build |
| Vite (React/Vue/Svelte) | npm ci && npm run build | dist |
| Next.js (static export) | npm ci && next build | out |
| Nuxt (static) | npm ci && nuxt generate | .output/public |
| Hugo | hugo --minify | public |
| Gatsby | npm ci && gatsby build | public |
| Docusaurus | npm ci && npm run build | build |
| Jekyll | bundle exec jekyll build | _site |
| Astro | npm ci && astro build | dist |
Single-page apps need a catch-all rule so the CDN serves index.html for all routes instead of returning 404.
Configure Redirect/Rewrite Rules in the Dashboard (Settings > Redirects/Rewrites) or via the Blueprint routes field:
routes:
- type: rewrite
source: /*
destination: /index.html
For multi-path redirects (e.g. old blog URLs), add specific rules above the catch-all so they take priority.
See references/routing-and-headers.md for redirect types, header rules, and caching patterns.
Add security and performance headers from the Dashboard (Settings > Headers) or the Blueprint headers field:
headers:
- path: /*
name: X-Frame-Options
value: DENY
- path: /assets/*
name: Cache-Control
value: public, max-age=31536000, immutable
Static sites support automatic PR previews—each pull request gets a unique URL with the built site.
previews.generation to automatic or manual<service>-<pr-id>.onrender.comservices:
- type: web
runtime: static
name: my-frontend
buildCommand: npm ci && npm run build
staticPublishPath: dist
routes:
- type: rewrite
source: /*
destination: /index.html
headers:
- path: /*
name: X-Frame-Options
value: DENY
previews:
generation: automatic
Note: Static sites use type: web with runtime: static in Blueprints. There is no separate type: static.
Static sites have a free tier. They count against workspace-level monthly included amounts for:
| Document | Contents |
|---|---|
references/routing-and-headers.md | Redirect types, rewrite rules, header patterns, SPA config |
references/framework-configs.md | Build commands and publish paths for 10+ frameworks |
render.yaml schema for static site fieldsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/render-background-workers在 Render 上搭建并配置后台 worker,用于基于队列的任务处理。当用户需要处理异步任务、从队列消费、运行 Celery/Sidekiq/BullMQ/Asynq/Oban worker、用 SIGTERM 实现优雅关闭、将 worker 接入 Key Value(Redis),或在 worker 与 cron 任务之间做选择时使用。触发词:background worker、async jobs、queue consumer、Celery、Sidekiq、BullMQ、Asynq、Oban、job processing、SIGTERM、graceful shutdown。/render-blueprints为 Render 基础设施编写并校验 render.yaml Blueprint。当用户需要编写或编辑 render.yaml、用 fromDatabase/fromService/fromGroup 串联服务、为多服务应用设置 project 与 environment、配置预览环境、对照 schema 校验,或修复不可变字段报错时使用。触发词:render.yaml、Blueprint、IaC、fromDatabase、fromService、envVarGroups、previews、projects、environments。/render-cli安装并使用 Render CLI 进行部署、查看日志、SSH、psql、Blueprint 校验与自动化。当用户需要运行 Render CLI 命令、在 CI/CD 中脚本化部署、用 API key 认证、非交互式查询服务,或排查 CLI 认证问题时使用。触发词:render CLI、render login、render deploys、render logs、render ssh、render psql、render blueprints validate、render skills、RENDER_API_KEY、non-interactive、CI/CD deploy。/render-cron-jobs在 Render 上用 cron job 服务配置并排查定时任务。当用户需要按计划运行任务、编写 cron 表达式、设置周期性任务、从 Heroku Scheduler 迁移、在 cron job 与后台 worker 之间做选择,或修复未触发的 cron 时使用。触发词:cron job、scheduled task、periodic job、cron expression、schedule、run every、timer、Heroku Scheduler migration。/render-debug通过分析日志、指标和数据库状态,调试失败的 Render 部署。能识别常见错误(缺少环境变量、端口绑定问题、OOM 等)并给出修复建议。适用于部署失败、服务无法启动或用户提到错误、日志、调试等场景。/render-deploy通过分析代码库、生成 render.yaml Blueprint 并提供控制台深链接,将应用部署到 Render。适用于用户需要在 Render 云平台部署、托管、发布或搭建应用的场景。/render:render-static-sitesfrom render
npx claudepluginhub kael-odin/codex-plugins-zh --plugin renderOther plugins' skills for the same job