infrastructure-validation

Validate Terraform, Ansible, Docker, and CloudFormation configurations with formatting, syntax, linting, and security checks.

66|3|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/lgbarn/shipyard --skill infrastructure-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infrastructure-validation
Source: https://github.com/lgbarn/shipyard/tree/main/skills/infrastructure-validation
Command: npx skills add https://github.com/lgbarn/shipyard --skill infrastructure-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

IaC mistakes cause outages, security issues, and cost overruns. This Skill provides structured validation workflows for Terraform, Ansible, Docker, and CloudFormation to catch issues before applying changes and to enforce best practices across your infrastructure code.

Core Features & Use Cases

  • Terraform Workflow: format, validate, plan, lint, and security checks to ensure changes are intentional.
  • Ansible & Docker Workflows: syntax checks, best practices enforcement, and configuration validation before deployment.
  • Drift Detection & Governance: detect divergence between code, state, and run-time environments.
  • Use Case: Integrate into CI pipelines to prevent outages by validating changes prior to deployment.

Quick Start

Review your IaC repository and run the built-in validation steps to identify formatting, syntax, and security issues before applying changes.

Frequently Asked Questions about infrastructure-validation

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

FAQPage Schema
How do I validate Terraform configurations before deploying to production?

Validate Terraform configurations by running formatting, syntax checks, plan generation, linting, and security scans to ensure changes are intentional. This structured workflow catches misconfigurations and security issues before applying changes to prevent outages and cost overruns.

What is infrastructure-as-code drift detection and when do I need it?

Infrastructure-as-code drift detection identifies divergence between your code, state, and run-time environments. You need it to maintain governance and ensure your live infrastructure matches your Terraform, Ansible, Docker, or CloudFormation configurations over time.

Can I integrate IaC validation into my existing CI pipelines?

Yes, you can integrate IaC validation into CI pipelines to prevent outages by validating changes prior to deployment. The workflow applies to Terraform, Ansible, Docker, CloudFormation, and Kubernetes YAML across change-management workflows.

What is the best way to enforce best practices across Ansible and Docker configurations?

Enforce Ansible and Docker best practices by running syntax checks and configuration validation before deployment. This structured workflow catches misconfigurations early, preventing security issues and outages caused by infrastructure-as-code mistakes.

Why does CloudFormation misconfigurations cause outages and how do I prevent them?

CloudFormation misconfigurations cause outages because IaC mistakes bypass manual review checks. Prevent them by applying formatting, syntax checks, linting, security scans, and drift detection to catch issues before applying changes to your environment.

Does infrastructure-as-code validation work with Kubernetes YAML files?

Yes, infrastructure-as-code validation works with Kubernetes YAML alongside Terraform, Ansible, Docker, and CloudFormation. It applies formatting, linting, and security scans to Kubernetes YAML configurations across CI pipelines and change-management workflows.