← ClaudeAtlas

karvey-infralisted

Karvey phase 6 — infra.md, IaC and CI/CD pipelines, idempotent, with an infra security review — after architecture approval; skip it when there is no cloud. Triggers include "karvey infra", "infraestructura karvey", "karvey IaC", "pipelines karvey".
MauricioQuezadaHaintech/karvey · ★ 0 · DevOps & Infrastructure · score 73
Install: claude install-skill MauricioQuezadaHaintech/karvey
# Karvey Infra ## Purpose Generate and configure the **cloud infrastructure (IaC)** and the **CI/CD pipelines** from the "Cloud Infrastructure" section of the change's `architecture.md`. This is **PHASE 6** of the Karvey Method, between `karvey-architecture` (PHASE 5) and `karvey-tasks` (PHASE 7). The phase is **idempotent over existing infra**: it never recreates what is already there, it only creates what is missing or modifies what is needed. It includes an **infra security review** as a gate, and respects the team's deployment flow (deploy via pipeline, never manual). ## Execution steps ### Step 1 — Load context Read in parallel: - `docs/spec/changes/{change-id}/spec.json` (especially `security_tier`, `layers`, `management`) - `docs/spec/changes/{change-id}/architecture.md` (especially the **"## Cloud Infrastructure"** section: which services from which cloud) - `docs/spec/project.json` (fields `git_platform`, `cloud.provider`, `iac_tool`, `repos`, `spec_repo`, `branch_flow`) - Shared rules: `../karvey/rules/project-config.md`, `../karvey/rules/deploy-workflow.md`, `../karvey/rules/changelog-policy.md`, `../karvey/rules/security-tiers.md` Entry checks: - If `docs/spec/project.json` **does not exist** → **stop** and indicate to run `karvey-init` first (see `project-config.md`). - `python3 "${CLAUDE_PLUGIN_ROOT}/scripts/karvey-state.py" next "{change-id}" --json`: architecture must be approved; relay the blockers and **stop** if not. Then `advance "{change-id}" infra