
Infra validation
Checks AWS CDK and CloudFormation code against best practices before deployment
Infra validation is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 12
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Infra validation
This skill reviews infrastructure-as-code written for AWS, covering CDK apps and CloudFormation templates, and rates what it finds as critical, important or suggestion-level issues. It works by delegating to AWS-published skills on the AWS MCP server for cfn-lint or cloudformation-validate, cfn-guard rules, cdk-nag packs and Well-Architected pillar reviews, then folding their results into one report. Before reading any files it asks for the infrastructure type, the code location and the target environment, so the validation runs against the right code.
The report lists every resource in scope with the settings it checked, then gives each finding a before-and-after snippet. A short quality gate defines which issues block deployment, such as public S3 buckets, missing encryption, open security group ingress, wildcard IAM permissions and missing deletion protection on production data stores. The skill does not deploy, create change sets or run cdk synth without explicit user approval.
It expects access to the AWS MCP server to load its sub-skills; without it, the skill falls back to any locally installed cfn-lint, cfn-guard or cdk-nag and a manual code read. Inputs are the CDK or CloudFormation source and, optionally, compliance requirements and a focus area such as security or cost.
When your agent uses it
Validates AWS CDK and CloudFormation code against AWS best practices and Well-Architected principles. Use before deploying infrastructure changes. Flags security vulnerabilities, cost issues, and compliance gaps.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (14 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the konductor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductorOr copy only this skill to ~/.claude/skills/infra-validation:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/infra-validation &&
cp -R "$tmp/skills/infra-validation" ~/.claude/skills/infra-validation &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/infra-validation inside it instead.
Copy the skill folder to ~/.agents/skills/infra-validation to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/infra-validation &&
cp -R "$tmp/skills/infra-validation" ~/.agents/skills/infra-validation &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/infra-validation inside it instead.
Copy the skill folder to ~/.cursor/skills/infra-validation to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/infra-validation &&
cp -R "$tmp/skills/infra-validation" ~/.cursor/skills/infra-validation &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/infra-validation inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/aws-solutions/konductor.git --path skills/infra-validationOr copy the folder to ~/.gemini/skills/infra-validation yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/infra-validation:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/infra-validation &&
cp -R "$tmp/skills/infra-validation" ~/.copilot/skills/infra-validation &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/infra-validation inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aws-solutions/konductor.gitThen copy konductor/skills/infra-validation into your agent's skills folder as infra-validation. Agents that support SKILL.md read one folder per skill.
What it does
- Security and IAM review
- Flags public access, missing encryption, open ingress and overly broad IAM actions or wildcard resources.
- Deployment gate
- Sorts findings into critical, important and suggestion tiers, with a fixed list of issues that block deployment.
- Resource inventory
- Lists each resource in scope with its type, environment and the key settings that were checked.
- Well-Architected alignment
- Runs a pillar-scoped Well-Architected review against the infrastructure code when a cost, reliability or operations focus applies.
- Before and after fixes
- Gives each serious finding a concrete code snippet showing the current lines and the corrected version.
- Compliance and drift checks
- Can run cfn-guard rules and cdk-nag packs where the project already uses them, reporting each layer separately.
Good for
- Review my CDK stack for security issues before I deploy it
- Check this CloudFormation template against AWS best practices
- Find public S3 buckets or open security groups in my infrastructure code
- Flag overly broad IAM permissions in my Lambda and role definitions
- Confirm my DynamoDB tables have deletion protection and backups for production
Infra validation FAQ
What does the skill need before Infra validation starts?
It asks for the infrastructure type (CDK TypeScript or Python, or CloudFormation YAML or JSON), the folder path or pasted code, and the environment. Compliance requirements, a focus area and known issues are optional.
Does Infra validation deploy anything or change my AWS account?
No. It does not deploy, create stacks or change sets, or install tools. It runs cdk synth only after the user explicitly confirms the code is trusted, and it skips account-aware checks such as cdk diff unless asked.
What happens if the AWS MCP server is not available?
The skill says so at the top of the report, runs whichever of cfn-lint, cfn-guard and cdk-nag are installed, and reads the code manually for the quality gate items.
How does Infra validation decide whether a finding blocks deployment?
Only exposure, data loss, credential risk or blocked writes are rated critical. Operational gaps such as missing alarms, DLQs or tracing are rated important, and cost or performance items are suggestions.
How do I install Infra validation in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/infra-validation to use it in all your projects, or to .claude/skills/infra-validation in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.
Does Infra validation run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Infra validation?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Infra validation?
The closest alternatives to Infra validation are Policy validation, AWS well architected review, Sh kb misconfig, Azure well architected review and Adversarial code review pass security.
Where this comes from
- Description: from the skill's own SKILL.md.
More from aws-solutions/konductor

Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup
- Open source
- 12 GitHub stars
- Developer tools

Installs, updates or removes the Konductor toolkit in a Kiro workspace with consent gates
- Open source
- 12 GitHub stars
- Developer tools

Onboards you to Konductor: install the CLI, set up agent content, and start a session
- Open source
- 12 GitHub stars
- Developer tools

Adversarial second-pass code review that hunts for disclosure, data integrity
- Open source
- 12 GitHub stars
- Security

Reviews a code diff for data integrity risks like partial writes and lost updates
- Open source
- 12 GitHub stars
- Developer tools

Reviews code diffs for schema, API contract and backward-compatibility risks
- Open source
- 12 GitHub stars
- Developer tools





