terraform-docsterraform

Refresh Terraform module documentation from source code so variables, outputs, and providers stay in sync with the code before review or release.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "terraform-docsterraform" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-07fc481c0bda6043c08567a7a9acd0f8a518aa3d94d0a6e033af72072c566b50. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/generate-terraform-module-inputs-and-outputs-docs-with-terraform-docs-before-review-drift-sets-in before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Refresh Terraform module documentation from source code so variables, outputs, and providers stay in sync with the code before review or release.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Refresh Terraform module documentation from source so variables, outputs, and providers stay aligned with the code before review or release.
Software, accounts and paid services
Terraform module directory, terraform-docs CLI, optional README template or CI step
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "在审查漂移设置之前,使用 terraform-docs 生成 Terraform 模块输入和输出文档"
slug: "generate-terraform-module-inputs-and-outputs-docs-with-terraform-docs-before-review-drift-sets-in"
version: "1.0.0"
displayName: "在审查漂移设置之前,使用 terraform-docs 生成 Terraform 模块输入和输出文档"
summary: "从源代码刷新 Terraform 模块文档,以便在审查或发布之前,变量、输出和提供者与代码保持同步。"
license: "MIT"
description: "从源代码刷新 Terraform 模块文档,以便在审查或发布之前,变量、输出和提供者与代码保持同步。"
github_stars: 4753
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "CI/CD Integrations"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 4753

在审查漂移设置之前,使用 terraform-docs 生成 Terraform 模块输入和输出文档

Refresh Terraform module documentation from source so variables, outputs, and providers stay aligned with the code before review or release.

Prerequisites

Terraform module directory, terraform-docs CLI, optional README template or CI step

Installation

Use the upstream install or setup path that matches your environment:

  • brew install terraform-docs
  • brew install terraform-docs/tap/terraform-docs
  • go install github.com/terraform-docs/terraform-docs@v0.24.0
  • the repo and run make build from the repository which will put terraform-docs in:

Requirements and caveats from upstream:

  • Using docker

  • NOTE: Docker tag latest refers to latest stable released version and edge

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Areas to improve

  • 目标用户群体较窄 Reported severity: Minor

    该 Skill 面向使用 Terraform 的基础设施工程师,属于特定技术栈的长尾需求,受众范围有限。

    Recommendation: 可考虑扩展支持更多 IaC 工具或提供更通用的文档生成能力以扩大适用范围。

Highlights

  • 解决 Terraform 模块文档与代码同步的实际痛点
  • 提供多种安装方式,工具来源明确
Trigger Precision60/100

Areas to improve

  • 触发词描述不够具体 Reported severity: Minor

    description 描述了使用场景但未提供具体的触发命令或关键词,用户可能不清楚如何触发该 Skill。

    Recommendation: 建议补充具体的触发命令示例,如'terraform-docs markdown . > README.md'等。

Structure and Standards60/100

Areas to improve

  • 缺少清晰的执行步骤和示例 Reported severity: Minor

    文档包含基本结构但缺少 Phase/步骤划分和端到端示例,用户可能难以理解完整执行流程。

    Recommendation: 建议添加清晰的步骤划分(Phase 1/2/3)和完整的端到端使用示例。

Highlights

  • frontmatter 完整,包含必要元数据
Execution Reliability65/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖主要异常情况(如安装失败、权限问题、网络问题等),也未提及不可逆操作的确认机制。

    Recommendation: 建议添加常见异常的处理方案和重要操作的确认提示。

Highlights

  • 提供多种安装方式(brew、go install、docker)
  • 工具来源明确,来自 terraform-docs 官方
Evidence Verifiability (mean of the first four)63/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32, 33
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com
  • terraform-docs.io

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Terraform module directory, terraform-docs CLI, optional README template or CI step

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.