terraform-arch-mapper

Terraform Arch Mapper

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "terraform-arch-mapper" with this command: npx skills add famaoai-creator/gemini-skills/famaoai-creator-gemini-skills-terraform-arch-mapper

Terraform Arch Mapper

Overview

This skill analyzes Terraform configuration files (.tf ) to extract infrastructure resources and their dependencies. It then generates a visual representation of the system architecture using Mermaid.js or PlantUML.

Capabilities

  • Resource Extraction:

  • Scans all .tf files in a directory.

  • Identifies provider resources (e.g., aws_instance , google_storage_bucket ).

  • Relationship Mapping:

  • Detects dependencies between resources (e.g., vpc_id = aws_vpc.main.id ).

  • Diagram Generation:

  • Outputs Mermaid C4 or flowchart code.

  • Outputs PlantUML code.

Usage

Generate Mermaid diagram (default)

node scripts/generate_diagram.cjs [path/to/terraform/dir]

Generate PlantUML diagram

node scripts/generate_diagram.cjs [path/to/terraform/dir] --format plantuml

Dependencies

  • Node.js environment

  • hcl2-parser (for parsing Terraform files)

Knowledge Protocol

  • This skill adheres to the knowledge/orchestration/knowledge-protocol.md . It automatically integrates Public, Confidential (Company/Client), and Personal knowledge tiers, prioritizing the most specific secrets while ensuring no leaks to public outputs.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

data-transformer

No summary provided by upstream source.

Repository SourceNeeds Review
General

prompt-optimizer

No summary provided by upstream source.

Repository SourceNeeds Review
General

pmo-governance-lead

No summary provided by upstream source.

Repository SourceNeeds Review
General

local-reviewer

No summary provided by upstream source.

Repository SourceNeeds Review