AGENT SKILL

terraform

Provides comprehensive guidance for Terraform including infrastructure as code, providers, modules, and state management. Use when the user asks about Terraform, needs to create infrastructure as code, manage cloud resources with Terraform, or implement IaC best practices.

License 许可
Apache-2.0
所属仓库
aeroalgo/dev-hub
最近更新
2026-10-30
Stars
★ 0
Forks
0

01 前言 Front Matter

name
terraform
license
Apache-2.0
description
Provides comprehensive guidance for Terraform including infrastructure as code, providers, modules, and state management. Use when the user asks about Terraform, needs to create infrastructure as code, manage cloud resources with Terraform, or implement IaC best practices.

02 资源文件 2

03 SKILL.md 正文

When to use this skill

Use this skill whenever the user wants to:

  • 编写或调试 Terraform 配置文件(.tf)
  • 管理云基础设施(AWS、Azure、GCP、阿里云等)
  • 配置 Terraform providers、resources、data sources
  • 管理 Terraform state、modules、workspaces

How to use this skill

  1. 配置文件:HCL 语法定义 provider、resource、variable、output、module。
  2. 工作流:terraform init → terraform plan → terraform apply → terraform destroy。
  3. State 管理:本地或远程( S3 + DynamoDB、Azure Blob、阿里云 OSS 等)。
  4. Modules:复用基础设施模板,版本化管理。

Best Practices

  • 使用 remote state 替代本地 state,避免状态文件冲突。 -敏感信息用 variable 或 environment variable,不在 .tf 文件中硬编码。
  • 使用 terraform fmt 格式化代码,terraform validate 检查语法。
  • 生产环境使用 workspace 或 environment 隔离。

Keywords

terraform, iac, infrastructure as code, hcl, aws, azure, gcp, aliyun, 基础设施即代码, 云资源管理

04 同仓库更多 Skills

aeroalgo
aeroalgo/dev-hub

your-skill-name

Replace with a clear description of what this skill does. Use when <the situations that should trigger it>.

★ 0
aeroalgo
aeroalgo/dev-hub

websocket-engineer

Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.

★ 0
aeroalgo
aeroalgo/dev-hub

web-security-review

Review web applications against the OWASP Top 10 for Web Applications (2021). Use when auditing web apps, reviewing server-side code, or assessing web frameworks for the classic OWASP Top 10 risks including injection, broken auth, and XSS.

★ 0
aeroalgo
aeroalgo/dev-hub

vercel-react-view-transitions

Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.

★ 0
aeroalgo
aeroalgo/dev-hub

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

★ 0
aeroalgo
aeroalgo/dev-hub

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

★ 0