docker/skills-cache/tf-architecture-patterns/SKILL.md
Terraform module design patterns, resource composition conventions, and project structure standards. Use when designing module structure, choosing resource composition patterns, or setting up project layout for AWS Terraform modules.
npx skillsauth add agentdevsl/agentpane tf-architecture-patternsInstall 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.
This repository develops well-structured, reusable Terraform modules using raw resources that follow HashiCorp and organizational best practices.
variables.tf, outputs.tf, examples/, tests/terraform-aws-modules/)create_* boolean variables>= version constraints for providers in modules (maximize consumer compatibility)/
├── main.tf # Primary resource definitions
├── variables.tf # Input variables with validation
├── outputs.tf # Output values with descriptions
├── locals.tf # Computed values
├── versions.tf # Terraform and provider version constraints (required_version + required_providers)
├── README.md # Auto-generated via terraform-docs
├── CHANGELOG.md # Version history
├── examples/
│ ├── basic/ # Minimal usage example (with provider config)
│ └── complete/ # Full-featured example
├── tests/ # Terraform test files (.tftest.hcl)
└── .github/
└── workflows/ # CI/CD pipelines
this for single primary resource, descriptive names for multiplesfor_each over count for resource iteration (stable addresses)Security defaults per constitution sections 1.2 and 4.x. Key: zero trust, encryption by default, least privilege, sensitive = true on secrets.
development
AWS security assessment domains, risk rating framework, CIS/NIST reference baselines, and evidence-based finding format. Use when reviewing AWS security posture, assessing risk, or applying CIS/NIST baselines to Terraform configurations.
testing
--- name: "tf-runtask" description: "Retrieve and display Terraform Cloud/Enterprise run task results for a given run. Use this skill whenever the user asks about run task results, run task checks, task stage statuses, or wants to inspect what run tasks reported for a Terraform Cloud/Enterprise run. Triggers on phrases like "check the run tasks", "what did the run tasks say", "show run task results", "get task results for run-xxx", or any reference to run task outcomes on a specific run." source
devops
Research strategies for AWS documentation, provider docs, and public registry patterns. Use when researching AWS services, investigating provider resources, or studying public registry modules for design patterns.
development
Validation results summary template for Phase 4 output. Provides the format for reporting terraform test, validate, fmt, tflint, pre-commit, trivy, and security checklist results.