[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EDE9DK6B6R3VES83VMNWWR":3,"skill-same:01M7EDE9DK6B6R3VES83VMNWWR":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7EDE9DK6B6R3VES83VMNWWR","render-background-workers",null,"在 Render 上搭建并配置后台 worker，用于基于队列的任务处理。当用户需要处理异步任务、从队列消费、运行 Celery\u002FSidekiq\u002FBullMQ\u002FAsynq\u002FOban worker、用 SIGTERM 实现优雅关闭、将 worker 接入 Key Value(Redis)，或在 worker 与 cron 任务之间做选择时使用。触发词:background worker、async jobs、queue consumer、Celery、Sidekiq、BullMQ、Asynq、Oban、job processing、SIGTERM、graceful shutdown。","kael-odin\u002Fcodex-plugins-zh","kael-odin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F166499071?v=4","01M7EBHJT87XN88WT3PEQ8ZGZK","Kael Odin","01M7EBHJVC91GD7PGJN3ZB14SG",37,"MIT","https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-background-workers\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\r\nname: render-background-workers\ndescription: \"在 Render 上搭建并配置后台 worker，用于基于队列的任务处理。当用户需要处理异步任务、从队列消费、运行 Celery\u002FSidekiq\u002FBullMQ\u002FAsynq\u002FOban worker、用 SIGTERM 实现优雅关闭、将 worker 接入 Key Value(Redis)，或在 worker 与 cron 任务之间做选择时使用。触发词:background worker、async jobs、queue consumer、Celery、Sidekiq、BullMQ、Asynq、Oban、job processing、SIGTERM、graceful shutdown。\"\nlicense: MIT\ncompatibility: Render background worker services\nmetadata:\n  author: Render\n  version: \"1.0.0\"\n  category: compute\r\n---\r\n\r\n# Render Background Workers\r\n\r\nThis skill explains **worker** services on Render: processes that **consume jobs from a queue** instead of serving HTTP. Pair with **render-blueprints**, **render-env-vars**, and **render-networking** when wiring `render.yaml` and private connectivity.\r\n\r\n## When to Use\r\n\r\n- Designing or debugging **queue-backed workers** (Celery, Sidekiq, BullMQ, Asynq, etc.)\r\n- Choosing between a **worker**, **Cron Job**, or **Workflow** for background work\r\n- Configuring **Render Key Value** as a **broker** (not a cache) with correct **eviction policy**\r\n- Implementing **graceful shutdown** so in-flight jobs are not lost on deploy\r\n\r\nPer-framework setup and signal-handling detail: `references\u002Fqueue-framework-setup.md`, `references\u002Fgraceful-shutdown.md`.\r\n\r\n## How Workers Work\r\n\r\n- **Long-running services** with **no inbound (HTTP) traffic**. Render does not expose a public URL or internal hostname for workers the way it does for web or private services—**workers cannot receive private network traffic directed at them**.\r\n- The typical pattern is a **poll loop**: the process connects to a **queue backend** (often **Render Key Value**, Redis-compatible **Valkey 8**) and **pulls jobs**.\r\n- Workers **can initiate outbound connections** on the private network—to **PostgreSQL**, **Key Value**, **private services**, **web services** (internal URLs), and the public internet—subject to your plan and firewall rules.\r\n\r\n## Queue Framework Overview\r\n\r\n| Framework | Language | Queue backend | Notes |\r\n|-----------|----------|---------------|--------|\r\n| Celery | Python | Redis \u002F Key Value | Most common Python task queue |\r\n| Sidekiq | Ruby | Redis \u002F Key Value | Standard for Rails |\r\n| BullMQ | Node.js | Redis \u002F Key Value | Modern Node queue (Redis-based) |\r\n| Asynq | Go | Redis \u002F Key Value | Go async task processing |\r\n| Oban | Elixir | **Postgres** (not Redis) | Queue stored in the database |\r\n\r\n## Pairing with Key Value\r\n\r\n- Use **Render Key Value** as the **job broker** when your framework expects Redis.\r\n- Set **maxmemory policy** to **`noeviction`**. **`allkeys-lru`** and similar policies are for **caches**; evicting queue keys **drops jobs**.\r\n- Wire **`REDIS_URL`** (or your framework’s equivalent) via **`fromService`** with `type: keyvalue` and `property: connectionString` in the Blueprint.\r\n- **Blueprints require `ipAllowList`** on Key Value—include the CIDRs that should reach the instance (often `[]` for private-network-only access; see **render-blueprints** \u002F Key Value field reference).\r\n\r\nSee `references\u002Fqueue-framework-setup.md` for minimal app + YAML examples.\r\n\r\n## Worker vs Cron vs Workflow\r\n\r\n| Need | Use | Why |\r\n|------|-----|-----|\r\n| Always-on queue consumer | **Background Worker** | Polls continuously; long-lived process |\r\n| Periodic scheduled task | **Cron Job** | Runs on a schedule, **exits**; **12h max** per run |\r\n| Distributed parallel compute | **Workflow** | Each run gets its own instance; fan-out patterns |\r\n| High-volume or bursty jobs | **Workflow** | Scales per run; **no idle instance cost** between runs |\r\n\r\n## Graceful Shutdown\r\n\r\n- Before stopping an instance, Render sends **`SIGTERM`**, then waits up to **`maxShutdownDelaySeconds`** (**1–300**, **default 30**) before **`SIGKILL`**.\r\n- Workers should: **(1)** stop accepting new jobs, **(2)** finish the current job or **checkpoint** progress, **(3)** close connections, **(4)** exit **0**.\r\n- Set **`maxShutdownDelaySeconds`** to at least your **longest safe job duration** (see Dashboard or Blueprint).\r\n\r\nLanguage- and framework-specific handlers: `references\u002Fgraceful-shutdown.md`.\r\n\r\n## Blueprint Configuration\r\n\r\nMinimal pattern: **`type: worker`**, **`runtime`**, **`buildCommand`**, **`startCommand`**, and **`envVars`** wired from Key Value.\r\n\r\n```yaml\r\nservices:\r\n  - type: keyvalue\r\n    name: jobs\r\n    plan: starter\r\n    region: oregon\r\n    ipAllowList: []\r\n\r\n  - type: worker\r\n    name: task-worker\r\n    runtime: python\r\n    region: oregon\r\n    plan: starter\r\n    buildCommand: pip install -r requirements.txt\r\n    startCommand: celery -A tasks worker --loglevel=info\r\n    envVars:\r\n      - key: REDIS_URL\r\n        fromService:\r\n          name: jobs\r\n          type: keyvalue\r\n          property: connectionString\r\n```\r\n\r\nOptional: **`maxShutdownDelaySeconds`** on the worker service for longer draining jobs.\r\n\r\n## References\r\n\r\n| Topic | File |\r\n|--------|------|\r\n| Celery, Sidekiq, BullMQ, Asynq, Oban setup + YAML | `references\u002Fqueue-framework-setup.md` |\r\n| SIGTERM, `maxShutdownDelaySeconds`, per-language patterns | `references\u002Fgraceful-shutdown.md` |\r\n\r\n## Related Skills\r\n\r\n- **render-deploy** — First deploy, CLI, service creation\r\n- **render-blueprints** — Full `render.yaml` schema, `fromService`, projects\r\n- **render-networking** — Private URLs, what can call what\r\n- **render-scaling** — Worker plans, instance counts, limits\r\n","# Render Background Workers\r\n\r\nThis skill explains **worker** services on Render: processes that **consume jobs from a queue** instead of serving HTTP. Pair with **render-blueprints**, **render-env-vars**, and **render-networking** when wiring `render.yaml` and private connectivity.\r\n\r\n## When to Use\r\n\r\n- Designing or debugging **queue-backed workers** (Celery, Sidekiq, BullMQ, Asynq, etc.)\r\n- Choosing between a **worker**, **Cron Job**, or **Workflow** for background work\r\n- Configuring **Render Key Value** as a **broker** (not a cache) with correct **eviction policy**\r\n- Implementing **graceful shutdown** so in-flight jobs are not lost on deploy\r\n\r\nPer-framework setup and signal-handling detail: `references\u002Fqueue-framework-setup.md`, `references\u002Fgraceful-shutdown.md`.\r\n\r\n## How Workers Work\r\n\r\n- **Long-running services** with **no inbound (HTTP) traffic**. Render does not expose a public URL or internal hostname for workers the way it does for web or private services—**workers cannot receive private network traffic directed at them**.\r\n- The typical pattern is a **poll loop**: the process connects to a **queue backend** (often **Render Key Value**, Redis-compatible **Valkey 8**) and **pulls jobs**.\r\n- Workers **can initiate outbound connections** on the private network—to **PostgreSQL**, **Key Value**, **private services**, **web services** (internal URLs), and the public internet—subject to your plan and firewall rules.\r\n\r\n## Queue Framework Overview\r\n\r\n| Framework | Language | Queue backend | Notes |\r\n|-----------|----------|---------------|--------|\r\n| Celery | Python | Redis \u002F Key Value | Most common Python task queue |\r\n| Sidekiq | Ruby | Redis \u002F Key Value | Standard for Rails |\r\n| BullMQ | Node.js | Redis \u002F Key Value | Modern Node queue (Redis-based) |\r\n| Asynq | Go | Redis \u002F Key Value | Go async task processing |\r\n| Oban | Elixir | **Postgres** (not Redis) | Queue stored in the database |\r\n\r\n## Pairing with Key Value\r\n\r\n- Use **Render Key Value** as the **job broker** when your framework expects Redis.\r\n- Set **maxmemory policy** to **`noeviction`**. **`allkeys-lru`** and similar policies are for **caches**; evicting queue keys **drops jobs**.\r\n- Wire **`REDIS_URL`** (or your framework’s equivalent) via **`fromService`** with `type: keyvalue` and `property: connectionString` in the Blueprint.\r\n- **Blueprints require `ipAllowList`** on Key Value—include the CIDRs that should reach the instance (often `[]` for private-network-only access; see **render-blueprints** \u002F Key Value field reference).\r\n\r\nSee `references\u002Fqueue-framework-setup.md` for minimal app + YAML examples.\r\n\r\n## Worker vs Cron vs Workflow\r\n\r\n| Need | Use | Why |\r\n|------|-----|-----|\r\n| Always-on queue consumer | **Background Worker** | Polls continuously; long-lived process |\r\n| Periodic scheduled task | **Cron Job** | Runs on a schedule, **exits**; **12h max** per run |\r\n| Distributed parallel compute | **Workflow** | Each run gets its own instance; fan-out patterns |\r\n| High-volume or bursty jobs | **Workflow** | Scales per run; **no idle instance cost** between runs |\r\n\r\n## Graceful Shutdown\r\n\r\n- Before stopping an instance, Render sends **`SIGTERM`**, then waits up to **`maxShutdownDelaySeconds`** (**1–300**, **default 30**) before **`SIGKILL`**.\r\n- Workers should: **(1)** stop accepting new jobs, **(2)** finish the current job or **checkpoint** progress, **(3)** close connections, **(4)** exit **0**.\r\n- Set **`maxShutdownDelaySeconds`** to at least your **longest safe job duration** (see Dashboard or Blueprint).\r\n\r\nLanguage- and framework-specific handlers: `references\u002Fgraceful-shutdown.md`.\r\n\r\n## Blueprint Configuration\r\n\r\nMinimal pattern: **`type: worker`**, **`runtime`**, **`buildCommand`**, **`startCommand`**, and **`envVars`** wired from Key Value.\r\n\r\n```yaml\r\nservices:\r\n  - type: keyvalue\r\n    name: jobs\r\n    plan: starter\r\n    region: oregon\r\n    ipAllowList: []\r\n\r\n  - type: worker\r\n    name: task-worker\r\n    runtime: python\r\n    region: oregon\r\n    plan: starter\r\n    buildCommand: pip install -r requirements.txt\r\n    startCommand: celery -A tasks worker --loglevel=info\r\n    envVars:\r\n      - key: REDIS_URL\r\n        fromService:\r\n          name: jobs\r\n          type: keyvalue\r\n          property: connectionString\r\n```\r\n\r\nOptional: **`maxShutdownDelaySeconds`** on the worker service for longer draining jobs.\r\n\r\n## References\r\n\r\n| Topic | File |\r\n|--------|------|\r\n| Celery, Sidekiq, BullMQ, Asynq, Oban setup + YAML | `references\u002Fqueue-framework-setup.md` |\r\n| SIGTERM, `maxShutdownDelaySeconds`, per-language patterns | `references\u002Fgraceful-shutdown.md` |\r\n\r\n## Related Skills\r\n\r\n- **render-deploy** — First deploy, CLI, service creation\r\n- **render-blueprints** — Full `render.yaml` schema, `fromService`, projects\r\n- **render-networking** — Private URLs, what can call what\r\n- **render-scaling** — Worker plans, instance counts, limits\r\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":28},{"author":25,"version":26,"category":27},"Render","1.0.0","compute","Render background worker services","main","e3091d1b371a9dcd9455d333175f948b286fdfcf","plugins\u002Frender\u002Fskills\u002Frender-background-workers",1,"https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh","https:\u002F\u002Fkael-odin.github.io\u002Fcodex-plugins-zh\u002F","https:\u002F\u002Fgithub.com\u002Fkael-odin","https:\u002F\u002Fkael-odin.github.io\u002Fodin-valhalla\u002F","Full-stack development • Open-source • System engineering\r\nTurning ideas into repositories.","2026-11-08 17:05:36",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add kael-odin\u002Fcodex-plugins-zh --skill render-background-workers",{"tool":45,"command":46},"bunx","bunx skills add kael-odin\u002Fcodex-plugins-zh --skill render-background-workers",{"tool":48,"command":49},"pnpm","pnpm dlx skills add kael-odin\u002Fcodex-plugins-zh --skill render-background-workers","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-background-workers\u002FSKILL.md",true,[53,59,63],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"agents\u002Fopenai.yaml","REFERENCE","参考文档",242,"https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-background-workers\u002Fagents\u002Fopenai.yaml",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fgraceful-shutdown.md",3594,"https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-background-workers\u002Freferences\u002Fgraceful-shutdown.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fqueue-framework-setup.md",5165,"https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-background-workers\u002Freferences\u002Fqueue-framework-setup.md",[68,77,84,92,99,106],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":73,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EDVCKB89EF755PQMKV1BZA","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\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EDPX7WHN6HQZ0QKWB0BGVZ","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\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Fsupabase\u002Fskills\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7EDHHD98T8ZH09F40Q973G3","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\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Fsentry\u002Fskills\u002Fsentry\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Fsentry\u002Fskills\u002Fsentry\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7EDH3SGVMS1AFS6Q40B5J48","render-workflows","搭建、开发、测试和部署 Render Workflows。涵盖首次脚手架搭建（通过 CLI 或手动方式）、SDK 安装（Python 或 TypeScript）、任务模式（重试、子任务、扇出）、本地开发、控制台部署和故障排查。适用于用户首次搭建 Render Workflows、构建工作流服务、添加或修改工作流任务、本地测试工作流或部署到 Render 的场景。","https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-workflows\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7EDH0CYEKQ4VVARHZAQ43S8","render-web-services","配置 Render web service——端口绑定、TLS、健康检查、自定义域名、自动部署、PR 预览、持久化磁盘及部署生命周期。当用户需要搭建 web service、修复健康检查失败、添加自定义域名、配置零停机部署，或排查端口绑定问题时使用。","https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-web-services\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7EDGVDYFBG1CKSNMQ2DD336","render-static-sites","在 Render 全球 CDN 上部署并配置静态站点——构建命令、发布路径、SPA 路由、重定向、自定义 header 及 PR 预览。当用户需要部署静态站点、搭建 React\u002FVue\u002FHugo\u002FGatsby 前端、配置 SPA 回退路由、添加重定向规则、自定义响应 header，或在静态站点与 web service 之间为前端做选择时使用。触发词:static site、CDN、SPA、single-page app、React deploy、Vue deploy、Hugo、Gatsby、Docusaurus、Jekyll、staticPublishPath。","https:\u002F\u002Fgithub.com\u002Fkael-odin\u002Fcodex-plugins-zh\u002Fblob\u002Fmain\u002Fplugins\u002Frender\u002Fskills\u002Frender-static-sites\u002FSKILL.md",[],[]]