cloudformation-generator

Generate AWS CloudFormation YAML templates with parameters, resources, and outputs.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/ToanPV90/dotfiles --skill cloudformation-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudformation-generator
Source: https://github.com/ToanPV90/dotfiles/tree/main/claude/.claude/skills/cloudformation-generator
Command: npx skills add https://github.com/ToanPV90/dotfiles --skill cloudformation-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CloudFormation Generator turns vague infrastructure requirements into consistent, parameterized AWS CloudFormation templates so you can deploy infrastructure-as-code instead of manual console setup.

Core Features & Use Cases

  • Requirements-to-Template Guidance: Guides you through defining resources, parameters, environments, cross-stack dependencies, naming, and deletion behavior.
  • Opinionated, Validated Template Structure: Enforces YAML best practices including correct AWSTemplateFormatVersion, section ordering, and safe string handling.
  • Cross-Stack Exports/Imports & Intrinsics: Helps you define outputs with unique export names and references them via Fn::ImportValue and common intrinsic functions.

Quick Start

Ask: "Generate an AWS CloudFormation YAML template for a VPC-based stack with parameters for environment, subnet IDs, and exported outputs for VPC ID and subnet IDs."

Frequently Asked Questions about cloudformation-generator

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

FAQPage Schema
How do I generate AWS CloudFormation YAML templates from infrastructure requirements?

AWS CloudFormation cross-stack references are defined using outputs with unique export names, then referenced in other stacks via Fn::ImportValue. This approach supports repeatable deployments and common intrinsic functions across separate stacks.

What are the limitations of generating AWS CloudFormation templates from infrastructure requirements?

Generating AWS CloudFormation YAML templates requires defining infrastructure requirements including resources, parameters, environments, and cross-stack dependencies. The skill enforces correct AWSTemplateFormatVersion, section ordering, safe string handling, and AWS-specific parameter types for repeatable deployments.

How do I create AWS CloudFormation cross-stack references with exports and imports?

AWS CloudFormation cross-stack references are defined using outputs with unique export names, then referenced in other stacks via Fn::ImportValue. This approach supports repeatable deployments and common intrinsic functions across separate stacks.

What's the best way to validate AWS CloudFormation templates for safe naming and portability?

The best way to validate AWS CloudFormation templates is using cloudformation-validator or cfn-lint. The skill enforces safe naming, portability, AWS-specific parameter types, and correct YAML section ordering to ensure production-ready infrastructure-as-code.

Can I translate AWS console configurations into infrastructure-as-code?

Yes, you can translate manual AWS console configurations into infrastructure-as-code by defining the resources and parameters. The skill guides you through specifying environments, subnet IDs, cross-stack dependencies, and deletion behavior for parameterized YAML templates.

What are the limitations of generating AWS CloudFormation templates from infrastructure requirements?

Limitations include ensuring you provide correct AWSTemplateFormatVersion, Description, and section ordering. You must manage safe string handling, unique export names for cross-stack references, and AWS-specific parameter types to maintain portability and pass validation.