agentsclimarketplace

Iac generator

Skill a5c-ai/babysitter/library/specializations/code-migration-modernization/skills/iac-generator

Generate Infrastructure as Code from existing infrastructure with Terraform/CloudFormation supportFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill iac-generator

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.6 KB, 495 tokens by cl100k_base, as published. Nobody here has run it

IaC Generator Skill

Generates Infrastructure as Code from existing infrastructure, supporting Terraform, CloudFormation, and other IaC frameworks.

Purpose

Enable infrastructure codification for:

  • Resource discovery
  • Terraform/CloudFormation generation
  • Module structuring
  • Variable extraction
  • State management setup

Capabilities

1. Resource Discovery

  • Scan cloud accounts
  • Discover existing resources
  • Map relationships
  • Document configurations

2. Terraform/CloudFormation Generation

  • Generate HCL/YAML code
  • Create resource definitions
  • Handle dependencies
  • Support multiple clouds

3. Module Structuring

  • Organize into modules
  • Create reusable components
  • Design folder structure
  • Handle environments

4. Variable Extraction

  • Extract configurable values
  • Create variable files
  • Document defaults
  • Handle secrets

5. State Management Setup

  • Configure remote state
  • Set up locking
  • Handle state imports
  • Manage workspaces

6. Best Practice Enforcement

  • Apply naming conventions
  • Tag resources
  • Implement security controls
  • Add monitoring

Tool Integrations

ToolCloudIntegration Method
TerraformMultiCLI
PulumiMultiCLI
AWS CDKAWSCLI
Former2AWSCLI
TerraformerMultiCLI
Azure BicepAzureCLI

Output Schema

{
  "generationId": "string",
  "timestamp": "ISO8601",
  "infrastructure": {
    "resources": "number",
    "modules": "number",
    "variables": "number"
  },
  "artifacts": {
    "mainTf": "string",
    "moduleDir": "string",
    "variablesFile": "string",
    "stateConfig": "string"
  },
  "imports": [],
  "warnings": []
}

Integration with Migration Processes

  • cloud-migration: Infrastructure provisioning
  • containerization: Kubernetes IaC

Related Skills

  • cloud-readiness-assessor: Pre-migration assessment
  • containerization-assistant: Container infrastructure

Related Agents

  • cloud-migration-engineer: Infrastructure deployment
  • infrastructure-migration-agent: IaC migration

What ships with it: 1 file

1.6 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.