PLUGIN PROCESS

Terraform Workflows

Terraform/Terragrunt workflow tools: atomic-commit quality gates (fmt, validate, tflint, terraform-docs) and PR workflow checks for infrastructure repos.

Overview

Terraform/Terragrunt workflow tools: atomic-commit quality gates (fmt, validate, tflint, terraform-docs) and PR workflow checks for infrastructure repos.

Bundles 2 skills with 3 Claude Code wrappers. Codex users install the same skill directories directly from GitHub.

Skills

Each skill is a SKILL.md file with YAML frontmatter and Markdown instructions.

terraform-atomic-commit

Terraform-focused pre-commit + atomic-commit Skill for IaC repos (fmt/validate/tflint/terraform-docs) with strict atomicity and no AI commit signatures.

plugins/terraform/skills/terraform-atomic-commit
Skill docs →
terraform-pr-workflow

PR workflow Skill for Terraform/Terragrunt repos: branch naming, PR hygiene, read-only CI gates, and versioning expectations for interface changes.

plugins/terraform/skills/terraform-pr-workflow
Skill docs →

Slash Commands

Claude Code wrapper files live under plugins/terraform/commands/ and surface as namespaced commands. Codex invokes the underlying skill by name (for example, name: terraform-atomic-commit).

/terraform:pre-commit/terraform:atomic-commit/terraform:check-pr

Installation

Install the plugin for Claude Code, or install one or more skill paths for Codex.

Claude Code

bash
claude plugin marketplace add DiversioTeam/agent-skills-marketplace
claude plugin install terraform@diversiotech

Codex

bash
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
python3 "$CODEX_HOME/skills/.system/skill-installer/scripts/install-skill-from-github.py" \
  --repo DiversioTeam/agent-skills-marketplace \
  --path plugins/terraform/skills/terraform-atomic-commit \
  --path plugins/terraform/skills/terraform-pr-workflow

Claude Code: invoke as /terraform:pre-commit. Codex: invoke as name: terraform-atomic-commit.