Agent skill
terraform-module
Inspect Terraform module specs from cache when seeing module sources.
Install this agent skill to your Project
npx add-skill https://github.com/n4vysh/dotfiles/tree/main/home/dot_config/opencode/skill/terraform-module
SKILL.md
Terraform module
Workflow
- Check if
.terraform/modules/exists:find . -type d -name ".terraform" - Initialize if needed:
terraform init -backend=false - Find module:
find .terraform/modules -type d -name "*<module-name>*" - Read key files:
README.md,variables.tf,versions.tf,outputs.tf - Fallback: Clone to
/tmpif local inspection fails
Note: Support both hyphen and underscore conventions (aws-s3, aws_s3).
Prefer cached modules over cloning. Requires Terraform, Git, and credentials.
Output
- Variable definitions (types, descriptions, defaults)
- Required Terraform/provider versions
- Module outputs and descriptions
- Documentation and usage examples
- Source and version information
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
skill-creator
Create effective skills. Use when creating or updating skills.
swarm
Orchestrate parallel Claude Code worker swarms with protocol-based behavioral governance. Use for complex features, large refactors, or multi-step tasks. Supports behavioral constraints, parallel workers, and persistent state across context compactions.
valibot
Valibot schema validation for backend and frontend forms.
vue
Vue coding style and best practices.
tailwind
Tailwind CSS styling conventions.
websearch
Search Google
Didn't find tool you were looking for?