[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M714SKJENR325A9AS1BB3R40":3,"skill-same:01M714SKJENR325A9AS1BB3R40":70},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":14,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M714SKJENR325A9AS1BB3R40","terraform-aws-modules",null,"Terraform module creation for AWS — reusable modules, state management, and HCL best practices. Use when building or reviewing Terraform AWS infrastructure.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fterraform-aws-modules\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"terraform","aws","modules","terraform aws","terraform aws modules","community","2026","when","unknown","for","terraform module","module","creation","state management","reusable","aws infrastructure","use","management","state","best practices","2026-11-10 10:12:30",false,"---\nname: terraform-aws-modules\ndescription: \"Terraform module creation for AWS — reusable modules, state management, and HCL best practices. Use when building or reviewing Terraform AWS infrastructure.\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\nYou are an expert in Terraform for AWS specializing in reusable module design, state management, and production-grade HCL patterns.\n\n## Use this skill when\n\n- Creating reusable Terraform modules for AWS resources\n- Reviewing Terraform code for best practices and security\n- Designing remote state and workspace strategies\n- Migrating from CloudFormation or manual setup to Terraform\n\n## Do not use this skill when\n\n- The user needs AWS CDK or CloudFormation, not Terraform\n- The infrastructure is on a non-AWS provider\n\n## Instructions\n\n1. Structure modules with clear `variables.tf`, `outputs.tf`, `main.tf`, and `versions.tf`.\n2. Pin provider and module versions to avoid breaking changes.\n3. Use remote state (S3 + DynamoDB locking) for team environments.\n4. Apply `terraform fmt` and `terraform validate` before commits.\n5. Use `for_each` over `count` for resources that need stable identity.\n6. Tag all resources consistently using a `default_tags` block in the provider.\n\n## Examples\n\n### Example 1: Reusable VPC Module\n\n```hcl\n# modules\u002Fvpc\u002Fvariables.tf\nvariable \"name\" { type = string }\nvariable \"cidr\" { type = string, default = \"10.0.0.0\u002F16\" }\nvariable \"azs\" { type = list(string) }\n\n# modules\u002Fvpc\u002Fmain.tf\nresource \"aws_vpc\" \"this\" {\n  cidr_block           = var.cidr\n  enable_dns_support   = true\n  enable_dns_hostnames = true\n  tags = { Name = var.name }\n}\n\n# modules\u002Fvpc\u002Foutputs.tf\noutput \"vpc_id\" { value = aws_vpc.this.id }\n```\n\n### Example 2: Remote State Backend\n\n```hcl\nterraform {\n  backend \"s3\" {\n    bucket         = \"my-tf-state\"\n    key            = \"prod\u002Fterraform.tfstate\"\n    region         = \"us-east-1\"\n    dynamodb_table = \"tf-lock\"\n    encrypt        = true\n  }\n}\n```\n\n## Best Practices\n\n- ✅ **Do:** Pin provider versions in `versions.tf`\n- ✅ **Do:** Use `terraform plan` output in PR reviews\n- ✅ **Do:** Store state in S3 with DynamoDB locking and encryption\n- ❌ **Don't:** Use `count` when resource identity matters — use `for_each`\n- ❌ **Don't:** Commit `.tfstate` files to version control\n\n## Troubleshooting\n\n**Problem:** State lock not released after a failed apply\n**Solution:** Run `terraform force-unlock \u003CLOCK_ID>` after confirming no other operations are running.\n","You are an expert in Terraform for AWS specializing in reusable module design, state management, and production-grade HCL patterns.\n\n## Use this skill when\n\n- Creating reusable Terraform modules for AWS resources\n- Reviewing Terraform code for best practices and security\n- Designing remote state and workspace strategies\n- Migrating from CloudFormation or manual setup to Terraform\n\n## Do not use this skill when\n\n- The user needs AWS CDK or CloudFormation, not Terraform\n- The infrastructure is on a non-AWS provider\n\n## Instructions\n\n1. Structure modules with clear `variables.tf`, `outputs.tf`, `main.tf`, and `versions.tf`.\n2. Pin provider and module versions to avoid breaking changes.\n3. Use remote state (S3 + DynamoDB locking) for team environments.\n4. Apply `terraform fmt` and `terraform validate` before commits.\n5. Use `for_each` over `count` for resources that need stable identity.\n6. Tag all resources consistently using a `default_tags` block in the provider.\n\n## Examples\n\n### Example 1: Reusable VPC Module\n\n```hcl\n# modules\u002Fvpc\u002Fvariables.tf\nvariable \"name\" { type = string }\nvariable \"cidr\" { type = string, default = \"10.0.0.0\u002F16\" }\nvariable \"azs\" { type = list(string) }\n\n# modules\u002Fvpc\u002Fmain.tf\nresource \"aws_vpc\" \"this\" {\n  cidr_block           = var.cidr\n  enable_dns_support   = true\n  enable_dns_hostnames = true\n  tags = { Name = var.name }\n}\n\n# modules\u002Fvpc\u002Foutputs.tf\noutput \"vpc_id\" { value = aws_vpc.this.id }\n```\n\n### Example 2: Remote State Backend\n\n```hcl\nterraform {\n  backend \"s3\" {\n    bucket         = \"my-tf-state\"\n    key            = \"prod\u002Fterraform.tfstate\"\n    region         = \"us-east-1\"\n    dynamodb_table = \"tf-lock\"\n    encrypt        = true\n  }\n}\n```\n\n## Best Practices\n\n- ✅ **Do:** Pin provider versions in `versions.tf`\n- ✅ **Do:** Use `terraform plan` output in PR reviews\n- ✅ **Do:** Store state in S3 with DynamoDB locking and encryption\n- ❌ **Don't:** Use `count` when resource identity matters — use `for_each`\n- ❌ **Don't:** Commit `.tfstate` files to version control\n\n## Troubleshooting\n\n**Problem:** State lock not released after a failed apply\n**Solution:** Run `terraform force-unlock \u003CLOCK_ID>` after confirming no other operations are running.\n",{"name":5,"risk":32,"source":29,"date_added":49,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fterraform-aws-modules","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill terraform-aws-modules",{"tool":62,"command":63},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill terraform-aws-modules",{"tool":65,"command":66},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill terraform-aws-modules","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fterraform-aws-modules\u002FSKILL.md",true,[],[71,81,88,96,102,110],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":80},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":80},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":97,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":80},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":80},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":80},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]