aws-cloudformation

Author, validate, and troubleshoot AWS CloudFormation templates with cfn-lint and cfn-guard.

2|Updated May 15, 2026
One-click install
npx skills add https://github.com/mashharuki/floci-sample --skill aws-cloudformation-mashharuki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-cloudformation
Source: https://github.com/mashharuki/floci-sample/tree/main/.agents/skills/aws-cloudformation
Command: npx skills add https://github.com/mashharuki/floci-sample --skill aws-cloudformation-mashharuki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cfn-lint, cfn-guard, aws-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of authoring, validating, and troubleshooting AWS CloudFormation templates, reducing the complexity and potential errors in infrastructure-as-code workflows.

Core Features & Use Cases

  • Template Authoring: Guided best practices for creating secure and compliant CloudFormation templates.
  • Pre-Deployment Validation: Automated checks for syntax, security, and compliance before deployment.
  • Troubleshooting: Diagnose and resolve issues in failed deployments using CloudFormation events and CloudTrail correlation.
  • Use Case: For a developer looking to deploy a new AWS stack, this Skill can help author the template, validate it against security rules, and troubleshoot any issues that arise during deployment.

Quick Start

Use the aws-cloudformation skill to validate the CloudFormation template located at 'path/to/template.yaml'.

Frequently Asked Questions about aws-cloudformation

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

FAQPage Schema
How do I validate AWS CloudFormation templates before deployment?

You can validate AWS CloudFormation templates by running automated checks for syntax, security, and compliance using cfn-lint and cfn-guard. This pre-deployment validation catches configuration errors and policy violations before any infrastructure changes are applied.

How do I troubleshoot AWS CloudFormation stack deployment failures?

To troubleshoot AWS CloudFormation stack failures, analyze CloudFormation events and correlate them with CloudTrail logs. This root-cause diagnosis approach identifies exactly why your infrastructure deployment failed and what resource creation or update caused the error.

Do I need AWS CLI and cfn-lint to manage CloudFormation templates?

Yes, managing CloudFormation templates with automated validation requires the AWS CLI, cfn-lint, and cfn-guard. These dependencies enable command-line deployment operations, syntax validation, and security compliance enforcement for your infrastructure-as-code workflows.

What is the best way to author secure AWS CloudFormation templates?

The best way to author secure AWS CloudFormation templates is to follow guided best practices that establish secure defaults. This approach streamlines infrastructure-as-code creation while ensuring your stacks are built compliant with security and operational standards from the start.

Why did my CloudFormation change set fail to deploy?

Your CloudFormation change set may have failed due to resource configuration errors or policy violations. Diagnosing the root cause requires correlating CloudFormation events with CloudTrail logs to identify the specific resource creation or update that triggered the deployment failure.