Infra tfaction bootstrap

From vspo-lab/vspo-portal · View interactive version

Infra tfaction bootstrap is an AI agent skill from the GitHub repository vspo-lab/vspo-portal. Skill for advancing Terraform design and implementation centered on tfaction. Standardizes state splitting, module design, and GitHub Actions integration.

How to use this skill

Skill file

Trigger Conditions

Approach

  1. First, refer to docs/infra/terraform-tfaction-guidelines.md and decide on state splitting and module boundaries
  2. Create env/<environment>/<state-unit>/ and place root modules
  3. Create reusable modules in modules/ with explicit type / description / validation
  4. Update target_groups in infrastructure/terraform/tfaction.yaml
  5. Update paths and tfaction action calls in the plan/apply workflow
  6. Ensure terraform fmt / validate / tflint / trivy pass in CI

Implementation Rules

Reference Documents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.