From arn-infra
This skill should be used when the user says "execute infra change", "run infra plan", "apply infrastructure change", "execute change", "arn infra execute", "deploy infra plan", "execute infrastructure plan", "run infrastructure change", "apply infra plan", "infra execute", "arn-infra-execute-change", or wants to orchestrate the phased execution of a structured infrastructure change plan, invoking agents for IaC generation, security gates, cost gates, deployment, verification, and review.
npx claudepluginhub appsvortex/arness --plugin arn-infraThis skill uses the workspace's default tool permissions.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Builds 3-5 year financial models for startups with cohort revenue projections, cost structures, cash flow, headcount plans, burn rate, runway, and scenario analysis.
Orchestrate the phased execution of a structured infrastructure change plan. For each phase, this skill runs a 7-step dispatch loop: rollback checkpoint, IaC generation, security gate, cost gate, deployment, verification, and review gate. It tracks progress in PROGRESS_TRACKER.json and produces per-phase INFRA_CHANGE_REPORT_PHASE_N.json reports.
This skill consumes the structured project created by arn-infra-save-plan and coordinates all existing infrastructure agents (specialist, security-auditor, cost-analyst, verifier) plus the new change-reviewer agent.
Pipeline position:
arn-infra-init -> arn-infra-change-spec -> arn-infra-change-plan -> arn-infra-save-plan -> **arn-infra-execute-change** -> arn-infra-review-change -> arn-infra-document-change
Read ## Arness from the project's CLAUDE.md. If no ## Arness section exists or Arness Infra fields are missing, inform the user: "Arness Infra is not configured for this project yet. Run /arn-infra-wizard to get started — it will set everything up automatically." Do not proceed without it.
Check the Deferred field. If Deferred: yes, inform the user: "Infrastructure is in deferred mode. Change execution is not available until infrastructure is fully configured. Run /arn-infra-assess to un-defer." Stop.
Extract:
.arness/infra-plans)providers.mdenvironments.md~/.arness/user-profile.yaml (or .claude/arness-profile.local.md if it exists — project override takes precedence). Apply the experience derivation mapping from ${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-ensure-config/references/experience-derivation.md. If no profile exists, check for legacy Experience level in ## Arness as fallback.100)tooling-manifest.jsonactive-resources.jsonSearch for structured plan projects in the Infra plans directory:
Glob <infra-plans-dir>/*/PROGRESS_TRACKER.json
If one project found: Auto-select it.
If multiple projects found: Present the list with project names and overall status from each PROGRESS_TRACKER.json. Ask the user to select.
If no project found: Inform the user: "No structured plan project found. Run /arn-infra-save-plan to create one from a plan preview."
Read PROGRESS_TRACKER.json to determine current phase and execution state. If a phase is in_progress, offer to resume from the last completed step.
Read the project's INTRODUCTION.md and present an execution summary:
"Infrastructure Change Execution:
Proceed with Phase [N]?"
Token consumption warning: If the project has 5+ phases or 20+ resources, warn: "This is a large change with [N] phases and [M] resources. Execution will consume significant context. Consider executing one phase at a time."
Read
${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-execute-change/references/dispatch-loop.mdfor the detailed dispatch loop logic.
For the current phase, execute the 7-step dispatch loop:
Before making any changes, create a rollback checkpoint:
Update PROGRESS_TRACKER.json: set phase execution status to in_progress.
Read the phase plan (PHASE_N_PLAN.md) and invoke the arn-infra-specialist agent with structured context:
--- PHASE PLAN ---
[full content of PHASE_N_PLAN.md]
--- END PHASE PLAN ---
--- PROVIDER CONFIG ---
[provider configuration from providers.md]
--- END PROVIDER CONFIG ---
--- INFRASTRUCTURE CONTEXT ---
Project: [project name]
Phase: [N] of [total]
Environment: [target environment]
IaC Tool: [tool]
Blast Radius: [classification]
--- END INFRASTRUCTURE CONTEXT ---
--- GENERATION INSTRUCTIONS ---
Generate the IaC configurations for all resources listed in the phase plan.
Follow the resource specifications exactly. Use the configured IaC tool.
Generate environment-specific variable files. Include resource tagging.
--- END GENERATION INSTRUCTIONS ---
Read
${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-execute-change/references/gate-policies.mdfor security gate enforcement rules.
Invoke the arn-infra-security-auditor agent to scan the generated IaC:
--- IaC ARTIFACTS ---
[list of generated files with content]
--- END IaC ARTIFACTS ---
--- SECURITY CONTEXT ---
Environment: [target environment]
Blast radius: [classification]
Security requirements: [from phase plan]
--- END SECURITY CONTEXT ---
--- SCAN INSTRUCTIONS ---
Scan the generated IaC for security issues. Report findings by severity
(CRITICAL, HIGH, MEDIUM, LOW). Check for: exposed ports, public access,
missing encryption, overly permissive IAM, hardcoded secrets.
--- END SCAN INSTRUCTIONS ---
Gate evaluation (per gate-policies.md):
Update PROGRESS_TRACKER.json: set securityGate.status.
Invoke the arn-infra-cost-analyst agent to estimate costs:
--- IaC ARTIFACTS ---
[generated IaC content]
--- END IaC ARTIFACTS ---
--- COST CONTEXT ---
Cost threshold: [from config]
Cumulative cost so far: [from previous phases]
Budget remaining: [total budget - cumulative]
--- END COST CONTEXT ---
--- ESTIMATION INSTRUCTIONS ---
Estimate the monthly cost for all resources in this phase.
Break down costs per resource. Compare against the threshold.
Suggest cost optimizations if threshold is exceeded.
--- END ESTIMATION INSTRUCTIONS ---
Gate evaluation (per gate-policies.md):
Update PROGRESS_TRACKER.json: set costGate.status.
Read
${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-execute-change/references/deploy-procedures.mdfor per-tool deployment commands.
Execute the deployment using the procedures from deploy-procedures.md. Follow the same deployment flow as arn-infra-deploy:
User confirmation is required before every apply/deploy command.
Invoke the arn-infra-verifier agent to validate the deployment:
--- DEPLOYED RESOURCES ---
[list of resources from this phase]
--- END DEPLOYED RESOURCES ---
--- VERIFICATION CONTEXT ---
Environment: [target environment]
Expected endpoints: [from phase plan]
Expected resource state: [from IaC output]
--- END VERIFICATION CONTEXT ---
--- VERIFICATION INSTRUCTIONS ---
Run health checks, DNS verification, SSL validation, and resource state
comparison for all deployed resources. Report PASS/WARN/FAIL verdict.
--- END VERIFICATION INSTRUCTIONS ---
Update PROGRESS_TRACKER.json: set verification.status.
Invoke the arn-infra-change-reviewer agent for a phase-level review:
--- PHASE REPORT ---
[INFRA_CHANGE_REPORT content for this phase]
--- END PHASE REPORT ---
--- CHANGE SPEC ---
[original spec content]
--- END CHANGE SPEC ---
--- REVIEW INSTRUCTIONS ---
Review this single phase for security posture, cost compliance, blast radius
adherence, and rollback documentation. Provide a phase-level verdict.
--- END REVIEW INSTRUCTIONS ---
Update PROGRESS_TRACKER.json: set review.verdict.
After the dispatch loop completes:
Read the report template:
Read ${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-save-plan/report-templates/default/INFRA_CHANGE_REPORT_TEMPLATE.json
Write INFRA_CHANGE_REPORT_PHASE_N.json to the project's reports/ directory using the loaded template schema.
Update PROGRESS_TRACKER.json:
completed (or failed / rolled_back)lastUpdated timestampoverallStatus to completedIf the next phase targets a different environment:
"Environment Promotion: Phase [N] ([current-env]) is complete. Phase [N+1] targets [next-env].
Phase [N] Summary:
Ask (using AskUserQuestion):
"Promote to [next-env]? This requires explicit approval."
Options:
User approval is required for every environment promotion. Never auto-promote.
If more phases remain: Return to Step 2 for the next phase.
If all phases complete: Present the final summary:
"Infrastructure Change Complete:
Next steps:
/arn-infra-review-change for a comprehensive cross-phase review/arn-infra-document-change to generate runbooks and changelog/arn-infra-monitor to set up observability"For parallel execution of independent resources within the same environment, see the dispatch loop reference.
## Arness config missing: Suggest running /arn-infra-wizard to get started. Stop./arn-infra-save-plan to create a structured project. Stop.plans/ directory and rebuild the tracker.