terraform-tasks
БесплатноБез исполняемых скриптовНе проверенTerraform task patterns — common workflows and pipeline steps. PROACTIVELY activate for: (1) terraform init/plan/apply/destroy workflows, (2) terraform fmt…
Об этом скилле
Terraform Tasks Skill
🚨 CRITICAL GUIDELINES
Windows File Path Requirements
MANDATORY: Always Use Backslashes on Windows for File Paths
When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).
Examples:
- ❌ WRONG:
D:/repos/project/file.tsx - ✅ CORRECT:
D:\repos\project\file.tsx
This applies to:
- Edit tool file_path parameter
- Write tool file_path parameter
- All file operations on Windows systems
Documentation Guidelines
NEVER create new documentation files unless explicitly requested by the user.
- Priority: Update existing README.md files rather than creating new documentation
- Repository cleanliness: Keep repository root clean - only README.md unless user requests otherwise
- Style: Documentation should be concise, direct, and professional - avoid AI-generated tone
- User preference: Only create additional .md files when user specifically asks for documentation
This skill enables autonomous execution of complex Terraform tasks with comprehensive provider knowledge and platform awareness.
Capabilities
1. Infrastructure Code Generation
Generate complete, production-ready Terraform code for any cloud provider:
Process:
- Determine provider and version from user context
- Research latest provider documentation if needed
- Generate complete configurations with:
- Provider version constraints
- Resource configurations
- Variables with validation
- Outputs
- Security best practices
- Platform-specific considerations
Example Tasks:
- "Create Azure Storage Account with private endpoints and customer-managed keys"
- "Generate AWS VPC with 3-tier architecture and NAT gateways"
- "Build GCP GKE cluster with Workload Identity and node pools"
2. Version Management
Handle Terraform and provider version upgrades:
Process:
- Check current versions
- Research changelogs and breaking changes
- Propose upgrade path
- Generate migration code
- Provide testing strategy
Example Tasks:
- "Upgrade from AzureRM provider 2.x to 3.x"
- "Migrate Terraform 0.12 code to 1.x"
- "Update all providers to latest compatible versions"
3. Debugging and Troubleshooting
Diagnose and fix Terraform issues:
Process:
- Gather diagnostic information
- Analyze error messages and logs
- Identify root cause
- Provide platform-specific solution
- Suggest preventive measures
Example Tasks:
- "Debug state lock timeout on Windows"
- "Fix provider authentication failure in Azure DevOps pipeline"
- "Resolve circular dependency in module structure"
4. Security Scanning and Remediation
Scan and fix security issues:
Process:
- Run security scanners (tfsec, Checkov)
- Analyze findings
- Prioritize issues
- Generate fixes
- Explain security implications
Example Tasks:
- "Run tfsec and fix all HIGH severity issues"
- "Ensure all S3 buckets have encryption enabled"
- "Implement Azure storage account with all security best practices"
5. Architecture Review
Review and improve Terraform architecture:
Process:
- Analyze current structure
- Identify anti-patterns
- Propose improvements
- Generate refactoring plan
- Document decisions (ADRs)
Example Tasks:
- "Review state management strategy for 500+ resources"
- "Design multi-region architecture for high availability"
- "Refactor monolithic state into layered approach"
6. CI/CD Pipeline Generation
Create complete CI/CD pipelines:
Process:
- Determine CI/CD platform
- Understand environment strategy
- Generate pipeline configuration
- Include security scanning
- Add approval gates
- Implement drift detection
Example Tasks:
- "Create Azure DevOps pipeline with multi-stage deployment"
- "Generate GitHub Actions workflow with OIDC authentication"
- "Build GitLab CI pipeline with Terraform Cloud backend"
7. Module Development
Create reusable Terraform modules:
Process:
- Design module interface
- Implement with best practices
- Add variable validation
- Generate documentation
- Create examples
- Set up testing
Example Tasks:
- "Create Azure networking module with hub-spoke pattern"
- "Build AWS ECS module with auto-scaling and ALB"
- "Develop GCP Cloud Run module with custom domains"
8. Migration Tasks
Migrate infrastructure to Terraform:
Process:
- Inventory existing resources
- Generate import commands
- Create matching Terraform code
- Validate configurations
- Test import process
- Plan cutover strategy
Example Tasks:
- "Import existing Azure resources into Terraform"
- "Migra
Установить terraform-tasks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл terraform-tasks?
Terraform task patterns — common workflows and pipeline steps. PROACTIVELY activate for: (1) terraform init/plan/apply/destroy workflows, (2) terraform fmt and validate in CI, (3) workspace management (terraform workspace), (4) remote state backends (Azure Storage, S3, Terraform Cloud), (5) state locking and DynamoDB locks, (6) terraform import for existing resources, (7) terraform refresh and drift detection, (8) -target and -replace use cases, (9) version pinning (required_version, required_providers), (10) tfvars file conventions for environments. Provides: workflow templates, backend configuration examples, state-locking setup, import recipes, and CI pipeline patterns.
Как установить скилл terraform-tasks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл terraform-tasks запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub