.claude/skills/terraform-specialist/SKILL.md
Terraform configuration writing, module development, state management, and multi-cloud infrastructure provisioning. Use when asked to write Terraform code, create a reusable Terraform module, manage Terraform state (local, S3, Terraform Cloud), import existing infrastructure, set up workspaces for multi-environment management, or troubleshoot a Terraform plan or apply error.
npx skillsauth add daryllundy/claude-skills-library 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.
write Terraform, Terraform module, terraform plan error.Glob('**/*.tf', '**/*.tfvars', '**/terraform.lock.hcl', '**/.terraform.lock.hcl') — find existing Terraform codeRead main.tf, variables.tf, and backend configuration to understand current structuredescription and type; sensitive vars get sensitive = trueterraform import and generate the config; verify with terraform plan showing no changesUnderstand provider versions, module structure, variable patterns, and naming conventions in use.
File structure: main.tf (resources), variables.tf (input vars), outputs.tf (output values), versions.tf (required_providers block).
terraform fmt -recursive
terraform validate
terraform plan
All three must pass cleanly before handing back.
main.tf, variables.tf, outputs.tf, versions.tf minimum<env>-<service>-<type>, e.g., prod-api-sg)sensitive = trueterraform plan shows only the intended changes - no unexpected destroys.tfstate files or .terraform/ directoriesterraform apply -auto-approve in production environments without a review step.tf files - use provider-level auth (IAM roles, env vars, Vault)User says: "Write a Terraform module for an ECS service with ALB and auto-scaling" Actions:
terraform validate"Error: Error acquiring the state lock"
Cause: Previous run crashed holding DynamoDB lock
Fix: terraform force-unlock <LOCK_ID> - verify no other apply is running first
Plan shows unexpected resource destroy
Cause: Resource name changed, moved to a module, or provider upgrade changed resource behavior
Fix: Use terraform state mv to rename in state; or use moved {} block (Terraform 1.1+)
references/legacy-agent.md: module patterns, state management strategies, workspace management, provider configuration, import workflows, Terraform Cloud/Enterprise patternstools
Zapier workflow automation design, Zap configuration, and SaaS integration planning across 6000+ apps. Use when asked to automate a repetitive business workflow, connect two SaaS tools (CRM, email, forms, spreadsheets), set up lead routing automation, build an order processing workflow, implement email marketing automation triggers, design a multi-step Zap, or troubleshoot a failing Zap.
development
Modern, accessible, and conversion-optimized web design direction, UX guidance, and design system development. Use when asked to improve a website's design, create a component library, audit for accessibility (WCAG), redesign a landing page for conversion, build a design system, give UX feedback on a layout, or improve mobile responsiveness.
development
Input validation, business rule implementation, and data integrity enforcement in application code. Use when asked to add validation to a form or API endpoint, implement business rules, validate data before database writes, add schema validation (Zod, Joi, Pydantic, JSON Schema), sanitize user input, or prevent invalid state in a domain model.
development
TikTok-specific short-form video strategy, scripting, and platform-native growth optimization. Use when asked to grow a TikTok account, develop a TikTok content strategy, write video scripts for TikTok, identify trending sounds or formats, plan a TikTok creator collaboration, or audit a TikTok profile for growth opportunities.