skills/panchal-ravi/ai-iac-consumer-template/terraform-consumer-implement

terraform-consumer-implement

SKILL.md

User Input

$ARGUMENTS

GitHub Issue Setup

Before starting the workflow, read the GitHub issue and branch details from specs/{FEATURE}/gh-issue.json using gh issue view command

  1. Validate Issue: Confirm the GitHub issue is valid and contains all required information
  2. Mark as In Progress: Add in-progress label when starting work using gh issue edit <issue-number> --add-label "in-progress"
  3. Update Issue with Progress: Comment on the issue at the start and completion of each Github spec-kit stage with a short summary and link to the generated artifacts:
    • Format: 🤖 **[Stage Name]** - [Started/Completed]: Brief summary
    • Example: 🤖 **speckit.specify** - Started: Creating feature specification from requirements
    • Example: 🤖 **speckit.specify** - Completed: Generated spec.md with 5 core requirements

Environment

All files and folders exist in /workspace/ directory. All speckit scripts are located in /workspace/.specify/scripts/bash directory.

You should not require to change to any other directory.

Execution Workflow

For each task use concurrent subagents to speed up the process. Allocate subtask efficiently, some tasks like writing a file should only be created once, I will breakdown tasks to you.

  1. Read GitHub issue from gh-issue.json file and use gh issue view command to retrieve the issue details. Confirm the gh issue is valid, when you start mark the issue to in-progress using the label in-progress, update the github issue with comments when you start and finish each speckit stage with a short summary
  2. Validate environment and credentials by running .specify/scripts/bash/validate-env.sh
  3. Use 2 concurrent subagents speckit.implement - Generate Terraform code and test in sandbox workspace (init, plan only)
  4. commit and update Git issue and continue to next stage
  5. Deploy to HCP Terraform - Run terraform init/plan/apply via CLI (NOT MCP create_run)
  6. Verify successful apply
  7. commit and update Git issue and continue to next stage
  8. Cleanup - Queue destroy plan only if confirmed
  9. Create a PR linked to this GH issue with all committed changes for review.
Weekly Installs
1
GitHub Stars
2
First Seen
13 days ago
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1