[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75BF2D8AMT0FAC3Z7TZG34T":3,"skill-same:01M75BF2D8AMT0FAC3Z7TZG34T":45},{"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":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75BF2D8AMT0FAC3Z7TZG34T","deployment-pipeline-design",null,"Architecture patterns for multi-stage CI\u002FCD pipelines with approval gates, deployment strategies, and environment promot","ruake\u002FAWARE","ruake","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F253885939?v=4","01M75AVBM7FRFTS61RZRNMZB6C","01M75AVBMYHD7500NHVANF1HKM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fdeployment-pipeline-design\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: deployment-pipeline-design\ndescription: Architecture patterns for multi-stage CI\u002FCD pipelines with approval gates, deployment strategies, and environment promot\n---\n\n# Deployment Pipeline Design\n\nArchitecture patterns for multi-stage CI\u002FCD pipelines with approval gates, deployment strategies, and environment promotion workflows.\n\n## Purpose\n\nDesign robust, secure deployment pipelines that balance speed with safety through proper stage organization, automated quality gates, and progressive delivery strategies. This skill covers both the structural design of pipeline architecture and the operational patterns for reliable production deployments.\n\n## Input \u002F Output\n\n### What You Provide\n\n- **Application type**: Language\u002Fruntime, containerized or bare-metal, monolith or microservices\n- **Deployment target**: Kubernetes, ECS, VMs, serverless, or platform-as-a-service\n- **Environment topology**: Number of environments (dev\u002Fstaging\u002Fprod), region layout, air-gap requirements\n- **Rollout requirements**: Acceptable downtime, rollback SLA, traffic splitting needs, canary vs blue-green preference\n- **Gate constraints**: Approval teams, required test coverage thresholds, compliance scans (SAST, DAST, SCA)\n- **Monitoring stack**: Prometheus, Datadog, CloudWatch, or other metrics sources used for automated promotion decisions\n\n### What This Skill Produces\n\n- **Pipeline configuration**: Stage definitions, job dependencies, parallelism, and caching strategy\n- **Deployment strategy**: Chosen rollout pattern with annotated configuration (canary weights, blue-green switchover, rolling parameters)\n- **Health check setup**: Shallow vs deep readiness probes, post-deployment smoke test scripts\n- **Gate definitions**: Automated metric thresholds and manual approval workflows\n- **Rollback plan**: Automated rollback triggers and manual runbook steps\n\n## When to Use\n\n- Design CI\u002FCD architecture for a new service or platform migration\n- Implement deployment gates between environments\n- Configure multi-environment pipelines with mandatory security scanning\n- Establish progressive delivery with canary or blue-green strategies\n- Debug pipelines where stages succeed but production behavior is wrong\n- Reduce mean time to recovery by automating rollback on metric degradation\n\n## Detailed patterns and worked examples\n\nDetailed pattern documentation lives in `references\u002Fdetails.md`. Read that file when the navigation tier above is insufficient.\n\n## Troubleshooting\n\n### Health check passes in pipeline but service is unhealthy in production\n\nThe pipeline health check is hitting a shallow `\u002Fping` endpoint that returns 200 even when the database is unreachable. Use a deep readiness check that verifies actual dependencies (see Health Checks section above).\n\n### Canary deployment never promotes to 100%\n\nArgo Rollouts requires a valid `AnalysisTemplate` to auto-promote. If the Prometheus query returns no data (e.g., metric name changed), the analysis stays inconclusive and promotion stalls. Add `inconclusiveLimit` so the rollout fails fast rather than hanging:\n\n```yaml\nspec:\n  metrics:\n  - name: error-rate\n    failureCondition: \"result[0] > 0.05\"\n    inconclusiveLimit: 2   # fail after 2 inconclusive results, not hang indefinitely\n    provider:\n      prometheus:\n        query: |\n          sum(rate(http_requests_total{status=~\"5..\"}[2m]))\n          \u002F sum(rate(http_requests_total[2m]))\n```\n\n### Staging deploy succeeds but production job never starts\n\nCheck that production environment protection rules are configured — a missing reviewer assignment means the approval gate waits indefinitely with no notification. In GitHub Actions, ensure `Required reviewers` is set to an existing user or team in **Settings → Environments → production**.\n\n### Docker layer cache busted on every run causing slow builds\n\nIf `COPY . .` appears before dependency installation, any source file change invalidates the dependency layer. Reorder to copy dependency manifests first:\n\n```dockerfile\n# Good: dependencies cached separately from source code\nCOPY package*.json .\u002F\nRUN npm ci\nCOPY . .\nRUN npm run build\n```\n\n### Rollback leaves database migrations applied to old code\n\nA service rollback without a migration rollback causes schema\u002Fcode mismatch errors. Always make migrations backward-compatible (additive only) for at least one release cycle, and keep undo scripts versioned alongside the migration:\n\n```bash\n# migrations\u002FV20240315__add_nullable_column.sql       (forward)\n# migrations\u002FV20240315__add_nullable_column.undo.sql  (backward)\n```\n\nNever run destructive migrations (DROP COLUMN, ALTER NOT NULL) until the old code version is fully retired from all environments.\n\n## Advanced Topics\n\nFor platform-specific pipeline configurations, multi-region promotion workflows, and advanced Argo Rollouts patterns, see:\n\n- [`references\u002Fadvanced-strategies.md`](references\u002Fadvanced-strategies.md) — Extended YAML examples, platform-specific configs (GitHub Actions, GitLab CI, Azure Pipelines), multi-region canary patterns, and database migration rollback strategies\n\n## Related Skills\n\n- `github-actions-templates` - For GitHub Actions implementation patterns and reusable workflows\n- `gitlab-ci-patterns` - For GitLab CI\u002FCD pipeline implementation\n- `secrets-management` - For secrets handling in CI\u002FCD pipelines\n","# Deployment Pipeline Design\n\nArchitecture patterns for multi-stage CI\u002FCD pipelines with approval gates, deployment strategies, and environment promotion workflows.\n\n## Purpose\n\nDesign robust, secure deployment pipelines that balance speed with safety through proper stage organization, automated quality gates, and progressive delivery strategies. This skill covers both the structural design of pipeline architecture and the operational patterns for reliable production deployments.\n\n## Input \u002F Output\n\n### What You Provide\n\n- **Application type**: Language\u002Fruntime, containerized or bare-metal, monolith or microservices\n- **Deployment target**: Kubernetes, ECS, VMs, serverless, or platform-as-a-service\n- **Environment topology**: Number of environments (dev\u002Fstaging\u002Fprod), region layout, air-gap requirements\n- **Rollout requirements**: Acceptable downtime, rollback SLA, traffic splitting needs, canary vs blue-green preference\n- **Gate constraints**: Approval teams, required test coverage thresholds, compliance scans (SAST, DAST, SCA)\n- **Monitoring stack**: Prometheus, Datadog, CloudWatch, or other metrics sources used for automated promotion decisions\n\n### What This Skill Produces\n\n- **Pipeline configuration**: Stage definitions, job dependencies, parallelism, and caching strategy\n- **Deployment strategy**: Chosen rollout pattern with annotated configuration (canary weights, blue-green switchover, rolling parameters)\n- **Health check setup**: Shallow vs deep readiness probes, post-deployment smoke test scripts\n- **Gate definitions**: Automated metric thresholds and manual approval workflows\n- **Rollback plan**: Automated rollback triggers and manual runbook steps\n\n## When to Use\n\n- Design CI\u002FCD architecture for a new service or platform migration\n- Implement deployment gates between environments\n- Configure multi-environment pipelines with mandatory security scanning\n- Establish progressive delivery with canary or blue-green strategies\n- Debug pipelines where stages succeed but production behavior is wrong\n- Reduce mean time to recovery by automating rollback on metric degradation\n\n## Detailed patterns and worked examples\n\nDetailed pattern documentation lives in `references\u002Fdetails.md`. Read that file when the navigation tier above is insufficient.\n\n## Troubleshooting\n\n### Health check passes in pipeline but service is unhealthy in production\n\nThe pipeline health check is hitting a shallow `\u002Fping` endpoint that returns 200 even when the database is unreachable. Use a deep readiness check that verifies actual dependencies (see Health Checks section above).\n\n### Canary deployment never promotes to 100%\n\nArgo Rollouts requires a valid `AnalysisTemplate` to auto-promote. If the Prometheus query returns no data (e.g., metric name changed), the analysis stays inconclusive and promotion stalls. Add `inconclusiveLimit` so the rollout fails fast rather than hanging:\n\n```yaml\nspec:\n  metrics:\n  - name: error-rate\n    failureCondition: \"result[0] > 0.05\"\n    inconclusiveLimit: 2   # fail after 2 inconclusive results, not hang indefinitely\n    provider:\n      prometheus:\n        query: |\n          sum(rate(http_requests_total{status=~\"5..\"}[2m]))\n          \u002F sum(rate(http_requests_total[2m]))\n```\n\n### Staging deploy succeeds but production job never starts\n\nCheck that production environment protection rules are configured — a missing reviewer assignment means the approval gate waits indefinitely with no notification. In GitHub Actions, ensure `Required reviewers` is set to an existing user or team in **Settings → Environments → production**.\n\n### Docker layer cache busted on every run causing slow builds\n\nIf `COPY . .` appears before dependency installation, any source file change invalidates the dependency layer. Reorder to copy dependency manifests first:\n\n```dockerfile\n# Good: dependencies cached separately from source code\nCOPY package*.json .\u002F\nRUN npm ci\nCOPY . .\nRUN npm run build\n```\n\n### Rollback leaves database migrations applied to old code\n\nA service rollback without a migration rollback causes schema\u002Fcode mismatch errors. Always make migrations backward-compatible (additive only) for at least one release cycle, and keep undo scripts versioned alongside the migration:\n\n```bash\n# migrations\u002FV20240315__add_nullable_column.sql       (forward)\n# migrations\u002FV20240315__add_nullable_column.undo.sql  (backward)\n```\n\nNever run destructive migrations (DROP COLUMN, ALTER NOT NULL) until the old code version is fully retired from all environments.\n\n## Advanced Topics\n\nFor platform-specific pipeline configurations, multi-region promotion workflows, and advanced Argo Rollouts patterns, see:\n\n- [`references\u002Fadvanced-strategies.md`](references\u002Fadvanced-strategies.md) — Extended YAML examples, platform-specific configs (GitHub Actions, GitLab CI, Azure Pipelines), multi-region canary patterns, and database migration rollback strategies\n\n## Related Skills\n\n- `github-actions-templates` - For GitHub Actions implementation patterns and reusable workflows\n- `gitlab-ci-patterns` - For GitLab CI\u002FCD pipeline implementation\n- `secrets-management` - For secrets handling in CI\u002FCD pipelines\n",{"name":5,"description":7},"main","6184979e01f673905139589c194eab38198db2f7",".opencode\u002Fskills\u002Fdeployment-pipeline-design",1,"https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE","https:\u002F\u002Fruake.github.io\u002FAWARE","https:\u002F\u002Fgithub.com\u002Fruake","2026-11-15 04:27:27",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ruake\u002FAWARE --skill deployment-pipeline-design",{"tool":37,"command":38},"bunx","bunx skills add ruake\u002FAWARE --skill deployment-pipeline-design",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ruake\u002FAWARE --skill deployment-pipeline-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fdeployment-pipeline-design\u002FSKILL.md",true,[],[46,52,59,66,73,79],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M75BPBYT89TEE87CGBDX2KF5","xlsx","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M75BPA000S9MTH5MY7CZNYYQ","writing-plans","Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste.","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M75BP80ETH9GYVRH8A7QPCSG","web-design-guidelines","Review files for compliance with Web Interface Guidelines.","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75BP5XG8SX5Q2WWZB6QRVFT","web-component-design","Build reusable, maintainable UI components using modern frameworks with clean composition patterns and styling approache","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-component-design\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M75BP4B1FC4V81QR1VB56H1E","web-artifacts-builder","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M75BP1XVRW8WQ2XXAJBAYV2V","vueuse-functions","This skill is a decision-and-implementation guide for VueUse composables in Vue.js \u002F Nuxt projects. It maps requirements","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvueuse-functions\u002FSKILL.md",[],[]]