[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72T4HAJ13P0TX3TFD3CGRTR":3,"skill-same:01M72T4HAJ13P0TX3TFD3CGRTR":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M72T4HAJ13P0TX3TFD3CGRTR","ywc-infra-review",null,"(ywc) Use when reviewing IaC \u002F cloud configuration for misconfiguration, least-privilege, cost, and reliability before applying — security groups, IAM, public exposure, secrets in state, cost right-sizing, and SPOF\u002Fbackup gaps across AWS\u002FGCP\u002FAzure\u002FK8s Terraform. Fans out to security\u002Fcost\u002Freliability lenses with severity-rated findings. Triggers: \"인프라 리뷰\", \"terraform 검토\", \"iam 과권한\", \"보안 그룹 점검\", \"infra review\", \"review my terraform\", \"インフラレビュー\", \"ywc-infra-review\". Do not use for designing new infrastructure (use ywc-infra-design), app-code auth\u002Finjection review (use ywc-security-audit), writing IaC (use ywc-iac-author), executing cost\u002Fdrift remediation (use ywc-infra-optimize), or general application code review (use ywc-impl-review).","yongwoon\u002Fywc-agent-toolkit","yongwoon","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9317029?v=4","01M72SZSF6VKANKG5QTMV4V95S","01M72SZSG8HHC3W2CV5P7EJ5AH",8,"MIT","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fywc-infra-review\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: ywc-infra-review\ndescription: >-\n  (ywc) Use when reviewing IaC \u002F cloud configuration for misconfiguration,\n  least-privilege, cost, and reliability before applying — security groups,\n  IAM, public exposure, secrets in state, cost right-sizing, and\n  SPOF\u002Fbackup gaps across AWS\u002FGCP\u002FAzure\u002FK8s Terraform. Fans out to\n  security\u002Fcost\u002Freliability lenses with severity-rated findings. Triggers:\n  \"인프라 리뷰\", \"terraform 검토\", \"iam 과권한\", \"보안 그룹 점검\", \"infra review\",\n  \"review my terraform\", \"インフラレビュー\", \"ywc-infra-review\". Do not use for designing new infrastructure (use ywc-infra-design), app-code\n  auth\u002Finjection review (use ywc-security-audit), writing IaC (use\n  ywc-iac-author), executing cost\u002Fdrift remediation (use\n  ywc-infra-optimize), or general application code review (use\n  ywc-impl-review).\ncategory: review\nphase: quality\nrequires: []\nadvisor_budget: 3\n---\n\n# ywc-infra-review\n\n**Announce at start:** \"I'm using the ywc-infra-review skill to review this IaC \u002F cloud configuration across the security, cost, and reliability lenses before it is applied.\"\n\nThis skill is the standalone review-phase counterpart to `ywc-iac-author`: it fans an already-authored Terraform change out to three independent lenses — security (misconfiguration, least-privilege), cost (right-sizing, waste), and reliability (SPOF, backups, health) — then aggregates every finding into one severity-rated report. **This skill never writes or modifies IaC.** Terraform is the single fixed IaC tool for this toolkit; provider coverage is AWS\u002FGCP\u002FAzure\u002FK8s expressed through the Terraform providers, the same scope `ywc-iac-author` authors against.\n\n## Rationalization Defense\n\nWhen tempted to bypass a rule, check this table first:\n\n| Excuse | Reality |\n|---|---|\n| \"We're short on time, I'll skip the cost lens and just run security + reliability\" | All three lenses run every pass — a CRITICAL security finding does not excuse missing a HIGH-severity idle-resource waste or an over-provisioned instance. Each lens covers a non-overlapping taxonomy; skipping one blinds the review to that entire dimension. |\n| \"This is really an application-security question, I'll route it to ywc-security-audit instead\" | `ywc-security-audit` reviews app-code auth\u002Finjection (OWASP Top 10 on source). This skill's security lens reviews IaC misconfiguration (security groups, IAM policies, public exposure, secrets in state) — a different taxonomy entirely, defined in `references\u002Fiac-security.md`. |\n| \"I found a CRITICAL finding, I'll just fix the `.tf` file inline instead of routing to infra-optimize\" | This skill is diagnosis-only — it has no write access to IaC. Auto-fixing here bypasses the `terraform validate`\u002F`plan` discipline that `ywc-cloud-engineer` and `ywc-infra-optimize` own. Report the finding; route remediation downstream. |\n| \"The plan output was clean, I'll recommend apply even though a lens flagged CRITICAL\" | A clean `terraform plan` only proves syntactic validity, not policy safety. Every CRITICAL\u002FHIGH finding recommends **blocking** apply regardless of plan success — the two signals answer different questions. |\n| \"One lens already looks thorough, the other two are probably fine too\" | A security-clean, cost-wasteful, single-AZ deployment passes the security lens and fails the other two. Each lens must be dispatched and its findings recorded independently — a strong result in one lens is not evidence for the others. |\n| \"This is a one-line security-group diff, full review is overkill\" | A one-line CIDR change can open `0.0.0.0\u002F0` ingress to a database port. Blast radius does not correlate with diff size — every reviewable change gets the same 3-lens pass. |\n\n**Violating the letter of these rules is violating the spirit.** A review pass that skips a lens, auto-fixes inline, or waves through a CRITICAL finding turns a pre-apply safety net into a rubber stamp.\n\n## Arguments\n\n| Parameter | Format | Example | Description |\n|-----------|--------|---------|-------------|\n| `--scope` | `--scope \u003Cpath>` | `--scope infra\u002Fmodules\u002Fnetwork` | Restrict the review fan-out to a single Terraform module or path instead of the whole IaC tree. |\n| `--skip-optimize-recommendation` | flag | `--skip-optimize-recommendation` | Skip the closing `ywc-infra-optimize` recommendation. Only valid when the upstream caller already schedules remediation itself. |\n\n## Workflow\n\n### Step 1: Determine review scope\n\nIdentify the Terraform files\u002Fmodules under review: a staged or committed diff, the `terraform plan` output if the caller already has one, or the full IaC tree when `--scope` is omitted. Record the scope so all three lens dispatches review the identical surface — a lens reviewing a narrower scope than another produces findings that cannot be cross-checked.\n\n**`--scope` apply-history check** (once, before any lens dispatch): when `--scope` is given, ask the user once for one piece of evidence that the code was previously applied — a state backend configuration with existing state, a record of an apply run (CI job or workspace), or an applied commit SHA. The skill cannot verify it; it is the user's attestation. If the user gives none (that alone is sufficient), or says the code was never applied and no plan\u002Fdiff was supplied, treat the target as brand-new source: do not dispatch, and surface `BLOCKED`. Record the evidence given in the report header (`Scope evidence:`).\n\n> **Fan-out return contract**: this skill dispatches three subagents. Each lens dispatch (Steps 2–4) MUST inject the §3.5 return-payload directive from [`..\u002Freferences\u002Fsubagent-status-actions.md`](..\u002Freferences\u002Fsubagent-status-actions.md) — every lens returns `Status | 1-line summary | Concerns (≤10 lines)`, plus `artifact path` only from the Write-capable reliability lens (`ywc-cloud-engineer`). The Write-less security (`ywc-security-engineer`) and cost (`ywc-performance-engineer`) lenses have no file to point to — per the §3.5 exception, their full findings return inline instead, never as a promised artifact path. Three verbose lens dumps would otherwise saturate this skill's context before aggregation (Step 5).\n\n> **Action required**: Read [..\u002Freferences\u002Fsubagent-async-monitoring.md](..\u002Freferences\u002Fsubagent-async-monitoring.md) now — when the three lens subagents are dispatched in the same turn they are one batch under that contract (distinct `name` per lens — e.g. `lens-security` \u002F `lens-cost` \u002F `lens-reliability` — full-roster reconciliation on every signal, turn-boundary waiting, bounded escalation). **Release (mechanical gate — do not skip)**: named dispatches stay `idle` after finishing instead of exiting. For lenses dispatched as a batch, after all three lens returns are consumed in Step 5, call `TaskStop` once per lens subagent with its `name` as `task_id` (current batch only; skip any still `running`); lenses dispatched sequentially in separate turns are not a batch. See the \"Releasing Completed Named Agents\" section of the reference.\n\n### Step 2: Security lens\n\nDispatch `Task(subagent_type: ywc-security-engineer)` carrying the scoped Terraform files and an explicit pointer to [`..\u002Freferences\u002Flenses\u002Fsecurity.md`](..\u002Freferences\u002Flenses\u002Fsecurity.md) and [`..\u002Freferences\u002Fiac-security.md`](..\u002Freferences\u002Fiac-security.md). This lens covers: security groups \u002F firewall rules, IAM \u002F RBAC over-permission, public exposure (buckets, endpoints, load balancers), and secrets committed to code or state.\n\n### Step 3: Cost lens\n\nDispatch `Task(subagent_type: ywc-performance-engineer)` carrying the scoped Terraform files and an explicit pointer to [`..\u002Freferences\u002Flenses\u002Fcost.md`](..\u002Freferences\u002Flenses\u002Fcost.md) and [`..\u002Freferences\u002Ffinops.md`](..\u002Freferences\u002Ffinops.md). This lens covers: compute right-sizing against observed\u002Fexpected utilization, idle or orphaned resources, and pricing model fit (on-demand vs reserved vs spot).\n\n### Step 4: Reliability lens\n\nDispatch `Task(subagent_type: ywc-cloud-engineer)` in **review mode** — carry the scoped Terraform files and an explicit instruction that this dispatch is read-only diagnosis: it authors nothing, runs no `terraform apply`, and confines itself to the reliability lens at [`..\u002Freferences\u002Flenses\u002Freliability.md`](..\u002Freferences\u002Flenses\u002Freliability.md). This lens covers: single points of failure, missing backups \u002F point-in-time recovery, missing resource limits or autoscaling floors, and missing health\u002Freadiness checks.\n\n### Step 5: Aggregate severity-rated findings\n\nCollect all three lenses' findings into one report. Deduplicate a finding that two lenses independently flag on the same resource (e.g., a public DB is both a security and a reliability concern — report once, tag both lenses). Rate every finding Critical \u002F High \u002F Medium \u002F Low using each lens reference's severity guidance. Any **CRITICAL or HIGH** finding recommends **blocking** the apply until remediated.\n\n### Step 6: Recommend `ywc-infra-optimize` for remediation\n\nUnless `--skip-optimize-recommendation` was passed, close the review by recommending the user run `ywc-infra-optimize` to execute cost\u002Fdrift remediation, or route reliability\u002Fsecurity fixes back through `ywc-iac-author`. This skill diagnoses; it does not remediate.\n\n## Output Format\n\n```text\nInfra Review Report\n─────────────────────────────────────────────────\nScope:        infra\u002Fmodules\u002Fnetwork  (or \"full IaC tree\")\nScope evidence: \u003Cstate backend \u002F apply run \u002F applied commit — only when --scope was used>\nLenses run:   Security | Cost | Reliability  (all three, every pass)\n\nFindings (severity-rated):\nCRITICAL\n  - [Security] aws_security_group.db ingress 0.0.0.0\u002F0:5432 — scope CIDR to app subnet\nHIGH\n  - [Reliability] aws_db_instance.primary — no multi-AZ, no automated backups — enable multi-AZ + 7-day backup retention\nMEDIUM\n  - [Cost] aws_instance.worker — m5.4xlarge at 8% avg CPU over 30d — right-size to m5.large\n\nApply recommendation: BLOCK (1 CRITICAL, 1 HIGH found)\n─────────────────────────────────────────────────\nRecommended next step: ywc-infra-optimize (cost\u002Fdrift remediation), or ywc-iac-author (security\u002Freliability fixes)\n```\n\n## Validation Checklist\n\nBefore declaring the review pass complete, verify:\n\n- [ ] All three lenses (security, cost, reliability) were dispatched against the identical scope — none skipped\n- [ ] Every finding is severity-rated (Critical \u002F High \u002F Medium \u002F Low), not left unrated\n- [ ] Every CRITICAL\u002FHIGH finding includes a concrete remediation and the report states an explicit BLOCK recommendation\n- [ ] A finding flagged by more than one lens on the same resource is reported once, with both lens tags\n- [ ] The reliability lens dispatch to `ywc-cloud-engineer` was explicitly instructed as review-only (no authoring, no `apply`)\n- [ ] `ywc-infra-optimize` was recommended for remediation, unless `--skip-optimize-recommendation` was passed by an upstream caller\n\n## Common Mistakes\n\n- **Skipping a lens because the other two already found enough.** Each lens's taxonomy is non-overlapping — a clean security lens says nothing about cost waste or SPOF risk.\n- **Auto-fixing a CRITICAL finding inline.** This skill has no write access by design; remediation routes to `ywc-infra-optimize` (cost\u002Fdrift) or `ywc-iac-author` (re-authoring), never inline.\n- **Treating a clean `terraform plan` as sufficient.** `plan` validates syntax and diff shape, not policy — the lens findings are the actual safety gate.\n- **Confusing this skill with `ywc-security-audit`.** That skill reviews application-code auth\u002Finjection; this skill's security lens reviews IaC misconfiguration — different taxonomy, different agent dispatch.\n\n## Integration\n\n- **Upstream**: `ywc-iac-author` (produces the Terraform this skill reviews); direct user invocation against any existing Terraform tree.\n- **Downstream**: `ywc-infra-optimize` (executes cost\u002Fdrift remediation); `ywc-iac-author` (re-authoring for security\u002Freliability fixes).\n- **Consults**: `ywc-security-engineer` (security lens), `ywc-performance-engineer` (cost lens), `ywc-cloud-engineer` in review mode (reliability lens).\n- **Must not be paired with**: writing or modifying `.tf` files in the same pass — that boundary belongs to `ywc-iac-author` and `ywc-infra-optimize`.\n\n## References\n\n| Reference | Use when |\n|---|---|\n| [`..\u002Freferences\u002Flenses\u002Fsecurity.md`](..\u002Freferences\u002Flenses\u002Fsecurity.md) | Step 2 — security lens dispatch, IaC misconfiguration taxonomy |\n| [`..\u002Freferences\u002Fiac-security.md`](..\u002Freferences\u002Fiac-security.md) | Step 2 — the detailed IaC misconfiguration taxonomy `ywc-security-engineer` reviews against |\n| [`..\u002Freferences\u002Flenses\u002Fcost.md`](..\u002Freferences\u002Flenses\u002Fcost.md) | Step 3 — cost lens dispatch, right-sizing and waste taxonomy |\n| [`..\u002Freferences\u002Ffinops.md`](..\u002Freferences\u002Ffinops.md) | Step 3 — the detailed FinOps taxonomy (reserved\u002Fspot, data-transfer cost) `ywc-performance-engineer` reviews against |\n| [`..\u002Freferences\u002Flenses\u002Freliability.md`](..\u002Freferences\u002Flenses\u002Freliability.md) | Step 4 — reliability lens dispatch, SPOF\u002Fbackup\u002Fhealth taxonomy |\n| [`..\u002Freferences\u002Fproviders\u002Faws.md`](..\u002Freferences\u002Fproviders\u002Faws.md) | Scoped IaC targets AWS — provider-specific misconfiguration\u002Fcost\u002Freliability signals |\n| [`..\u002Freferences\u002Fproviders\u002Fgcp.md`](..\u002Freferences\u002Fproviders\u002Fgcp.md) | Scoped IaC targets GCP — provider-specific misconfiguration\u002Fcost\u002Freliability signals |\n| [`..\u002Freferences\u002Fproviders\u002Fazure.md`](..\u002Freferences\u002Fproviders\u002Fazure.md) | Scoped IaC targets Azure — provider-specific misconfiguration\u002Fcost\u002Freliability signals |\n| [`..\u002Freferences\u002Fproviders\u002Fk8s.md`](..\u002Freferences\u002Fproviders\u002Fk8s.md) | Scoped IaC includes Kubernetes\u002FHelm (via Terraform providers) |\n| [`..\u002Freferences\u002Fsubagent-status-actions.md`](..\u002Freferences\u002Fsubagent-status-actions.md) | Steps 2–4 — the §3.5 return-payload contract each lens dispatch must inject so three fan-out returns stay bounded |\n","# ywc-infra-review\n\n**Announce at start:** \"I'm using the ywc-infra-review skill to review this IaC \u002F cloud configuration across the security, cost, and reliability lenses before it is applied.\"\n\nThis skill is the standalone review-phase counterpart to `ywc-iac-author`: it fans an already-authored Terraform change out to three independent lenses — security (misconfiguration, least-privilege), cost (right-sizing, waste), and reliability (SPOF, backups, health) — then aggregates every finding into one severity-rated report. **This skill never writes or modifies IaC.** Terraform is the single fixed IaC tool for this toolkit; provider coverage is AWS\u002FGCP\u002FAzure\u002FK8s expressed through the Terraform providers, the same scope `ywc-iac-author` authors against.\n\n## Rationalization Defense\n\nWhen tempted to bypass a rule, check this table first:\n\n| Excuse | Reality |\n|---|---|\n| \"We're short on time, I'll skip the cost lens and just run security + reliability\" | All three lenses run every pass — a CRITICAL security finding does not excuse missing a HIGH-severity idle-resource waste or an over-provisioned instance. Each lens covers a non-overlapping taxonomy; skipping one blinds the review to that entire dimension. |\n| \"This is really an application-security question, I'll route it to ywc-security-audit instead\" | `ywc-security-audit` reviews app-code auth\u002Finjection (OWASP Top 10 on source). This skill's security lens reviews IaC misconfiguration (security groups, IAM policies, public exposure, secrets in state) — a different taxonomy entirely, defined in `references\u002Fiac-security.md`. |\n| \"I found a CRITICAL finding, I'll just fix the `.tf` file inline instead of routing to infra-optimize\" | This skill is diagnosis-only — it has no write access to IaC. Auto-fixing here bypasses the `terraform validate`\u002F`plan` discipline that `ywc-cloud-engineer` and `ywc-infra-optimize` own. Report the finding; route remediation downstream. |\n| \"The plan output was clean, I'll recommend apply even though a lens flagged CRITICAL\" | A clean `terraform plan` only proves syntactic validity, not policy safety. Every CRITICAL\u002FHIGH finding recommends **blocking** apply regardless of plan success — the two signals answer different questions. |\n| \"One lens already looks thorough, the other two are probably fine too\" | A security-clean, cost-wasteful, single-AZ deployment passes the security lens and fails the other two. Each lens must be dispatched and its findings recorded independently — a strong result in one lens is not evidence for the others. |\n| \"This is a one-line security-group diff, full review is overkill\" | A one-line CIDR change can open `0.0.0.0\u002F0` ingress to a database port. Blast radius does not correlate with diff size — every reviewable change gets the same 3-lens pass. |\n\n**Violating the letter of these rules is violating the spirit.** A review pass that skips a lens, auto-fixes inline, or waves through a CRITICAL finding turns a pre-apply safety net into a rubber stamp.\n\n## Arguments\n\n| Parameter | Format | Example | Description |\n|-----------|--------|---------|-------------|\n| `--scope` | `--scope \u003Cpath>` | `--scope infra\u002Fmodules\u002Fnetwork` | Restrict the review fan-out to a single Terraform module or path instead of the whole IaC tree. |\n| `--skip-optimize-recommendation` | flag | `--skip-optimize-recommendation` | Skip the closing `ywc-infra-optimize` recommendation. Only valid when the upstream caller already schedules remediation itself. |\n\n## Workflow\n\n### Step 1: Determine review scope\n\nIdentify the Terraform files\u002Fmodules under review: a staged or committed diff, the `terraform plan` output if the caller already has one, or the full IaC tree when `--scope` is omitted. Record the scope so all three lens dispatches review the identical surface — a lens reviewing a narrower scope than another produces findings that cannot be cross-checked.\n\n**`--scope` apply-history check** (once, before any lens dispatch): when `--scope` is given, ask the user once for one piece of evidence that the code was previously applied — a state backend configuration with existing state, a record of an apply run (CI job or workspace), or an applied commit SHA. The skill cannot verify it; it is the user's attestation. If the user gives none (that alone is sufficient), or says the code was never applied and no plan\u002Fdiff was supplied, treat the target as brand-new source: do not dispatch, and surface `BLOCKED`. Record the evidence given in the report header (`Scope evidence:`).\n\n> **Fan-out return contract**: this skill dispatches three subagents. Each lens dispatch (Steps 2–4) MUST inject the §3.5 return-payload directive from [`..\u002Freferences\u002Fsubagent-status-actions.md`](..\u002Freferences\u002Fsubagent-status-actions.md) — every lens returns `Status | 1-line summary | Concerns (≤10 lines)`, plus `artifact path` only from the Write-capable reliability lens (`ywc-cloud-engineer`). The Write-less security (`ywc-security-engineer`) and cost (`ywc-performance-engineer`) lenses have no file to point to — per the §3.5 exception, their full findings return inline instead, never as a promised artifact path. Three verbose lens dumps would otherwise saturate this skill's context before aggregation (Step 5).\n\n> **Action required**: Read [..\u002Freferences\u002Fsubagent-async-monitoring.md](..\u002Freferences\u002Fsubagent-async-monitoring.md) now — when the three lens subagents are dispatched in the same turn they are one batch under that contract (distinct `name` per lens — e.g. `lens-security` \u002F `lens-cost` \u002F `lens-reliability` — full-roster reconciliation on every signal, turn-boundary waiting, bounded escalation). **Release (mechanical gate — do not skip)**: named dispatches stay `idle` after finishing instead of exiting. For lenses dispatched as a batch, after all three lens returns are consumed in Step 5, call `TaskStop` once per lens subagent with its `name` as `task_id` (current batch only; skip any still `running`); lenses dispatched sequentially in separate turns are not a batch. See the \"Releasing Completed Named Agents\" section of the reference.\n\n### Step 2: Security lens\n\nDispatch `Task(subagent_type: ywc-security-engineer)` carrying the scoped Terraform files and an explicit pointer to [`..\u002Freferences\u002Flenses\u002Fsecurity.md`](..\u002Freferences\u002Flenses\u002Fsecurity.md) and [`..\u002Freferences\u002Fiac-security.md`](..\u002Freferences\u002Fiac-security.md). This lens covers: security groups \u002F firewall rules, IAM \u002F RBAC over-permission, public exposure (buckets, endpoints, load balancers), and secrets committed to code or state.\n\n### Step 3: Cost lens\n\nDispatch `Task(subagent_type: ywc-performance-engineer)` carrying the scoped Terraform files and an explicit pointer to [`..\u002Freferences\u002Flenses\u002Fcost.md`](..\u002Freferences\u002Flenses\u002Fcost.md) and [`..\u002Freferences\u002Ffinops.md`](..\u002Freferences\u002Ffinops.md). This lens covers: compute right-sizing against observed\u002Fexpected utilization, idle or orphaned resources, and pricing model fit (on-demand vs reserved vs spot).\n\n### Step 4: Reliability lens\n\nDispatch `Task(subagent_type: ywc-cloud-engineer)` in **review mode** — carry the scoped Terraform files and an explicit instruction that this dispatch is read-only diagnosis: it authors nothing, runs no `terraform apply`, and confines itself to the reliability lens at [`..\u002Freferences\u002Flenses\u002Freliability.md`](..\u002Freferences\u002Flenses\u002Freliability.md). This lens covers: single points of failure, missing backups \u002F point-in-time recovery, missing resource limits or autoscaling floors, and missing health\u002Freadiness checks.\n\n### Step 5: Aggregate severity-rated findings\n\nCollect all three lenses' findings into one report. Deduplicate a finding that two lenses independently flag on the same resource (e.g., a public DB is both a security and a reliability concern — report once, tag both lenses). Rate every finding Critical \u002F High \u002F Medium \u002F Low using each lens reference's severity guidance. Any **CRITICAL or HIGH** finding recommends **blocking** the apply until remediated.\n\n### Step 6: Recommend `ywc-infra-optimize` for remediation\n\nUnless `--skip-optimize-recommendation` was passed, close the review by recommending the user run `ywc-infra-optimize` to execute cost\u002Fdrift remediation, or route reliability\u002Fsecurity fixes back through `ywc-iac-author`. This skill diagnoses; it does not remediate.\n\n## Output Format\n\n```text\nInfra Review Report\n─────────────────────────────────────────────────\nScope:        infra\u002Fmodules\u002Fnetwork  (or \"full IaC tree\")\nScope evidence: \u003Cstate backend \u002F apply run \u002F applied commit — only when --scope was used>\nLenses run:   Security | Cost | Reliability  (all three, every pass)\n\nFindings (severity-rated):\nCRITICAL\n  - [Security] aws_security_group.db ingress 0.0.0.0\u002F0:5432 — scope CIDR to app subnet\nHIGH\n  - [Reliability] aws_db_instance.primary — no multi-AZ, no automated backups — enable multi-AZ + 7-day backup retention\nMEDIUM\n  - [Cost] aws_instance.worker — m5.4xlarge at 8% avg CPU over 30d — right-size to m5.large\n\nApply recommendation: BLOCK (1 CRITICAL, 1 HIGH found)\n─────────────────────────────────────────────────\nRecommended next step: ywc-infra-optimize (cost\u002Fdrift remediation), or ywc-iac-author (security\u002Freliability fixes)\n```\n\n## Validation Checklist\n\nBefore declaring the review pass complete, verify:\n\n- [ ] All three lenses (security, cost, reliability) were dispatched against the identical scope — none skipped\n- [ ] Every finding is severity-rated (Critical \u002F High \u002F Medium \u002F Low), not left unrated\n- [ ] Every CRITICAL\u002FHIGH finding includes a concrete remediation and the report states an explicit BLOCK recommendation\n- [ ] A finding flagged by more than one lens on the same resource is reported once, with both lens tags\n- [ ] The reliability lens dispatch to `ywc-cloud-engineer` was explicitly instructed as review-only (no authoring, no `apply`)\n- [ ] `ywc-infra-optimize` was recommended for remediation, unless `--skip-optimize-recommendation` was passed by an upstream caller\n\n## Common Mistakes\n\n- **Skipping a lens because the other two already found enough.** Each lens's taxonomy is non-overlapping — a clean security lens says nothing about cost waste or SPOF risk.\n- **Auto-fixing a CRITICAL finding inline.** This skill has no write access by design; remediation routes to `ywc-infra-optimize` (cost\u002Fdrift) or `ywc-iac-author` (re-authoring), never inline.\n- **Treating a clean `terraform plan` as sufficient.** `plan` validates syntax and diff shape, not policy — the lens findings are the actual safety gate.\n- **Confusing this skill with `ywc-security-audit`.** That skill reviews application-code auth\u002Finjection; this skill's security lens reviews IaC misconfiguration — different taxonomy, different agent dispatch.\n\n## Integration\n\n- **Upstream**: `ywc-iac-author` (produces the Terraform this skill reviews); direct user invocation against any existing Terraform tree.\n- **Downstream**: `ywc-infra-optimize` (executes cost\u002Fdrift remediation); `ywc-iac-author` (re-authoring for security\u002Freliability fixes).\n- **Consults**: `ywc-security-engineer` (security lens), `ywc-performance-engineer` (cost lens), `ywc-cloud-engineer` in review mode (reliability lens).\n- **Must not be paired with**: writing or modifying `.tf` files in the same pass — that boundary belongs to `ywc-iac-author` and `ywc-infra-optimize`.\n\n## References\n\n| Reference | Use when |\n|---|---|\n| [`..\u002Freferences\u002Flenses\u002Fsecurity.md`](..\u002Freferences\u002Flenses\u002Fsecurity.md) | Step 2 — security lens dispatch, IaC misconfiguration taxonomy |\n| [`..\u002Freferences\u002Fiac-security.md`](..\u002Freferences\u002Fiac-security.md) | Step 2 — the detailed IaC misconfiguration taxonomy `ywc-security-engineer` reviews against |\n| [`..\u002Freferences\u002Flenses\u002Fcost.md`](..\u002Freferences\u002Flenses\u002Fcost.md) | Step 3 — cost lens dispatch, right-sizing and waste taxonomy |\n| [`..\u002Freferences\u002Ffinops.md`](..\u002Freferences\u002Ffinops.md) | Step 3 — the detailed FinOps taxonomy (reserved\u002Fspot, data-transfer cost) `ywc-performance-engineer` reviews against |\n| [`..\u002Freferences\u002Flenses\u002Freliability.md`](..\u002Freferences\u002Flenses\u002Freliability.md) | Step 4 — reliability lens dispatch, SPOF\u002Fbackup\u002Fhealth taxonomy |\n| [`..\u002Freferences\u002Fproviders\u002Faws.md`](..\u002Freferences\u002Fproviders\u002Faws.md) | Scoped IaC targets AWS — provider-specific misconfiguration\u002Fcost\u002Freliability signals |\n| [`..\u002Freferences\u002Fproviders\u002Fgcp.md`](..\u002Freferences\u002Fproviders\u002Fgcp.md) | Scoped IaC targets GCP — provider-specific misconfiguration\u002Fcost\u002Freliability signals |\n| [`..\u002Freferences\u002Fproviders\u002Fazure.md`](..\u002Freferences\u002Fproviders\u002Fazure.md) | Scoped IaC targets Azure — provider-specific misconfiguration\u002Fcost\u002Freliability signals |\n| [`..\u002Freferences\u002Fproviders\u002Fk8s.md`](..\u002Freferences\u002Fproviders\u002Fk8s.md) | Scoped IaC includes Kubernetes\u002FHelm (via Terraform providers) |\n| [`..\u002Freferences\u002Fsubagent-status-actions.md`](..\u002Freferences\u002Fsubagent-status-actions.md) | Steps 2–4 — the §3.5 return-payload contract each lens dispatch must inject so three fan-out returns stay bounded |\n",{"name":5,"phase":23,"category":24,"requires":25,"description":7,"advisor_budget":26},"quality","review",[],3,"main","7e8ac872e53df8c89d75663e031626281a2a2f5c","claude-code\u002Fskills\u002Fywc-infra-review",1,"https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit","https:\u002F\u002Fgithub.com\u002Fyongwoon","https:\u002F\u002Fwww.webhani.com","2026-11-08 17:14:59",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add yongwoon\u002Fywc-agent-toolkit --skill ywc-infra-review",{"tool":41,"command":42},"bunx","bunx skills add yongwoon\u002Fywc-agent-toolkit --skill ywc-infra-review",{"tool":44,"command":45},"pnpm","pnpm dlx skills add yongwoon\u002Fywc-agent-toolkit --skill ywc-infra-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fywc-infra-review\u002FSKILL.md",true,[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"README.en.md","REFERENCE","参考文档",2548,"https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fywc-infra-review\u002FREADME.en.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"README.ja.md",2719,"https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fywc-infra-review\u002FREADME.ja.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"README.ko.md",2563,"https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fywc-infra-review\u002FREADME.ko.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":65},"README.md","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fclaude-code\u002Fskills\u002Fywc-infra-review\u002FREADME.md",[67,73,79,86,93,100],{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M72TQ84GTCPCV2VJ778V17TW","missing-frontmatter","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fcodex-description-limit\u002Fmissing-frontmatter\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M72TQ6M4BFWE7P9EPW0GZDCM","malformed-frontmatter","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fcodex-description-limit\u002Fmalformed-frontmatter\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M72TQ3ESGKXZ4QRWGTX92BKJ","fixture-501-fail","(ywc) Use when aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Do not use for x.","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fcodex-description-limit\u002F501-fail\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M72TQ0HJ8H3R37J9WPWGKJZR","fixture-500-pass","(ywc) Use when aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Do not use for x.","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fscripts\u002Ffixtures\u002Fcodex-description-limit\u002F500-pass\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M72TPWNCC7NEYD0D9N12KSQS","ywc-worktrees","(ywc) Use when creating, auditing, pruning, or resolving git worktrees for isolated task workspaces, whether delegated from an executor or used standalone. Triggers: \"worktree 생성\", \"worktree audit\", \"worktree 정리\", \"worktree prune\", \"ywc-worktrees\", \"create worktree\". Do not use for branch creation\u002Fdeletion alone, PR creation (use ywc-create-pr), CI or merge delivery (use ywc-finish-branch), task orchestration (use ywc-sequential-executor or ywc-parallel-executor), or non-git isolation.","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Fywc-agent-toolkit\u002Fskills\u002Fywc-worktrees\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M72TPRNR3E6QWB91GM98ABBV","ywc-wayfinder","(ywc) Use when a large or uncertain change needs multi-session discovery with a deterministic local map and exactly one active ticket before planning or implementation. Triggers: \"wayfinder\", \"길찾기\", \"discovery map\", \"multi-session discovery\", \"탐색 ticket\", \"経路整理\", \"探索マップ\", \"ywc-wayfinder\". Do not use for ordinary planning (use ywc-plan), idea clarification (use ywc-brainstorm), direct implementation, or tracker\u002Fdatabase writes outside the local Markdown map.","https:\u002F\u002Fgithub.com\u002Fyongwoon\u002Fywc-agent-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Fywc-agent-toolkit\u002Fskills\u002Fywc-wayfinder\u002FSKILL.md",[],[]]