tkm:infra

Generate Terraform code for AWS infrastructure from user input or Mermaid diagrams.

Updated May 13, 2026
One-click install
npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-infra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tkm:infra
Source: https://github.com/khapn-2933/agentic-coding-hands-on/tree/main/.claude/skills/infra
Command: npx skills add https://github.com/khapn-2933/agentic-coding-hands-on --skill tkm-infra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, tfsec, checkov, infracost, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the need for efficient and secure AWS infrastructure provisioning using Terraform code generation.

Core Features & Use Cases

  • Code Generation: Automatically generates Terraform code for AWS infrastructure based on user input or Mermaid diagrams.
  • Security Review: Conducts security reviews to identify potential vulnerabilities in Terraform code.
  • Cost Estimation: Provides cost estimates for the generated infrastructure to optimize spending.
  • Use Case: Ideal for infrastructure teams looking to streamline their AWS provisioning process and ensure security and cost-effectiveness.

Quick Start

Generate AWS infrastructure code for an EC2 instance by running the command: generate ec2 --service ec2_instance --ami ami-xxxxxx --instance-type t2.micro.

Frequently Asked Questions about tkm:infra

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

FAQPage Schema
How do I generate Terraform code for AWS infrastructure?

You can generate Terraform code for AWS infrastructure by providing user input or Mermaid diagrams to define the architecture. The Skill creates Terraform modules for AWS services like EC2, RDS, and Lambda based on your specifications.

Can I estimate AWS infrastructure costs before deploying Terraform modules?

Yes, you can estimate AWS infrastructure costs during generation using the infracost dependency. This provides cost estimates for the generated Terraform modules to help optimize your cloud spending.

How do I run a security review on generated AWS Terraform code?

Security reviews for generated AWS Terraform code are conducted using tfsec and checkov dependencies. These tools identify potential vulnerabilities and security issues in the infrastructure configuration.

Do I need Python to generate Terraform modules for AWS services?

Yes, Python is required because the Skill uses Python scripts to execute various infrastructure generation, security review, and cost estimation tasks for AWS services like ECS and S3.

Can I create AWS infrastructure as code from a Mermaid diagram?

Yes, you can create AWS infrastructure as code directly from Mermaid diagrams. The Skill parses the diagram architecture to automatically generate the corresponding Terraform configuration.

What is the best way to provision secure AWS infrastructure using Terraform?

The best way to provision secure AWS infrastructure is to generate Terraform code and run automated security reviews using tfsec and checkov. This identifies vulnerabilities in modules before deployment.