alibabacloud-writing-plans

Solid

Convert approved infrastructure designs into Terraform HCL code and CLI scripts. Requires alibabacloud:planning to be completed first. WHEN: generate terraform, write HCL, create infrastructure code, convert design to code, write IaC, generate alicloud terraform.

DevOps & Infrastructure 27 stars 13 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Alibaba Cloud Writing Plans > **AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE** > > This skill converts approved designs into executable Terraform HCL code. It does NOT execute anything. > **HCL 代码生成 MUST 通过调用 `alibabacloud-spec-ops:alibabacloud-terraform-codegen` skill 完成,禁止自行内联生成。** --- > **PREREQUISITE CHECK** (internal — do not expose these checks to user) > > Before proceeding, verify: > > - `tasks/status.json` exists with `status: "designed"` > - `designs/design.md` exists with approved design > > If missing, **STOP** and inform the user that design planning needs to complete first. --- ## Triggers Activate when: - Planning phase is complete and user wants to generate code - User explicitly asks for Terraform code generation - Auto-prompted after alibabacloud-spec-ops:alibabacloud-planning completes ## Rules 1. **Read design first** — Load and understand the design.md before writing code 2. **Respect mode** — Check `tasks/status.json` for `"mode"` field: `"fast-track"` or `"full"` (default) 3. **Respect change type** — Check `tasks/status.json` for `"change_type"` field: `"modify"` means update existing .tf files, not create from scratch 4. **Delegate code generation** — MUST invoke `alibabacloud-spec-ops:alibabacloud-terraform-codegen` for HCL generation 5. **Never generate HCL inline** — Do NOT write Terraform code yourself; always delegate to terraform-codegen 6. **Single file output** — ALL Terraform code MUST be in a single `main.tf` file (no splitting) ...

Details

Author
aliyun
Repository
aliyun/alibabacloud-agent-toolkit
Created
3 months ago
Last Updated
5 days ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

alibabacloud-terraform-code-generation

Use when the user wants Terraform HCL for Alibaba Cloud (Alicloud) infrastructure — new project or extending an existing one. Covers VPC, ECS, ApsaraDB RDS, OSS, SLB / ALB, Function Compute v3, ACK, and any other `alicloud_*` resource via the provider documentation and IaCService metadata. IaCService API calls should use the CallCLI-compatible tool exposed by the alibabacloud-core MCP server. For AWS → Alicloud migration, importing existing resources into state, or remote plan/apply execution, use a different skill. Triggers: "write terraform for alicloud", "generate alibaba cloud terraform", "alicloud HCL", "create alibaba cloud vpc/ecs/rds", "生成阿里云 Terraform", "阿里云 HCL", "用 Terraform 部署阿里云", "alicloud provider", "aliyun/alicloud", "terraform-provider-alicloud".

27 Updated 5 days ago
aliyun
DevOps & Infrastructure Solid

alibabacloud-executing-plans

Execute validated Terraform plans via Alibaba Cloud IaC Service. Requires explicit user confirmation before any apply operation. WHEN: execute terraform, apply infrastructure, run terraform apply, deploy infrastructure, create cloud resources, execute plan.

27 Updated 5 days ago
aliyun
DevOps & Infrastructure Featured

alibabacloud-terraform-codegen

Use when the user wants Terraform HCL for Alibaba Cloud (Alicloud) infrastructure ��� new project or extending an existing one. Covers VPC, ECS, ApsaraDB RDS, OSS, SLB / ALB, Function Compute v3, ACK, and any other `alicloud_*` resource via the provider's own documentation fetched at generation time. For AWS → Alicloud migration or importing existing resources into state, use a different skill. Triggers: "write terraform for alicloud", "generate alibaba cloud terraform", "alicloud HCL", "create alibaba cloud vpc/ecs/rds", "生成阿里云 Terraform", "阿里云 HCL", "用 Terraform 部署阿里云", "alicloud provider", "aliyun/alicloud", "terraform-provider-alicloud".

27 Updated 5 days ago
aliyun