Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
serve-deployments【部署与运维】Develop, run, deploy, configure, update, lint, and troubleshoot Ray Serve applications and deployments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task mentions ray.serve, @serve.deployment, serve.run, Deployment.bind, Serve YAML, serve run, serve deploy, serve build, serve status, serve config, HTTP/gRPC endpoints, autoscaling_config, runtime_env, user_config, or in-place Serve updates.
Ray Serve is Ray's Python serving layer for online inference APIs and general Python web services. Default to the narrow install extra ray[serve]; avoid recommending ray[all] unless the user explicitly needs many unrelated Ray libraries.
serve.run, use references/api-reference.md.serve build, serve deploy, serve run <config.yaml>, runtime_env, HTTP/gRPC/proxy/logging fields, or in-place update planning, use references/configuration.md.serve run, idempotent deploy confusion, remote URI failures, HTTP/gRPC symptoms, and status/config debugging, use references/troubleshooting.md.scripts/serve_config_lint.py.scripts/serve_smoke_app.py.ray start, or ray status, route to ../cluster-ops/SKILL.md.../train-tune/SKILL.md.@serve.deployment, bind an application object, then test importability before starting Serve.serve run module:app --app-dir . or a small guarded script; remember the CLI blocks by default.serve deploy config.yaml against an already running Ray cluster.serve status and serve config; do not assume serve deploy blocks until replicas are healthy.python scripts/serve_config_lint.py serve_config.yaml
python scripts/serve_smoke_app.py --validate-only
The helpers are safe by default: the linter only parses YAML, and the smoke app only validates imports/configuration unless --run-local is explicitly passed.