Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.
Install with Tessl CLI
npx tessl i github:hashicorp/agent-skills --skill terraform-stacks95
Does it follow best practices?
Evaluation — 100%
↑ 1.66xAgent success when using this skill
Validation for skill structure
Correct Stack file structure and syntax
Correct component file extension
0%
100%
Correct deployment file extension
100%
100%
Files at root level
100%
100%
Terraform version file
0%
100%
Variable type required
100%
100%
Ephemeral identity token
0%
100%
Provider alias in header
100%
100%
Provider config block
100%
100%
Workload identity auth
100%
100%
Output type argument
50%
100%
Module has no provider blocks
100%
100%
Without context: $0.3733 · 1m 46s · 17 turns · 18 in / 6,426 out tokens
With context: $0.7928 · 2m 52s · 35 turns · 28 in / 9,658 out tokens
Deployment groups and auto-approve rules
No orchestrate blocks
100%
100%
Uses deployment_group
100%
100%
Uses deployment_auto_approve
0%
100%
Auto-approve targets non-prod group
100%
100%
Correct context variables
30%
100%
No-deletion check
80%
100%
Applyable check
62%
100%
orchestrate noted as deprecated
75%
100%
Premium tier noted
100%
100%
Production not auto-approved
100%
100%
Without context: $0.2363 · 1m 8s · 9 turns · 10 in / 4,244 out tokens
With context: $0.5826 · 2m 8s · 22 turns · 4,220 in / 6,400 out tokens
API-based deployment monitoring and output retrieval
No watch commands
100%
100%
Configuration status endpoint
25%
100%
Deployment group summaries endpoint
12%
100%
Deployment runs endpoint
25%
100%
Deployment steps endpoint
0%
100%
Diagnostics query parameter
0%
100%
Artifacts endpoint for outputs
0%
100%
Redirect handling for artifacts
0%
100%
Watch limitation documented
100%
100%
API gotcha documented
66%
100%
Without context: $0.5264 · 2m 55s · 22 turns · 21 in / 10,114 out tokens
With context: $0.6711 · 2m 30s · 21 turns · 134 in / 7,617 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.