一键导入
cicd-infra-pipeline
Generate CI/CD pipelines for infrastructure tiers with approval gates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate CI/CD pipelines for infrastructure tiers with approval gates
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Flow: Auto - Full Issue Lifecycle in One Shot - Complete end-to-end workflow: start worktree → analyze issue → ELI5 plan + necessity gate → implement ...
Run quality checks (lint + test + typecheck + security) without committing
Flow: Finish - Quality Gates, Commit, Push, and Create PR - Run quality checks, commit changes, push the branch, and create a pull request.
Flow Commands - Streamlined worktree-based development workflow. No locks, no Redis - just git.
Flow: Merge PR and Clean Up - Merge the current branch's PR, then clean up the worktree and branch.
Diagnose flow workflow setup and environment
| name | cicd-infra-pipeline |
| description | Generate CI/CD pipelines for infrastructure tiers with approval gates |
Generate separate CI/CD pipelines for each infrastructure tier with appropriate approval gates.
Read configuration from .claude/cicd.yml infrastructure section.
Generate pipelines:
PYTHONPATH="$CPP_DIR/lib:$PYTHONPATH" python3 -m lib.cicd infra-pipeline --path "$(pwd)" --write
Each tier gets its own workflow file, triggered only by changes to that tier's directory:
.github/workflows/infra-foundation.yml - Manual approval required.github/workflows/infra-platform.yml - Auto-deploy (configurable).github/workflows/infra-app.yml - Auto-deployFoundation tier uses GitHub Environments with required reviewers. Set up:
infra-foundation environment/cicd-infra-init - Scaffold IaC directory structure/cicd-infra-discover - Audit existing cloud resources/cicd-pipeline - Application-layer pipeline generation