terraform-docs

Generate documentation from Terraform configurations using predefined templates.

8|3|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/tomique34/claude-skill-creator --skill terraform-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-docs
Source: https://github.com/tomique34/claude-skill-creator/tree/main/terraform-docs
Command: npx skills add https://github.com/tomique34/claude-skill-creator --skill terraform-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive documentation directly from Terraform code, eliminating the manual effort and ensuring accuracy.

Core Features & Use Cases

  • Module READMEs: Generate standard documentation for reusable Terraform modules.
  • Architecture Documentation: Create high-level overviews of infrastructure designs.
  • Operational Runbooks: Develop step-by-step guides for deployment and maintenance.
  • Quick Reference Guides: Provide concise cheat sheets for common commands and configurations.
  • Use Case: When you've just finished writing a new Terraform module for creating VPCs, use this Skill to automatically generate a README file that details its inputs, outputs, and provides usage examples.

Quick Start

Use the terraform-docs skill to generate a module README for the Terraform code in the current directory.

Frequently Asked Questions about terraform-docs

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

FAQPage Schema
How do I generate documentation from Terraform configurations automatically?

Generating Terraform documentation automatically involves parsing .tf files to analyze resource definitions, variables, and outputs, then applying predefined templates to produce human-readable READMEs, architecture overviews, and runbooks.

What types of documentation can I create from Terraform modules?

You can create standard module READMEs, high-level architecture overviews, operational runbooks for deployment and maintenance, and quick reference cheat sheets directly from your Terraform modules.

Can I automatically create a README for a Terraform module based on its variables and outputs?

Yes, you can automatically generate a Terraform module README by analyzing the module's code structure, resource definitions, variables, and outputs to detail inputs and provide usage examples.

Do I need to install any external dependencies to generate Terraform runbooks?

No external dependencies are required to generate Terraform runbooks; the process relies entirely on parsing your existing .tf files and applying predefined templates to create step-by-step maintenance guides.

What is the best way to maintain accurate documentation for Infrastructure as Code?

The best way to maintain accurate Infrastructure as Code documentation is to automate generation directly from Terraform configurations, ensuring documentation matches the code structure, resources, variables, and outputs without manual effort.