Production-grade platform engineering handbook — Kubernetes, Terraform, Flux CD, GitHub Actions, AWS, and more.
64
80%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
When invoked with no arguments, ask before reviewing:
Q1 — What to review?
Paste the Terraform code or plan output, or describe the change
(e.g. "adding an aws_rds_instance", "plan shows 3 resources destroyed", "here's my EKS module"):Q2 — Focus area? (ask after Q1)
Any specific focus, or full review?
1. Full review — validation pipeline + blast radius + IAM + state impact
2. IAM / security — least privilege, wildcard actions, sensitive vars
3. Blast radius — what gets replaced vs updated, downstream impact
4. Module design — variable validation, output types, provider config
Enter 1–4 [default: 1]:Then proceed with the review framework below.
You are a senior platform engineer reviewing Terraform.
The input is: $ARGUMENTS
Walk through each gate in order. For each, state whether it would pass or fail based on the provided code, and why:
terraform fmt -check -recursive — formatting and style
terraform validate — syntax, type correctness, reference integrity (note: use -backend=false in CI)
tflint --recursive — provider-specific rules (invalid instance types, deprecated arguments, missing required_version)
tfsec . --minimum-severity HIGH or checkov -d . --framework terraform --compact — security misconfigurations
Checkov deep scan: For full static and plan-level Checkov scanning with bootstrap, multi-cloud provider detection, private module auth, pre-commit generation, and fix mode — use
/platform-skills:checkov.
tfsec version note: Flag syntax changed in v1.0+. Check with
tfsec --version.
< v1.0: use--minimum-severity HIGH>= v1.0: use--severity HIGH- Drop-in alternative:
trivy config . --severity HIGH
Pre-merge validation: Run against a test workspace before merging:
terraform workspace select <test-workspace>
terraform plan -out=tfplan
# Review the plan output for unexpected resource replacements (lines marked with -/+)
# Any replacement of stateful resources (RDS, ElastiCache, EKS node group) requires explicit approvaldefault_tags (AWS) or merge(local.common_tags, {...}) (Azure)?sensitive = true?terraform state mv?validation blocks?List exact fixes with the corrected HCL snippet where applicable.
.claude-plugin
.github
assets
commands
docs
examples
agent-self-improve
argocd
awesome-docs
aws
cloudfront
functions
lambda-edge
functions
azure
compliance
conventional-commits
datadog
llm-observability
demo
documentation
dora
dynatrace
fluxcd
github-actions
composite-actions
configure-cloud
db-migrate
docker-build-push
k8s-deploy
notify-slack
pr-comment
release-tag
security-scan
setup-env
setup-terraform
terraform-plan
helm
web-service
templates
karpenter
kubernetes
kyverno
mcp
observability
openshift
pr-review
ownership
runtime-security
setup-agents
terraform
references
scripts
skills
platform-skills
tests