[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75JZ7W3CFG5M7TYK7F2V2F1":3,"skill-same:01M75JZ7W3CFG5M7TYK7F2V2F1":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M75JZ7W3CFG5M7TYK7F2V2F1","render-static-sites",null,"Deploys and configures static sites on Render's global CDN—build commands, publish paths, SPA routing, redirects, custom headers, and PR previews. Use when the user needs to deploy a static site, set up a React\u002FVue\u002FHugo\u002FGatsby frontend, configure SPA fallback routing, add redirect rules, customize response headers, or choose between a static site and a web service for their frontend. Trigger terms: static site, CDN, SPA, single-page app, React deploy, Vue deploy, Hugo, Gatsby, Docusaurus, Jekyll, staticPublishPath.","zhongjingyun\u002Fcodex-plugins","zhongjingyun","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F29746390?v=4","01M75HD6KCBVW17ZTD8FGWNX3Z","01M75HD6MEP2SRDSHCVAHHVZXV",30,"MIT","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-static-sites\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: render-static-sites\ndescription: >-\n  Deploys and configures static sites on Render's global CDN—build commands,\n  publish paths, SPA routing, redirects, custom headers, and PR previews. Use\n  when the user needs to deploy a static site, set up a React\u002FVue\u002FHugo\u002FGatsby\n  frontend, configure SPA fallback routing, add redirect rules, customize\n  response headers, or choose between a static site and a web service for\n  their frontend.\n  Trigger terms: static site, CDN, SPA, single-page app, React deploy,\n  Vue deploy, Hugo, Gatsby, Docusaurus, Jekyll, staticPublishPath.\nlicense: MIT\ncompatibility: Render static sites (free tier available)\nmetadata:\n  author: Render\n  version: \"1.0.0\"\n  category: compute\n---\n\n# Render Static Sites\n\nDeploys static frontends (React, Vue, Hugo, Gatsby, Docusaurus, Jekyll, etc.) to Render's global CDN with automatic TLS, Brotli compression, HTTP\u002F2, and DDoS protection. Free tier available.\n\n## When to Use\n\n- Deploying a **static site or SPA** (no server-side rendering)\n- Choosing between a **Static Site** and a **Web Service** for a frontend\n- Configuring **SPA fallback routing**, **redirects\u002Frewrites**, or **custom headers**\n- Setting up **PR preview environments** for a static site\n- Troubleshooting **build failures** or **stale content** on a CDN-hosted site\n\nFor SSR frameworks (Next.js, Nuxt, SvelteKit) that need a running server, use **render-web-services** instead. For Blueprint authoring, see **render-blueprints**.\n\n## Static Site vs Web Service\n\n| Need | Use | Why |\n|------|-----|-----|\n| Pure HTML\u002FCSS\u002FJS, SPA, docs, blog | **Static Site** | Free, global CDN, instant cache invalidation |\n| SSR (Next.js `next start`, Nuxt server) | **Web Service** | Needs a running Node\u002FPython\u002Fetc. process |\n| Static export from SSR framework | **Static Site** | If the framework supports full static export (`next export`, `nuxt generate`) |\n| API backend | **Web Service** | Static sites cannot run server code |\n\n**Key constraint:** Static sites are **not on the private network**. They cannot communicate with other Render services over internal hostnames.\n\n## Build and Publish\n\n| Setting | Purpose |\n|---------|---------|\n| `buildCommand` | Installs dependencies and builds assets (e.g. `npm ci && npm run build`) |\n| `staticPublishPath` | Directory of built output to serve (e.g. `build`, `dist`, `public`) |\n\nRender auto-detects and installs dependencies. Set `SKIP_INSTALL_DEPS=true` to handle installation yourself in the build command.\n\n### Common frameworks\n\n| Framework | Build command | Publish path |\n|-----------|--------------|--------------|\n| Create React App | `npm ci && npm run build` | `build` |\n| Vite (React\u002FVue\u002FSvelte) | `npm ci && npm run build` | `dist` |\n| Next.js (static export) | `npm ci && next build` | `out` |\n| Nuxt (static) | `npm ci && nuxt generate` | `.output\u002Fpublic` |\n| Hugo | `hugo --minify` | `public` |\n| Gatsby | `npm ci && gatsby build` | `public` |\n| Docusaurus | `npm ci && npm run build` | `build` |\n| Jekyll | `bundle exec jekyll build` | `_site` |\n| Astro | `npm ci && astro build` | `dist` |\n\n## SPA Routing and Redirects\n\nSingle-page apps need a catch-all rule so the CDN serves `index.html` for all routes instead of returning 404.\n\nConfigure **Redirect\u002FRewrite Rules** in the Dashboard (Settings > Redirects\u002FRewrites) or via the Blueprint `routes` field:\n\n```yaml\nroutes:\n  - type: rewrite\n    source: \u002F*\n    destination: \u002Findex.html\n```\n\nFor multi-path redirects (e.g. old blog URLs), add specific rules **above** the catch-all so they take priority.\n\nSee `references\u002Frouting-and-headers.md` for redirect types, header rules, and caching patterns.\n\n## Custom Response Headers\n\nAdd security and performance headers from the Dashboard (Settings > Headers) or the Blueprint `headers` field:\n\n```yaml\nheaders:\n  - path: \u002F*\n    name: X-Frame-Options\n    value: DENY\n  - path: \u002Fassets\u002F*\n    name: Cache-Control\n    value: public, max-age=31536000, immutable\n```\n\n## PR Previews\n\nStatic sites support automatic PR previews—each pull request gets a unique URL with the built site.\n\n- Enable in Dashboard: Settings > PR Previews\n- Blueprint: set `previews.generation` to `automatic` or `manual`\n- Preview URLs follow the pattern `\u003Cservice>-\u003Cpr-id>.onrender.com`\n\n## Blueprint Configuration\n\n```yaml\nservices:\n  - type: web\n    runtime: static\n    name: my-frontend\n    buildCommand: npm ci && npm run build\n    staticPublishPath: dist\n    routes:\n      - type: rewrite\n        source: \u002F*\n        destination: \u002Findex.html\n    headers:\n      - path: \u002F*\n        name: X-Frame-Options\n        value: DENY\n    previews:\n      generation: automatic\n```\n\n**Note:** Static sites use `type: web` with `runtime: static` in Blueprints. There is no separate `type: static`.\n\n## CDN and Performance\n\n- **Global CDN** with edge caching worldwide\n- **Brotli compression** (better than gzip)\n- **HTTP\u002F2** by default\n- **Immediate cache invalidation** on every deploy (zero-downtime, atomic deploys)\n- **DDoS protection** included free\n\n## Billing\n\nStatic sites have a **free tier**. They count against workspace-level monthly included amounts for:\n\n- **Outbound bandwidth** (data served to users)\n- **Pipeline minutes** (build time)\n\n## References\n\n| Document | Contents |\n|----------|----------|\n| `references\u002Frouting-and-headers.md` | Redirect types, rewrite rules, header patterns, SPA config |\n| `references\u002Fframework-configs.md` | Build commands and publish paths for 10+ frameworks |\n\n## Related Skills\n\n- **render-web-services** — For SSR frameworks that need a running server\n- **render-blueprints** — Full `render.yaml` schema for static site fields\n- **render-domains** — Custom domain and TLS setup\n- **render-deploy** — Deploy flows, CLI, MCP operations\n","# Render Static Sites\n\nDeploys static frontends (React, Vue, Hugo, Gatsby, Docusaurus, Jekyll, etc.) to Render's global CDN with automatic TLS, Brotli compression, HTTP\u002F2, and DDoS protection. Free tier available.\n\n## When to Use\n\n- Deploying a **static site or SPA** (no server-side rendering)\n- Choosing between a **Static Site** and a **Web Service** for a frontend\n- Configuring **SPA fallback routing**, **redirects\u002Frewrites**, or **custom headers**\n- Setting up **PR preview environments** for a static site\n- Troubleshooting **build failures** or **stale content** on a CDN-hosted site\n\nFor SSR frameworks (Next.js, Nuxt, SvelteKit) that need a running server, use **render-web-services** instead. For Blueprint authoring, see **render-blueprints**.\n\n## Static Site vs Web Service\n\n| Need | Use | Why |\n|------|-----|-----|\n| Pure HTML\u002FCSS\u002FJS, SPA, docs, blog | **Static Site** | Free, global CDN, instant cache invalidation |\n| SSR (Next.js `next start`, Nuxt server) | **Web Service** | Needs a running Node\u002FPython\u002Fetc. process |\n| Static export from SSR framework | **Static Site** | If the framework supports full static export (`next export`, `nuxt generate`) |\n| API backend | **Web Service** | Static sites cannot run server code |\n\n**Key constraint:** Static sites are **not on the private network**. They cannot communicate with other Render services over internal hostnames.\n\n## Build and Publish\n\n| Setting | Purpose |\n|---------|---------|\n| `buildCommand` | Installs dependencies and builds assets (e.g. `npm ci && npm run build`) |\n| `staticPublishPath` | Directory of built output to serve (e.g. `build`, `dist`, `public`) |\n\nRender auto-detects and installs dependencies. Set `SKIP_INSTALL_DEPS=true` to handle installation yourself in the build command.\n\n### Common frameworks\n\n| Framework | Build command | Publish path |\n|-----------|--------------|--------------|\n| Create React App | `npm ci && npm run build` | `build` |\n| Vite (React\u002FVue\u002FSvelte) | `npm ci && npm run build` | `dist` |\n| Next.js (static export) | `npm ci && next build` | `out` |\n| Nuxt (static) | `npm ci && nuxt generate` | `.output\u002Fpublic` |\n| Hugo | `hugo --minify` | `public` |\n| Gatsby | `npm ci && gatsby build` | `public` |\n| Docusaurus | `npm ci && npm run build` | `build` |\n| Jekyll | `bundle exec jekyll build` | `_site` |\n| Astro | `npm ci && astro build` | `dist` |\n\n## SPA Routing and Redirects\n\nSingle-page apps need a catch-all rule so the CDN serves `index.html` for all routes instead of returning 404.\n\nConfigure **Redirect\u002FRewrite Rules** in the Dashboard (Settings > Redirects\u002FRewrites) or via the Blueprint `routes` field:\n\n```yaml\nroutes:\n  - type: rewrite\n    source: \u002F*\n    destination: \u002Findex.html\n```\n\nFor multi-path redirects (e.g. old blog URLs), add specific rules **above** the catch-all so they take priority.\n\nSee `references\u002Frouting-and-headers.md` for redirect types, header rules, and caching patterns.\n\n## Custom Response Headers\n\nAdd security and performance headers from the Dashboard (Settings > Headers) or the Blueprint `headers` field:\n\n```yaml\nheaders:\n  - path: \u002F*\n    name: X-Frame-Options\n    value: DENY\n  - path: \u002Fassets\u002F*\n    name: Cache-Control\n    value: public, max-age=31536000, immutable\n```\n\n## PR Previews\n\nStatic sites support automatic PR previews—each pull request gets a unique URL with the built site.\n\n- Enable in Dashboard: Settings > PR Previews\n- Blueprint: set `previews.generation` to `automatic` or `manual`\n- Preview URLs follow the pattern `\u003Cservice>-\u003Cpr-id>.onrender.com`\n\n## Blueprint Configuration\n\n```yaml\nservices:\n  - type: web\n    runtime: static\n    name: my-frontend\n    buildCommand: npm ci && npm run build\n    staticPublishPath: dist\n    routes:\n      - type: rewrite\n        source: \u002F*\n        destination: \u002Findex.html\n    headers:\n      - path: \u002F*\n        name: X-Frame-Options\n        value: DENY\n    previews:\n      generation: automatic\n```\n\n**Note:** Static sites use `type: web` with `runtime: static` in Blueprints. There is no separate `type: static`.\n\n## CDN and Performance\n\n- **Global CDN** with edge caching worldwide\n- **Brotli compression** (better than gzip)\n- **HTTP\u002F2** by default\n- **Immediate cache invalidation** on every deploy (zero-downtime, atomic deploys)\n- **DDoS protection** included free\n\n## Billing\n\nStatic sites have a **free tier**. They count against workspace-level monthly included amounts for:\n\n- **Outbound bandwidth** (data served to users)\n- **Pipeline minutes** (build time)\n\n## References\n\n| Document | Contents |\n|----------|----------|\n| `references\u002Frouting-and-headers.md` | Redirect types, rewrite rules, header patterns, SPA config |\n| `references\u002Fframework-configs.md` | Build commands and publish paths for 10+ frameworks |\n\n## Related Skills\n\n- **render-web-services** — For SSR frameworks that need a running server\n- **render-blueprints** — Full `render.yaml` schema for static site fields\n- **render-domains** — Custom domain and TLS setup\n- **render-deploy** — Deploy flows, CLI, MCP operations\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":27},{"author":24,"version":25,"category":26},"Render","1.0.0","compute","Render static sites (free tier available)","main","67f0a2a774e0e57d841a7f3372c48e257f64c481","plugins\u002Frender\u002Fskills\u002Frender-static-sites",2,"https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins","https:\u002F\u002Fgithub.com\u002Fzhongjingyun","2026-07-06 15:06:09",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add zhongjingyun\u002Fcodex-plugins --skill render-static-sites",{"tool":41,"command":42},"bunx","bunx skills add zhongjingyun\u002Fcodex-plugins --skill render-static-sites",{"tool":44,"command":45},"pnpm","pnpm dlx skills add zhongjingyun\u002Fcodex-plugins --skill render-static-sites","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-static-sites\u002FSKILL.md",true,[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml","REFERENCE","参考文档",200,"https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-static-sites\u002Fagents\u002Fopenai.yaml",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fframework-configs.md",2434,"https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-static-sites\u002Freferences\u002Fframework-configs.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Frouting-and-headers.md",2476,"https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-static-sites\u002Freferences\u002Frouting-and-headers.md",[64,73,80,88,95,102],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":68,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75KA59Q22JVCRD3E955XW43","android-emulator-qa","Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M75K6A00090T4DDE3QGJNE22","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsupabase\u002Fskills\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":68,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M75K257HZ6ETNTAY5CEYB7JZ","sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsentry\u002Fskills\u002Fsentry\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsentry\u002Fskills\u002Fsentry\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M75JZG6QHND8KRPRFV8BTFBG","render-workflows","Sets up, develops, tests, and deploys Render Workflows. Covers first-time scaffolding (via CLI or manual), SDK installation (Python or TypeScript), task patterns (retries, subtasks, fan-out), local development, Dashboard deployment, and troubleshooting. Use when a user wants to set up Render Workflows for the first time, scaffold a workflow service, add or modify workflow tasks, test workflows locally, or deploy workflows to Render.","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-workflows\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M75JZCW206VJRSSASBHKEVZ3","render-web-services","Configures Render web services—port binding, TLS, health checks, custom domains, auto-deploy, PR previews, persistent disks, and deploy lifecycle. Use when the user needs to set up a web service, fix health check failures, add a custom domain, configure zero-downtime deploys, or troubleshoot port binding issues.","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-web-services\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M75JZ47HRB6Y9225BRHDQZS6","render-scaling","Scales Render services—configures autoscaling targets, chooses instance types, sets manual instance counts, and optimizes cost. Use when the user needs to handle more traffic, set up autoscaling, pick the right instance type, reduce costs, or troubleshoot scaling behavior like slow scale-down or stuck instances.","https:\u002F\u002Fgithub.com\u002Fzhongjingyun\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-scaling\u002FSKILL.md",[],[]]