Token导航 LogoToken导航

Agent Skill · 研究检索

terraform-tasks(Terraform tasks 搜索)

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

terraform-tasks 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 36,050。

总安装 1,988周安装 82GitHub Stars 33下载 649核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:terraform-tasks(Terraform tasks 搜索)
来源仓库:https://github.com/josiahsiegel/claude-plugin-marketplace
仓库路径:skills/terraform-tasks
安装命令:
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill terraform-tasks
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill terraform-tasks

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

根据自然语言描述自动生成对应的 Terraform task 脚本。适用于快速原型搭建、学习示例和教学演示。通过 GitHub 安装后,在 Codex、Claude、Cursor、Gemini CLI 中输入需求获取 HCL 代码片段。输出结果需人工复核后再投入生产使用。

terraform-tasks 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/terraform-tasks

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

terraform-tasks 怎么安装?

在终端执行 npx skills add https://github.com/josiahsiegel/claude-plugin-marketplace --skill terraform…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

terraform-tasks 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

terraform-tasks 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

terraform-tasks 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

terraform-tasks 用的人多吗?

公开数据是累计安装 1,988 次,近一周安装 82 次,下载 649 次,GitHub 33 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

terraform-tasks 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
terraform-tasks

Terraform tasks 搜索 · 本页

1,98833接触敏感数据MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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:

  1. Determine provider and version from user context
  2. Research latest provider documentation if needed
  3. 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:

  1. Check current versions
  2. Research changelogs and breaking changes
  3. Propose upgrade path
  4. Generate migration code
  5. 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:

  1. Gather diagnostic information
  2. Analyze error messages and logs
  3. Identify root cause
  4. Provide platform-specific solution
  5. 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:

  1. Run security scanners (tfsec, Checkov)
  2. Analyze findings
  3. Prioritize issues
  4. Generate fixes
  5. 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:

  1. Analyze current structure
  2. Identify anti-patterns
  3. Propose improvements
  4. Generate refactoring plan
  5. 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:

  1. Determine CI/CD platform
  2. Understand environment strategy
  3. Generate pipeline configuration
  4. Include security scanning
  5. Add approval gates
  6. 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:

  1. Design module interface
  2. Implement with best practices
  3. Add variable validation
  4. Generate documentation
  5. Create examples
  6. 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:

  1. Inventory existing resources
  2. Generate import commands
  3. Create matching Terraform code
  4. Validate configurations
  5. Test import process
  6. Plan cutover strategy

Example Tasks:

  • "Import existing Azure resources into Terraform"
  • "Migrate from CloudFormation to Terraform"
  • "Convert ARM templates to Terraform HCL"

Autonomous Behavior

This skill operates autonomously with minimal user intervention:

Information Gathering

  • Automatically detect Terraform and provider versions
  • Identify platform (Windows/Linux/macOS)
  • Detect CI/CD environment
  • Check for existing configurations

Research

  • Use WebSearch to find current documentation
  • Check provider changelogs for breaking changes
  • Research best practices
  • Find platform-specific solutions

Code Generation

  • Generate complete, working code
  • Include all necessary files (main.tf, variables.tf, outputs.tf, etc.)
  • Add comprehensive comments
  • Follow naming conventions
  • Apply security best practices

Validation

  • Run terraform fmt on generated code
  • Validate syntax
  • Check for security issues
  • Test configurations when possible

Documentation

  • Explain architectural decisions
  • Document usage examples
  • Note version compatibility
  • Include troubleshooting tips

Error Handling

When encountering issues:

  1. Gather Context: Collect all relevant information
  2. Research: Look up error messages and solutions
  3. Platform Awareness: Consider OS-specific issues
  4. Multiple Solutions: Provide alternatives when available
  5. Prevention: Suggest how to avoid similar issues

Platform-Specific Considerations

Windows

  • PowerShell syntax for commands
  • Path handling (backslashes)
  • Line ending considerations
  • Execution policy issues
  • Credential management

Linux/macOS

  • Bash syntax for commands
  • File permissions
  • Package managers
  • Environment variables

CI/CD Environments

  • Pipeline-specific syntax
  • Agent capabilities
  • Authentication methods
  • Artifact handling

Quality Standards

All generated Terraform code must:

  • Be properly formatted (terraform fmt)
  • Pass validation (terraform validate)
  • Include security best practices
  • Have comprehensive variable validation
  • Include meaningful descriptions
  • Follow naming conventions
  • Be version-compatible
  • Include usage examples
  • Have proper output definitions

Provider Expertise

Azure (AzureRM)

  • All resource types
  • AzAPI for preview features
  • Service endpoints and private endpoints
  • Managed identities
  • RBAC and policies

AWS

  • All services
  • IAM roles and policies
  • VPC networking
  • S3 backend configuration
  • Cross-account deployments

Google Cloud

  • All GCP services
  • IAM and service accounts
  • VPC and networking
  • GCS backend configuration
  • Organization and folder policies

Community Providers

  • Kubernetes and Helm
  • Datadog, PagerDuty
  • GitHub, GitLab
  • HashiCorp Vault
  • And more...

Examples

Example 1: Generate Azure Storage Account

User Request: "Create an Azure Storage Account with all security best practices"

Skill Actions:

  1. Detect/ask for AzureRM provider version
  2. Research latest security requirements
  3. Generate complete configuration:

- Storage account with secure settings - Private endpoint - Diagnostic settings - Customer-managed encryption keys - Network rules - Variables with validation - Outputs

  1. Include usage examples
  2. Add security scanner ignore comments where appropriate with explanations

Example 2: Debug Plan Failure

User Request: "My terraform plan is failing with authentication error on Windows"

Skill Actions:

  1. Ask for error details
  2. Identify it's Azure CLI authentication
  3. Provide Windows-specific solution:

- PowerShell commands to check authentication - How to refresh credentials - Environment variable configuration - Alternative authentication methods

  1. Explain root cause
  2. Suggest prevention

Example 3: Architecture Review

User Request: "Review my Terraform structure, I have 1000+ resources in one state file"

Skill Actions:

  1. Analyze current structure
  2. Identify issues:

- Large state file - Slow operations - Large blast radius

  1. Propose layered architecture:

- Split into foundation/platform/apps - Separate state files - Remote state data sources

  1. Generate migration plan
  2. Create ADR documenting decision
  3. Provide implementation steps

Integration with terraform-expert Agent

This skill works in tandem with the terraform-expert agent:

  • Agent provides strategic guidance
  • Skill executes tactical tasks
  • Agent validates skill outputs
  • Skill reports back to agent

Use this skill when you need to autonomously execute Terraform tasks with comprehensive provider knowledge and platform awareness.

平台分布

Claude Code

30.25%
按下载量换算196

OpenCode

20.78%
按下载量换算135

Antigravity

17.77%
按下载量换算115

Gemini CLI

12.04%
按下载量换算78

windsurf

7.35%
按下载量换算48

Cursor

3.06%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills