@rulepack/terraform

v0.1.0

Official HashiCorp Terraform style & structure: terraform fmt/validate, snake_case naming, standard files, pinned versions.

Updated 6/4/20266 files | 8.1 KB
$pnpm dlx rulepack add terraform

Drops CLAUDE.md / .cursor/rules/* and friends into your project.

Downloads

0

Stars

0

Views

0

terraform

Terraform configuration style & structure rules, faithful to the official HashiCorp Terraform Style Guide.

npx rulepack add terraform

What it covers

  • CLAUDE.md — Claude Code playbook: formatting, file/module structure, naming, variables & outputs, version pinning, and a "don't" list.
  • AGENTS.md — universal agent spec with the same rules in short form.
  • .cursor/rules/terraform.mdc — Cursor rules scoped to *.tf / *.tfvars.

Highlights: run terraform fmt + validate, two-space indent, aligned =, snake_case names without the resource type, standard files (main.tf/variables.tf/outputs.tf/…), pinned provider & module versions, and keeping state files and secrets out of version control.

Source

License

MIT