[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GXHCAQSJDVNVRFFD1HJWTN":3,"skill-same:01M6GXHCAQSJDVNVRFFD1HJWTN":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6GXHCAQSJDVNVRFFD1HJWTN","Terraform Review",null,"Deep review of Terraform\u002FOpenTofu configuration — state management, module design, security hardening, drift prevention, and production safety patterns.","malayvuong\u002Fagent-orchestra","malayvuong","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13240975?v=4","01M6GXCDVPB2VPZMDZK1KF98M0","Nguyen Minh Vuong","01M6GXCE176VDX3XV4Z4KNR33J",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fterraform-review\u002FSKILL.md",[],[19,5,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"review","terraform","Safety","design","module","logic","deep","drift","iac","management","opentofu","state management","Production","hardening","aws","cloud","deep review","state","security","2026-11-10 10:12:30",false,"---\nname: Terraform Review\ndescription: Deep review of Terraform\u002FOpenTofu configuration — state management, module design, security hardening, drift prevention, and production safety patterns.\nversion: 2026.3.1\nlicense: MIT\ntriggers:\n  lenses:\n    - security\n    - logic\n  keywords:\n    - terraform\n    - opentofu\n    - hcl\n    - infrastructure\n    - iac\n    - aws\n    - cloud\n---\n\nWhen reviewing Terraform configuration, apply the following checks.\n\n## State Management\n\nVerify state is stored in a remote backend (S3, GCS, Azure Blob, Terraform Cloud) — never local. Flag `terraform.tfstate` committed to the repository. Check that state locking is enabled (DynamoDB for S3 backend, native for Terraform Cloud) to prevent concurrent modifications.\n\nFlag state files that contain secrets in plaintext — use `sensitive = true` on outputs and variables that contain credentials. Verify state backend configuration uses encryption at rest. Flag shared state buckets without versioning — state corruption without version history is unrecoverable.\n\n## Security\n\nFlag IAM policies with `\"Action\": \"*\"` or `\"Resource\": \"*\"` — use least-privilege permissions. Verify security groups do not allow `0.0.0.0\u002F0` ingress on sensitive ports (SSH\u002F22, RDP\u002F3389, database ports). Flag S3 buckets without `block_public_access` enabled.\n\nCheck that secrets are not hardcoded in `.tf` files — use variables with `sensitive = true` sourced from a secrets manager or environment variables. Flag `default` values on sensitive variables — these persist in state and plan output.\n\nVerify encryption is enabled for all storage resources (S3, EBS, RDS, DynamoDB). Flag resources created without tags — tags are essential for cost allocation, ownership tracking, and automated cleanup.\n\n## Module Design\n\nFlag modules with more than 20 input variables — break into smaller, focused modules. Verify module outputs expose only what consumers need — not internal resource IDs that create tight coupling. Check that modules use version constraints when sourced from registries (`version = \"~> 3.0\"`).\n\nFlag modules that use `count` for complex conditional logic — use `for_each` with a map for clarity. Verify lifecycle meta-arguments (`prevent_destroy`, `ignore_changes`) are justified with comments.\n\n## Resource Patterns\n\nFlag resources without `lifecycle.prevent_destroy` on critical infrastructure (databases, encryption keys, DNS zones). Verify `create_before_destroy` is set on resources where downtime during replacement is unacceptable (load balancers, DNS records).\n\nCheck that `ignore_changes` is not used to mask drift from manual changes — it should only be used for fields managed by external processes (auto-scaling counts, tags set by external tools). Flag `ignore_changes = all` — this makes the resource unmanaged.\n\n## Plan Safety\n\nVerify destructive operations (resource deletion, replacement) are expected before applying. Flag plans that destroy resources which were not explicitly targeted. Check that `moved` blocks are used for resource renames instead of destroy-and-recreate.\n\nFlag `terraform apply -auto-approve` in production pipelines without a preceding `terraform plan` output review. Verify that plan output is saved to a file and the saved plan is what gets applied.\n\n## Provider Configuration\n\nFlag provider versions without constraints — pin to a specific minor version range (`~> 5.0`). Verify provider authentication uses IAM roles or workload identity, not long-lived access keys. Flag multiple providers of the same type without explicit aliases.\n\n## Data Sources\n\nFlag `data` sources used to look up resources that should be managed by Terraform — if Terraform created it, reference it directly. Verify data sources handle the case where the external resource does not exist (especially during initial apply).\n\nFor each finding, report: the resource or module, the specific Terraform pattern violated, and the recommended fix.\n","When reviewing Terraform configuration, apply the following checks.\n\n## State Management\n\nVerify state is stored in a remote backend (S3, GCS, Azure Blob, Terraform Cloud) — never local. Flag `terraform.tfstate` committed to the repository. Check that state locking is enabled (DynamoDB for S3 backend, native for Terraform Cloud) to prevent concurrent modifications.\n\nFlag state files that contain secrets in plaintext — use `sensitive = true` on outputs and variables that contain credentials. Verify state backend configuration uses encryption at rest. Flag shared state buckets without versioning — state corruption without version history is unrecoverable.\n\n## Security\n\nFlag IAM policies with `\"Action\": \"*\"` or `\"Resource\": \"*\"` — use least-privilege permissions. Verify security groups do not allow `0.0.0.0\u002F0` ingress on sensitive ports (SSH\u002F22, RDP\u002F3389, database ports). Flag S3 buckets without `block_public_access` enabled.\n\nCheck that secrets are not hardcoded in `.tf` files — use variables with `sensitive = true` sourced from a secrets manager or environment variables. Flag `default` values on sensitive variables — these persist in state and plan output.\n\nVerify encryption is enabled for all storage resources (S3, EBS, RDS, DynamoDB). Flag resources created without tags — tags are essential for cost allocation, ownership tracking, and automated cleanup.\n\n## Module Design\n\nFlag modules with more than 20 input variables — break into smaller, focused modules. Verify module outputs expose only what consumers need — not internal resource IDs that create tight coupling. Check that modules use version constraints when sourced from registries (`version = \"~> 3.0\"`).\n\nFlag modules that use `count` for complex conditional logic — use `for_each` with a map for clarity. Verify lifecycle meta-arguments (`prevent_destroy`, `ignore_changes`) are justified with comments.\n\n## Resource Patterns\n\nFlag resources without `lifecycle.prevent_destroy` on critical infrastructure (databases, encryption keys, DNS zones). Verify `create_before_destroy` is set on resources where downtime during replacement is unacceptable (load balancers, DNS records).\n\nCheck that `ignore_changes` is not used to mask drift from manual changes — it should only be used for fields managed by external processes (auto-scaling counts, tags set by external tools). Flag `ignore_changes = all` — this makes the resource unmanaged.\n\n## Plan Safety\n\nVerify destructive operations (resource deletion, replacement) are expected before applying. Flag plans that destroy resources which were not explicitly targeted. Check that `moved` blocks are used for resource renames instead of destroy-and-recreate.\n\nFlag `terraform apply -auto-approve` in production pipelines without a preceding `terraform plan` output review. Verify that plan output is saved to a file and the saved plan is what gets applied.\n\n## Provider Configuration\n\nFlag provider versions without constraints — pin to a specific minor version range (`~> 5.0`). Verify provider authentication uses IAM roles or workload identity, not long-lived access keys. Flag multiple providers of the same type without explicit aliases.\n\n## Data Sources\n\nFlag `data` sources used to look up resources that should be managed by Terraform — if Terraform created it, reference it directly. Verify data sources handle the case where the external resource does not exist (especially during initial apply).\n\nFor each finding, report: the resource or module, the specific Terraform pattern violated, and the recommended fix.\n",{"name":5,"license":15,"version":43,"triggers":44,"description":7},"2026.3.1",{"lenses":45,"keywords":46},[37,24],[20,29,47,48,27,33,34],"hcl","infrastructure","main","eac6069a8690d89fd23f08d2d14e4874ed376a77",".agent-orchestra\u002Fskills\u002Fterraform-review",0,"https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra","https:\u002F\u002Fgithub.com\u002Fmalayvuong","www.malayvuong.com","Just a newbie at everything","2026-10-09 12:52:45",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add malayvuong\u002Fagent-orchestra --skill \"Terraform Review\"",{"tool":64,"command":65},"bunx","bunx skills add malayvuong\u002Fagent-orchestra --skill \"Terraform Review\"",{"tool":67,"command":68},"pnpm","pnpm dlx skills add malayvuong\u002Fagent-orchestra --skill \"Terraform Review\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fterraform-review\u002FSKILL.md",true,[],[73,92,112,128,146,164],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":38},"01M6GXHYPRJ43SHFPFJTF87GS8","Vue.js Review","Deep review of Vue.js applications — Composition API patterns, reactivity traps, component design, Pinia state management, and performance pitfalls.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fvue-review\u002FSKILL.md",[],[19,80,81,82,22,83,84,30,36,35,85,86,87,88,89,28,25,24,90,91],"vue","js","Vue js Review","performance","component","api patterns","applications","api","Composition","pinia","pitfalls","pinia state",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":38},"01M6GXHSPDDH1PQEN61ENMCEF5","Unity Review","Deep review of Unity C# code — object pooling, Update allocation, physics patterns, UI performance, serialization, and mobile optimization.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Funity-review\u002FSKILL.md",[],[19,99,94,83,100,101,35,102,103,104,105,106,107,25,24,108,109,110,111],"unity","update","code","ui","serialization","Optimization","mobile","patterns","physics","C#","mobile optimization","object","allocation",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":38},"01M6GXHNKTH12CGSRWDGF2H1Q9","TypeScript Review","Deep review of TypeScript code — type safety, generics patterns, strict mode compliance, type narrowing, module boundaries, and common escape hatches.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Ftypescript-review\u002FSKILL.md",[],[19,119,120,101,35,121,122,21,123,106,25,24,23,124,125,126,127],"typescript","typescript review","compliance","Type Safety","common","type","interface","consistency","mode",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":38},"01M6GXHH3DMZD272RVH4800C67","Test Conventions","Testing patterns and conventions for code review. Covers naming, AAA structure, boundary testing, mock vs real dependencies, and coverage expectations.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Ftest-conventions\u002FSKILL.md",[],[135,136,130,137,138,19,101,139,140,141,106,142,143,144,145],"test","conventions","code review","testing","testing patterns","boundary","coverage","dependencies","structure","mock","naming",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":38},"01M6GXH83F11CK4BQEAJPN6HDE","Swift Review","Deep review of Swift code — memory management, concurrency patterns, optionals, protocol design, SwiftUI lifecycle, and iOS platform patterns.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fswift-review\u002FSKILL.md",[],[153,19,148,22,154,83,101,155,35,156,157,158,159,160,28,25,24,161,162,163],"swift","memory","protocol","ios","concurrency","lifecycle","swiftui","uikit","xcode","apple","platform",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":38},"01M6GXH22YZZ9AES24EB27BGNX","SQL Query Review","Deep review of SQL queries — execution plans, index utilization, join efficiency, subquery patterns, locking behavior, and performance anti-patterns.","https:\u002F\u002Fgithub.com\u002Fmalayvuong\u002Fagent-orchestra\u002Fblob\u002Fmain\u002F.agent-orchestra\u002Fskills\u002Fsql-query-review\u002FSKILL.md",[],[19,171,172,166,83,35,173,174,175,176,177,178,179,180,181,182,25,24,183,184],"sql","query","index","execution","explain","select","behavior","utilization","anti-patterns","sql queries","queries","efficiency","plans","join"]