infrastructure-as-code

Automate declarative infrastructure changes with plan review and drift controls.

7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill infrastructure-as-code-kentoshimizu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infrastructure-as-code
Source: https://github.com/KentoShimizu/sw-agent-skills/tree/main/skills/infrastructure-as-code
Command: npx skills add https://github.com/KentoShimizu/sw-agent-skills --skill infrastructure-as-code-kentoshimizu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Declarative infrastructure change workflow with plan-reviewed operations, state safety, and drift prevention. Use when infrastructure changes must be represented declaratively with reviewable plans and controlled apply; do not use for API contract design or requirement prioritization.

Core Features & Use Cases

  • Declarative IaC change plans with review and approvals
  • State safety checks and drift detection accompanying controlled apply
  • Rollback readiness and verification evidence to ensure auditable changes

Quick Start

Provide your target environment and changes as a declarative plan and initiate the controlled apply workflow.

Frequently Asked Questions about infrastructure-as-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a plan review before applying infrastructure changes?

Declarative infrastructure changes enforce plan-before-apply by separating plan and apply responsibilities. You provide target environment changes as a declarative plan, which requires review and approval before the controlled apply workflow executes.

What is drift prevention in infrastructure as code?

Drift prevention in IaC detects state deviations from declarative configurations using state safety checks. It accompanies controlled apply workflows with drift runbooks to ensure infrastructure matches reviewed plans across environments.

How do I separate plan and apply responsibilities for IaC deployments?

Separate plan and apply responsibilities by enforcing plan-before-apply workflows where declarative change plans require explicit review. This controlled apply process ensures state safety, rollback readiness, and verification evidence for auditable infrastructure changes.

When do I need declarative infrastructure change plans with state safety checks?

You need declarative infrastructure change plans with state safety checks when changes must be reviewable and controlled across environments. This approach provides rollback readiness, drift detection, and verification evidence for auditable infrastructure modifications.

Can I use this approach for API contract design or requirement prioritization?

No, this declarative IaC approach is not suitable for API contract design or requirement prioritization. It specifically automates infrastructure changes requiring reviewed plans, state safety checks, drift controls, and controlled apply workflows.