/agentic-awesome-skills:terraform-provider-lock-platform-auditfrom agentic-awesome-skills
Audits Terraform .terraform.lock.hcl files for multi-platform CI matrix coverage using offline terraform providers lock with synthetic filesystem mirrors. Verifies pinned provider versions, h1: hash integrity, and missing platform packages.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Audit Terraform .terraform.lock.hcl dependency lock files and CI platform matrices (linux_amd64, windows_amd64, darwin_arm64) offline using the real terraform providers lock -fs-mirror=... command in isolated temporary directories (Terraform v1.17.2) against local/synthetic filesystem provider mirrors. Verifies required provider source addresses and pinned versions, mirror package availability across every target platform, lockfile h1: hash integrity against mirror packages, missing platform failures, and altered package checksum mismatches — while never running terraform apply, executing provider binaries, or accessing remote state.
Distinction from existing IaC skills:
terraform-skill: teaches module design (count vs. for_each), variables, and testing frameworks while mentioning terraform init # Creates .terraform.lock.hcl once with no multi-platform -platform mirror audit or checksum tampering tests.opentofu-migration: guides migrating configurations from Terraform to OpenTofu (tofu init/plan) rather than auditing multi-platform lockfile checksum completeness against filesystem mirrors..terraform.lock.hcl includes package coverage for every OS/architecture in a team's CI matrix (linux_amd64, darwin_arm64, windows_amd64) using an approved local provider mirror.h1: checksum diverges from the locked hashes..terraform.lock.hcl hashes = [...] arrays do not map individual h1: hashes to specific platforms or prove upstream publisher signatures.terraform apply, terraform plan against live cloud state, execute untrusted provider plugins, parse untrusted Terraform modules, or overwrite production .terraform.lock.hcl files.required_providers declarations (reject module blocks and remote sources).terraform CLI (terraform version, tested on v1.17.2) on PATH or pointed to by TERRAFORM_BIN.3.10+ with lark (lark==1.3.1) and pytest (tested with Python 3.12.10, lark==1.3.1, and pytest==9.1.1)..terraform.lock.hcl using a structured lark HCL lockfile grammar (handling #, //, and /* ... */ comments cleanly and rejecting malformed/trailing HCL tokens as INVALID_INPUT) combined with Terraform-native lockfile validation.platforms, required_providers source addresses/versions, and synthetic configuration scope (rejecting module blocks). Every required provider must exist in .terraform.lock.hcl with matching version and non-empty hashes (MISSING_LOCK_PROVIDER / VERSION_MISMATCH / EMPTY_LOCK_HASHES)..terraform.lock.hcl stores an unlabeled hashes = ["h1:...", ...] list; reading .terraform.lock.hcl alone cannot determine which h1: belongs to linux_amd64 vs. darwin_arm64 — real multi-platform -platform=... verification against mirror packages is mandatory.terraform providers lock -fs-mirror=... in isolated temp workspacesRun the local verification suite in Terraform lockfile platform audit harness:
versions.tf and candidate .terraform.lock.hcl into isolated temporary directories (stripped TF_* environment, local.tfrc disabling checkpoint calls), execute terraform providers lock -no-color -fs-mirror=<mirror> -platform=<p1> ... (30s timeout), verify the generated provider set matches required_providers (GENERATED_PROVIDER_MISMATCH), require non-empty generated hashes, and compare the generated h1: hash set against the candidate lockfile.darwin_arm64) from the filesystem mirror and confirm terraform providers lock exits non-zero (MISSING_PLATFORM_PACKAGE)..zip after baseline lock generation and verify terraform providers lock yields a new h1: hash set diverging from the baseline lockfile (CHECKSUM_MISMATCH).(unauthenticated) mirror retrievals explicitly: local -fs-mirror checksum verification proves byte consistency between mirror archives and .terraform.lock.hcl (package_integrity), never upstream GPG signature trust or publisher provenance (upstream_trust_unverified).Run the self-contained verification suite in Terraform lockfile platform audit harness:
User request: "Verify our .terraform.lock.hcl matches our mirror packages across linux_amd64, darwin_arm64, and windows_amd64."
Inputs: versions.tf, .terraform.lock.hcl, CI platform list, and local -fs-mirror directory run under Terraform v1.17.2.
Expected result: Clean 3-platform lockfile matches recomputed h1: hashes with PASS + unauthenticated-mirror caveat;
missing platform package fails terraform providers lock; altered mirror zip triggers CHECKSUM_MISMATCH;
missing lock provider/malformed HCL returns FAIL/INVALID_INPUT.
-fs-mirror lock operations compute h1: hashes only (Terraform's zip-unpacked directory hash) and explicitly report (unauthenticated) packages — they do not verify upstream registry GPG signatures (zh: origin registry verification) or remote module sources.terraform providers lock offline requires every target platform archive to exist in the configured -fs-mirror directory.tofu (OpenTofu) behavioral differences.terraform providers lock solely inside disposable tempfile.TemporaryDirectory copies with synthetic dummy binary payloads (never runs init -plugin-dir execution, plan, or apply).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sickn33/agentic-awesome-skills --plugin agentic-awesome-skills2 plugins in one repository ship this exact skill · first indexed Dec 2, 2026
3,104 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.Other plugins' skills for the same job