skills/infra/terraform-specialist/SKILL.md
Terraform expertise — HCL authoring, module design, state management, provider configuration, and infrastructure-as-code best practices for multi-cloud environments.
npx skillsauth add devjarus/coding-agent terraform-specialistInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
HCL, module design, state management, and multi-cloud provider configuration.
terraform plan output for safetymain.tf, variables.tf, outputs.tf, locals.tf, data.tf, versions.tfprevent_destroy, create_before_destroy, ignore_changesfor_each over count to avoid index-shift destroys.tfstate; commit terraform.lock.hcltfvars for env-specific values; secrets from Vault/SSM{project}-{env}-{resource}; default_tags in AWS provider~> 5.0); regular controlled upgradesterraform fmt -check -> terraform validate -> terraform plantesting
Multi-source research method — decompose a question, fan out parallel investigators, interleaved-think each result, verify claims adversarially, synthesize a cited answer. Use for breadth-heavy research, stack comparisons, "which approach wins" questions.
testing
Decide when to use unit vs integration vs e2e tests, and when to mock vs use the real thing per dependency. Dependency injection is the enabler — without it you end up monkey-patching imports. Apply when writing tests of any kind.
development
Test-driven development process — write failing test, implement to pass, refactor. Use when implementing any feature or fixing bugs.
development
Patterns for sharing types, API contracts, and validation schemas between frontend and backend. Use when multiple domains consume the same data shapes to prevent contract drift.