用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/stbenjam/skillsaw --skill deploy-service命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | deploy-service |
| description | Deploy a service to Kubernetes using Helm charts. Use when releasing a service. |
| compatibility | Requires helm, kubectl, and cluster credentials |
| metadata | {"author":"platform-team","version":"2.1"} |
Automates the deployment of microservices to Kubernetes clusters using Helm charts and environment-specific value overrides.
Use when deploying a service to staging or production, or when updating an existing deployment with new configuration.
Run helm lint charts/ to verify the Helm chart is syntactically valid.
Check that all required values are defined in values.yaml:
image.repositoryimage.tagreplicaCountresources.limits.cpuresources.limits.memoryMerge environment-specific values from values-{env}.yaml with the
base values.yaml file:
helm template my-service charts/ \
-f charts/values.yaml \
-f charts/values-$ENV.yaml \
--dry-run
Review the rendered manifest before applying.
Run helm upgrade --install with the merged configuration:
helm upgrade --install my-service charts/ \
-f charts/values.yaml \
-f charts/values-$ENV.yaml \
-n $NAMESPACE \
--wait --timeout 300s
Run kubectl rollout status deployment/my-service -n $NAMESPACE to
confirm all pods are ready. Check that health endpoints return 200.
Deploy the user service to the staging cluster with default values:
helm upgrade --install user-service charts/ -f charts/values-staging.yaml -n staging
Override the image tag for a specific build:
helm upgrade --install user-service charts/ --set image.tag=abc1234 -n production