terraform-state-inspector

Inspect and diagnose Terraform state files using the terraform CLI and Terraform Cloud API v2. Detect drift in state data, isolated resources, and dependency cycles.

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-state-inspector" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e8c418427bf5788902e14d46e0515f719c9a045b9e90854bfebcf6aa4a6c6a72. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/terraform-state-inspector 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

Inspect and diagnose Terraform state files using the terraform CLI and Terraform Cloud API v2. Detect drift in state data, isolated resources, and dependency cycles.

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
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
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 状态检查器"
slug: "terraform-state-inspector"
version: "1.0.0"
displayName: "Terraform 状态检查器"
summary: "使用 terraform CLI 命令和 Terraform Cloud API v2 检查和诊断 Terraform 状态文件。检测状态数据中的漂移、孤立资源和依赖循环。"
license: "MIT"
description: "使用 terraform CLI 命令和 Terraform Cloud API v2 检查和诊断 Terraform 状态文件。检测状态数据中的漂移、孤立资源和依赖循环。"
github_stars: 48146
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Runbooks & Diagnostics"
framework: "Gemini"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 48146

Terraform 状态检查器

Inspects and diagnoses Terraform state files using terraform CLI commands and the Terraform Cloud API v2. Detects drift, orphaned resources, and dependency cycles in state data.

Installation

Basic usage or getting-started notes:

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 Value75/100

Highlights

  • 面向 DevOps 工程师提供 Terraform 状态诊断能力
  • 解决状态漂移、孤立资源和依赖循环等实际问题
Trigger Precision90/100

Highlights

  • 触发词精准完整,明确描述检查状态文件和检测三类问题
Structure and Standards55/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Major

    文档缺少使用场景说明和端到端示例

    Recommendation: 补充 When to Use 章节说明适用场景,添加完整的端到端使用示例

  • 缺少 Phase/步骤划分 Reported severity: Major

    执行流程缺少清晰的步骤划分和出口条件

    Recommendation: 将检查流程划分为明确的 Phase,每个步骤包含入口和出口条件

Execution Reliability65/100

Areas to improve

  • 缺少 API token 配置说明 Reported severity: Major

    使用 Terraform Cloud API v2 需要 API token,但未说明如何获取和配置

    Recommendation: 补充 Terraform Cloud API token 的获取方式和配置方法

  • 缺少错误处理说明 Reported severity: Major

    未覆盖网络异常、权限不足、状态文件损坏等主要异常场景的处理

    Recommendation: 添加常见错误场景的处理建议和故障排除指南

Evidence Verifiability (mean of the first four)71/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.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

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.

  • developer.hashicorp.com
  • github.com
  • raw.githubusercontent.com

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.

Not specified in the source documentation.

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