Skip to content
Back to skills

Validate Cloudformation Templates Before Deploy With Cfn Lint

ASecurity

Catch CloudFormation schema, region, and intrinsic-function mistakes before a stack update fails in review or deployment.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongodockerawsgitsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill validate-cloudformation-templates-before-deploy-with-cfn-lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate Cloudformation Templates Before Deploy With Cfn Lint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Validate Cloudformation Templates Before Deploy With Cfn Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-validate-cloudformation-templates-before-deploy-wi/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-validate-cloudformation-templates-before-deploy-wi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Validate CloudFormation templates before deploy with cfn-lint"
slug: "validate-cloudformation-templates-before-deploy-with-cfn-lint"
description: "Catch CloudFormation schema, region, and intrinsic-function mistakes before a stack update fails in review or deployment."
github_stars: 2608
verification: "security_reviewed"
source: "https://github.com/aws-cloudformation/cfn-lint"
author: "AWS CloudFormation"
publisher_type: "organization"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "aws-cloudformation/cfn-lint"
  github_stars: 2608
---

# Validate CloudFormation templates before deploy with cfn-lint

Catch CloudFormation schema, region, and intrinsic-function mistakes before a stack update fails in review or deployment.

## Prerequisites

Python or cfn-lint binary, CloudFormation templates

## Installation

Use the upstream install or setup path that matches your environment:
- pip install cfn-lint. If pip is not available, run
- brew install cfn-lint
- docker build --tag cfn-lint:latest .
- docker run --rm -v pwd:/data cfn-lint:latest /data/template.yaml

Requirements and caveats from upstream:
- <img alt="[cfn-lint logo]" src="https://github.com/aws-cloudformation/cfn-python-lint/blob/main/logo.png?raw=true" width="150" align="right">
- [![codecov](https://codecov.io/gh/aws-cloudformation/cfn-lint/branch/main/graph/badge.svg)](https://codecov.io/gh/aws-cloudformation/cfn-python-lint)
- Python 3.10 to 3.14 are supported.

Basic usage or getting-started notes:
- _To get information about the [SAM Transformation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html), run the linter with --info_
- ### Pip
- #### Optional dependencies

- Source: https://github.com/aws-cloudformation/cfn-lint
- Extracted from upstream docs: https://raw.githubusercontent.com/aws-cloudformation/cfn-lint/HEAD/README.md

## Documentation

- https://github.com/aws-cloudformation/cfn-lint

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/validate-cloudformation-templates-before-deploy-with-cfn-lint/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.