alibabacloud-validate

Solid

Validate generated Terraform code against design requirements and quality standards. Dispatches spec compliance review and code quality review as parallel subagents. Remote syntax validation is owned by alibabacloud-terraform-codegen Step 6 and is NOT re-run here. WHEN: validate terraform, check code quality, review infrastructure code, run preflight checks, validate before deploy.

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 Validate > **AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE** > > This skill performs dual review: requirement compliance AND code quality. > **Both reviews MUST be dispatched as independent subagents running in parallel.** > > Remote Terraform syntax validation (`aliyun iacservice validate-module`) > is owned by [`alibabacloud-terraform-codegen`](../alibabacloud-terraform-codegen/SKILL.md) > Step 6 — by the time control reaches this skill, syntax has already > passed remotely. Do NOT re-invoke `iacservice validate-module` here. --- > **PREREQUISITE CHECK** (internal — do not expose these checks to user) > > Before proceeding, verify: > > - `tasks/status.json` exists with `status: "plans-written"` > - `designs/terraform/` contains generated .tf files > > If missing, **STOP** and inform the user that code generation needs to complete first. --- ## Triggers Activate when: - Writing-plans phase is complete - User explicitly asks to validate Terraform code - User asks for code review of infrastructure code ## Rules 1. **Mode-aware validation** — Check `tasks/status.json` for `"mode"` field to determine validation depth 2. **Independent subagents** — In Full Mode, Stage 1 and Stage 2 MUST use the `Agent` tool in parallel 3. **Fix before passing** — Do not set status to "validated" with unresolved issues 4. **Record proof** — Write validation results to tasks/validation-report.md 5. **No execution** — This skill validates only, never runs terraform apply --...

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

Code & Development Listed

terraform-validation

Validate Terraform syntax, linting, and security with terraform fmt/validate, tflint, and trivy. Use when committing Terraform changes, running CI validation, or checking IaC security issues.

1 Updated today
y-miyazaki
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 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