ci-cd
覆盖矩阵构建、缓存与自动回滚等企业级实践,适合生产环境。
可能需要仓库与部署权限及凭据才能完整运行
为 GitHub Actions/GitLab CI/CircleCI 设计高效安全的 CI/CD 流水线。
帮你把构建、测试、打包和发布的流程在 GitHub Actions、GitLab CI 或 CircleCI 上设计得又快又安全。适合需要并行矩阵构建、测试分片、缓存层、Docker layer caching、OIDC 身份认证和自动回滚等复杂需求时使用。还能设计滚动、blue-green、canary 等发布策略,并支持 self-hosted runners 与手工审批的环境保护。
▸ 展开 SKILL.md 英文原文
Design CI/CD pipelines for GitHub Actions, GitLab CI, and CircleCI with matrix builds, test sharding, caching, Docker layer caching, OIDC auth, deployment strategies (rolling, blue-green, canary), auto-rollback, self-hosted runners, and environment protection with manual approvals. Use when user asks to set up CI/CD, write a pipeline, configure GitHub Actions/GitLab CI/CircleCI, automate deployments, or set up build/test/deploy workflows. Do NOT use for Dockerfile authoring (use docker), K8s manifests (use kubernetes), or Terraform config (use terraform).
帮我安装这个 skill:https://raw.githubusercontent.com/EliasOulkadi/shokunin/master/.pack/skills/ci-cd/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/EliasOulkadi/shokunin/master/.pack/skills/ci-cd/SKILL.md"# CI/CD Architect Design fast, reliable, and secure CI/CD pipelines across GitHub Actions, GitLab CI, and CircleCI. Follows Google's DevOps capabilities and DORA metrics. ## Decision Framework Before building a CI/CD pipeline, answer: - Where is the code hosted? → If GitHub, start with GitHub Actions. If GitLab, use GitLab CI. On-prem? Consider self-hosted. - What's the deployment target? → Cloud (use OIDC), on-prem (use self-hosted runner), multi-cloud (use environment-specific jobs) - Is the team size 1-3? → Simple single-workflow. 10+? → Separate build, test, deploy workflows with artifact passing. - Do you need matrix builds (multiple OS/versions)? → Yes for libraries, no for single-p