Agent skill · software engineering · jeremylongshore

generating-infrastructure-as-code

Execute use when generating infrastructure as code configurations. Trigger

Why this skill is useful

Adds executable scripts for generating production-ready IaC configurations across multiple cloud providers that are not commonly found in public documentation.

What it needs

Requires aws, az, gcloud, pulumi, terraform installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Generating Infrastructure as Code Overview Generate production-ready infrastructure as code for Terraform, CloudFormation, Pulumi, ARM templates, and AWS CDK. Produce modular, well-structured configurations with proper variable definitions, outputs, remote state management, and deployment guidance for AWS, GCP, and Azure cloud stacks. Prerequisites Target cloud provider CLI installed and authenticated (aws, gcloud, az) IaC tool installed: Terraform 1.0+, Pulumi 3+, AWS CDK, or relevant SDK Cloud credentials configured with permissions to create the target resources Understanding of the desired infrastructure architecture (compute, networking, storage, database) Version control repository for storing IaC configurations Instructions 1. Identify the IaC tool and cloud provider based on the project requirements and existing codebase 2. Scan the project for existing IaC files to understand current patterns and conventions 3. Define the modular file structure: separate files for providers, networking, compute, storage, and databases 4. Generate the provider configuration with version pinning and remote backend for state storage 5. Define input variables with types, descriptions, defaults, and validation rules for all configurable values 6. Write resource definitions following cloud provider best practices: encryption enabled, logging configured, least-privilege IAM 7. Add outputs for resource identifiers, endpoints, and connection strings needed by other modules or applications 8. Configure remote state backend: S3 + DynamoDB for Terraform, Pulumi Cloud, or CloudFormation stack exports 9. Create environment-specific variable files (terraform.tfvars, dev.tfvars, prod.tfvars) for multi-environment deployment 10. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/generating-infrastructure-as-code

View the source on GitHub

Browse the @skills marketplace