Terraform Diagram Generator
SkillGenerates architecture diagrams from Terraform code. Use when user has .tf files or asks to visualize Terraform infrastructure.
This skill parses Terraform configuration files (.tf, .tfvars) to extract infrastructure resources, modules, and their relationships. It then converts this information into Eraser DSL and calls the Eraser API to render a cloud architecture diagram, supporting multiple providers like AWS, Azure, and GCP.
Documentation
- warning:Configuration & parameter referenceThe `ERASER_API_KEY` and `ERASER_THEME` environment variables are referenced in the curl command but are not explicitly documented with default values or precedence.
Security
- warning:Secret ManagementThe skill requires an `ERASER_API_KEY` environment variable, which is critical for its operation, but this secret is not explicitly handled or guarded beyond being an environment variable. There is a risk of it being echoed if not handled carefully.
- info:Data ExfiltrationThe skill makes an outbound call to the Eraser API. While the API key is required, the destination is documented, and the skill's purpose is diagram generation, not exfiltration of sensitive user data.
Code Execution
- warning:ValidationWhile the skill instructs on label formatting rules for the Eraser DSL, there is no explicit mention or use of a schema validation library for input arguments (Terraform files) or the generated DSL before sending to the API.
- warning:Error HandlingThe instructions mention handling the response, but there are no explicit details on how errors from the curl command or the Eraser API itself are caught, categorized, or reported to the agent, nor any mention of retry mechanisms for API calls.
Practical Utility
- warning:Edge casesWhile the instructions cover label formatting and multiple providers, specific failure modes (e.g., API errors, invalid Terraform, rate limits) and their recovery paths are not explicitly documented.
Safety
- warning:Halt on unexpected stateThe skill does not explicitly list preconditions in a machine-readable format, nor does it clearly instruct to abort on unexpected pre-state like malformed Terraform or API errors.
Instalação
npx skills add eraserlabs/eraser-ioExecuta a CLI skills da Vercel (skills.sh) via npx — requer Node.js localmente e pelo menos um agente compatível com skills instalado (Claude Code, Cursor, Codex, …). Pressupõe que o repositório siga o formato agentskills.io.
Extensões similares
Bicep Diagram Generator
85Generates architecture diagrams from Azure Bicep files. Use when user has .bicep files or asks to visualize Bicep infrastructure.
AWS Diagram Generator
92Visualizes AWS infrastructure from CLI output, CloudFormation, or descriptions. Use when user has AWS resources to diagram.
Azure Diagram Generator
85Visualizes Azure infrastructure from ARM templates, Azure CLI, or descriptions. Use when user has Azure resources to diagram.
Cloud Architecture Diagram Generator
40Create cloud provider architecture diagrams using PlantUML syntax with official AWS, Azure, GCP, and Alibaba Cloud service icons. Best for multi-service cloud topologies and migration blueprints.
Eraser Diagram Generator
98Generates architecture diagrams from code, infrastructure, or descriptions. Use when user asks to visualize, diagram, or document system architecture.
Eraser Diagram Generator
98Generates architecture diagrams from code, infrastructure, or descriptions. Use when user asks to visualize, diagram, or document system architecture.