[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C6ENB983QGWWYVXS67P1GX":3,"skill-same:01M6C6ENB983QGWWYVXS67P1GX":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":29,"publishedAt":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":17,"ownerHtmlUrl":68,"ownerBlogUrl":17,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6C6ENB983QGWWYVXS67P1GX","infrastructure-terraform","Terraform 基础设施即代码管理","Terraform IaC: HCL, state management, modules, plan-apply workflows. Use when the user mentions Terraform, HCL, terraform plan\u002Fapply, tfstate, or IaC provisioning.","Terraform IaC：HCL、状态管理、模块、plan-apply 工作流。当用户提到 Terraform、HCL、terraform plan\u002Fapply、tfstate 或 IaC 配置时使用。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fterraform-plugin\u002Fskills\u002Finfrastructure-terraform\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":6,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C8X79YT9M7G8WNMPEXSGQQ","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"infrastructure","terraform","infrastructure terraform","2026","workflows","when","apply","2025","terraform iac","false","modules","iac","use","user","management","edit","write","read","grep","plan","Bash","provisioning","state","state management","2026-11-10 10:12:30",false,"---\ncreated: 2025-12-16\nmodified: 2026-05-09\nreviewed: 2026-04-25\nname: infrastructure-terraform\ndescription: \"Terraform IaC: HCL, state management, modules, plan-apply workflows. Use when the user mentions Terraform, HCL, terraform plan\u002Fapply, tfstate, or IaC provisioning.\"\nuser-invocable: false\nallowed-tools: Glob, Grep, Read, Bash, Edit, Write, TodoWrite\n---\n\n# Infrastructure Terraform\n\nExpert knowledge for Infrastructure as Code using Terraform with focus on declarative HCL, state management, and resilient infrastructure.\n\n## When to Use This Skill\n\n| Use this skill when... | Use a `tfc-*` sibling instead when... |\n|---|---|\n| Writing or modifying Terraform HCL configuration locally | Inspecting Terraform Cloud run state via API (`tfc-run-status`) |\n| Running `terraform init\u002Fplan\u002Fapply\u002Fdestroy` against a backend | Reading TFC plan\u002Fapply log streams (`tfc-run-logs`) |\n| Designing module structure, providers, or remote backends | Analyzing structured plan JSON from a TFC run (`tfc-plan-json`) |\n| Debugging local state, drift, or import workflows | Listing or filtering TFC run history (`tfc-list-runs`, `tfc-workspace-runs`) |\n\n## Core Expertise\n\n**Terraform & IaC**\n- **Declarative Infrastructure**: Clean, modular, and reusable HCL code\n- **State Management**: Protecting and managing Terraform state with remote backends\n- **Providers & Modules**: Leveraging community and custom providers\u002Fmodules\n- **Execution Lifecycle**: Mastering the plan -> review -> apply workflow\n\n## Infrastructure Provisioning Process\n\n1. **Plan First**: Always generate `terraform plan` and review carefully before changes\n2. **Modularize**: Break down infrastructure into reusable and composable modules\n3. **Secure State**: Use remote backends with locking to protect state file\n4. **Parameterize**: Use variables and outputs for flexible and configurable infrastructure\n5. **Destroy with Caution**: Double-check plan before running `terraform destroy`\n\n## Essential Commands\n\n```bash\n# Core workflow\nterraform init                   # Initialize working directory\nterraform plan                   # Generate execution plan\nterraform apply                  # Apply changes\nterraform destroy               # Destroy infrastructure\n\n# State management\nterraform state list            # List all resources\nterraform state show \u003Cresource> # Show specific resource\nterraform state pull > backup.tfstate  # Backup state\n\n# Validation and formatting\nterraform validate              # Validate configuration\nterraform fmt -recursive        # Format all files recursively\nterraform fmt path\u002Fto\u002Fdir       # Format specific directory\nterraform graph | dot -Tsvg > graph.svg  # Dependency graph\n\n# Working with directories (use -chdir to stay in repo root)\nterraform -chdir=gcp fmt        # Format files in gcp\u002F directory\nterraform -chdir=gcp validate   # Validate gcp\u002F configuration\nterraform -chdir=gcp plan       # Plan from specific directory\nterraform -chdir=modules\u002Fvpc init  # Init module directory\n\n# Debugging\nexport TF_LOG=DEBUG             # Enable debug logging\nterraform plan -out=tfplan      # Save plan for review\nterraform show tfplan           # View saved plan\n```\n\n## Best Practices\n\n**Module Structure**\n```hcl\nmodule \"vpc\" {\n  source  = \".\u002Fmodules\u002Fvpc\"\n  version = \"1.0.0\"\n\n  vpc_cidr = var.vpc_cidr\n  environment = var.environment\n}\n\noutput \"vpc_id\" {\n  value = module.vpc.vpc_id\n}\n```\n\n**Variable Configuration**\n```hcl\nvariable \"environment\" {\n  description = \"Environment name\"\n  type        = string\n  validation {\n    condition     = contains([\"dev\", \"staging\", \"prod\"], var.environment)\n    error_message = \"Environment must be dev, staging, or prod.\"\n  }\n}\n```\n\n**Remote State Backend**\n```hcl\nterraform {\n  backend \"s3\" {\n    bucket         = \"my-terraform-state\"\n    key            = \"prod\u002Fterraform.tfstate\"\n    region         = \"us-east-1\"\n    encrypt        = true\n    dynamodb_table = \"terraform-locks\"\n  }\n}\n```\n\n**Provider Configuration**\n```hcl\nterraform {\n  required_providers {\n    aws = {\n      source  = \"hashicorp\u002Faws\"\n      version = \"~> 5.0\"\n    }\n  }\n  required_version = \">= 1.5\"\n}\n```\n\n## Key Debugging Techniques\n\n**State Debugging**\n```bash\n# State inspection\nterraform state list\nterraform state show aws_instance.web\n\n# State recovery\nterraform refresh\nterraform plan -refresh-only\nterraform import aws_instance.existing i-1234567890\n```\n\n**Error Resolution**\n```bash\n# Provider errors\nterraform init -upgrade\nterraform init -reconfigure\n\n# Resource conflicts\nterraform taint aws_instance.broken\nterraform apply -target=aws_instance.web\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Format directory | `terraform -chdir=path\u002Fto\u002Fdir fmt` |\n| Check format (CI) | `terraform fmt -check -recursive` |\n| Validate config | `terraform -chdir=path\u002Fto\u002Fdir validate` |\n| Compact plan | `terraform plan -compact-warnings` |\n| JSON plan output | `terraform plan -out=plan.tfplan && terraform show -json plan.tfplan` |\n| List resources | `terraform state list` |\n\n## Quick Reference\n\n| Flag | Description |\n|------|-------------|\n| `-chdir=DIR` | Change to DIR before running command |\n| `-recursive` | Process directories recursively |\n| `-check` | Check formatting without changes (CI) |\n| `-compact-warnings` | Show warnings in compact form |\n| `-json` | Output in JSON format |\n| `-out=FILE` | Save plan to file |\n| `-target=RESOURCE` | Target specific resource |\n| `-refresh-only` | Only refresh state, no changes |\n\nFor detailed debugging patterns, advanced module design, CI\u002FCD integration, and troubleshooting strategies, see REFERENCE.md.\n","# Infrastructure Terraform\n\nExpert knowledge for Infrastructure as Code using Terraform with focus on declarative HCL, state management, and resilient infrastructure.\n\n## When to Use This Skill\n\n| Use this skill when... | Use a `tfc-*` sibling instead when... |\n|---|---|\n| Writing or modifying Terraform HCL configuration locally | Inspecting Terraform Cloud run state via API (`tfc-run-status`) |\n| Running `terraform init\u002Fplan\u002Fapply\u002Fdestroy` against a backend | Reading TFC plan\u002Fapply log streams (`tfc-run-logs`) |\n| Designing module structure, providers, or remote backends | Analyzing structured plan JSON from a TFC run (`tfc-plan-json`) |\n| Debugging local state, drift, or import workflows | Listing or filtering TFC run history (`tfc-list-runs`, `tfc-workspace-runs`) |\n\n## Core Expertise\n\n**Terraform & IaC**\n- **Declarative Infrastructure**: Clean, modular, and reusable HCL code\n- **State Management**: Protecting and managing Terraform state with remote backends\n- **Providers & Modules**: Leveraging community and custom providers\u002Fmodules\n- **Execution Lifecycle**: Mastering the plan -> review -> apply workflow\n\n## Infrastructure Provisioning Process\n\n1. **Plan First**: Always generate `terraform plan` and review carefully before changes\n2. **Modularize**: Break down infrastructure into reusable and composable modules\n3. **Secure State**: Use remote backends with locking to protect state file\n4. **Parameterize**: Use variables and outputs for flexible and configurable infrastructure\n5. **Destroy with Caution**: Double-check plan before running `terraform destroy`\n\n## Essential Commands\n\n```bash\n# Core workflow\nterraform init                   # Initialize working directory\nterraform plan                   # Generate execution plan\nterraform apply                  # Apply changes\nterraform destroy               # Destroy infrastructure\n\n# State management\nterraform state list            # List all resources\nterraform state show \u003Cresource> # Show specific resource\nterraform state pull > backup.tfstate  # Backup state\n\n# Validation and formatting\nterraform validate              # Validate configuration\nterraform fmt -recursive        # Format all files recursively\nterraform fmt path\u002Fto\u002Fdir       # Format specific directory\nterraform graph | dot -Tsvg > graph.svg  # Dependency graph\n\n# Working with directories (use -chdir to stay in repo root)\nterraform -chdir=gcp fmt        # Format files in gcp\u002F directory\nterraform -chdir=gcp validate   # Validate gcp\u002F configuration\nterraform -chdir=gcp plan       # Plan from specific directory\nterraform -chdir=modules\u002Fvpc init  # Init module directory\n\n# Debugging\nexport TF_LOG=DEBUG             # Enable debug logging\nterraform plan -out=tfplan      # Save plan for review\nterraform show tfplan           # View saved plan\n```\n\n## Best Practices\n\n**Module Structure**\n```hcl\nmodule \"vpc\" {\n  source  = \".\u002Fmodules\u002Fvpc\"\n  version = \"1.0.0\"\n\n  vpc_cidr = var.vpc_cidr\n  environment = var.environment\n}\n\noutput \"vpc_id\" {\n  value = module.vpc.vpc_id\n}\n```\n\n**Variable Configuration**\n```hcl\nvariable \"environment\" {\n  description = \"Environment name\"\n  type        = string\n  validation {\n    condition     = contains([\"dev\", \"staging\", \"prod\"], var.environment)\n    error_message = \"Environment must be dev, staging, or prod.\"\n  }\n}\n```\n\n**Remote State Backend**\n```hcl\nterraform {\n  backend \"s3\" {\n    bucket         = \"my-terraform-state\"\n    key            = \"prod\u002Fterraform.tfstate\"\n    region         = \"us-east-1\"\n    encrypt        = true\n    dynamodb_table = \"terraform-locks\"\n  }\n}\n```\n\n**Provider Configuration**\n```hcl\nterraform {\n  required_providers {\n    aws = {\n      source  = \"hashicorp\u002Faws\"\n      version = \"~> 5.0\"\n    }\n  }\n  required_version = \">= 1.5\"\n}\n```\n\n## Key Debugging Techniques\n\n**State Debugging**\n```bash\n# State inspection\nterraform state list\nterraform state show aws_instance.web\n\n# State recovery\nterraform refresh\nterraform plan -refresh-only\nterraform import aws_instance.existing i-1234567890\n```\n\n**Error Resolution**\n```bash\n# Provider errors\nterraform init -upgrade\nterraform init -reconfigure\n\n# Resource conflicts\nterraform taint aws_instance.broken\nterraform apply -target=aws_instance.web\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Format directory | `terraform -chdir=path\u002Fto\u002Fdir fmt` |\n| Check format (CI) | `terraform fmt -check -recursive` |\n| Validate config | `terraform -chdir=path\u002Fto\u002Fdir validate` |\n| Compact plan | `terraform plan -compact-warnings` |\n| JSON plan output | `terraform plan -out=plan.tfplan && terraform show -json plan.tfplan` |\n| List resources | `terraform state list` |\n\n## Quick Reference\n\n| Flag | Description |\n|------|-------------|\n| `-chdir=DIR` | Change to DIR before running command |\n| `-recursive` | Process directories recursively |\n| `-check` | Check formatting without changes (CI) |\n| `-compact-warnings` | Show warnings in compact form |\n| `-json` | Output in JSON format |\n| `-out=FILE` | Save plan to file |\n| `-target=RESOURCE` | Target specific resource |\n| `-refresh-only` | Only refresh state, no changes |\n\nFor detailed debugging patterns, advanced module design, CI\u002FCD integration, and troubleshooting strategies, see REFERENCE.md.\n",{"name":5,"created":59,"modified":60,"reviewed":61,"description":7,"allowed-tools":62,"user-invocable":55},1765843200000,1778284800000,1777075200000,"Glob, Grep, Read, Bash, Edit, Write, TodoWrite","main","bdd0582f1a2ba53d21061835bfd72d45f2f954f4","terraform-plugin\u002Fskills\u002Finfrastructure-terraform",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add laurigates\u002Fclaude-plugins --skill infrastructure-terraform",{"tool":77,"command":78},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill infrastructure-terraform",{"tool":80,"command":81},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill infrastructure-terraform","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fterraform-plugin\u002Fskills\u002Finfrastructure-terraform\u002FSKILL.md",true,[85],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"REFERENCE.md","REFERENCE","参考文档",22975,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fterraform-plugin\u002Fskills\u002Finfrastructure-terraform\u002FREFERENCE.md",[92,100,122,140,156,179],{"skillNo":93,"name":94,"nameZh":17,"description":95,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":54},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[107,108,109,110,111,112,113,114,115,116,42,35,50,117,118,119,120,121,33,47],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":54},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[110,129,130,131,39,132,35,50,133,134,135,33,47,46,45,136,137,138,139,42],"kitty session persistence","session","persistence","snapshots","uname","reboot","terminal","snapshot","macos","sessions","restore",{"skillNo":141,"name":142,"nameZh":17,"description":143,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":54},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[147,148,110,149,150,112,151,152,113,153,154,42,35,155,50,118,119,135,33,47],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":157,"name":158,"nameZh":17,"description":159,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":54},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[163,164,165,166,167,168,169,170,171,172,42,35,50,173,117,174,175,176,177,178],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":180,"name":181,"nameZh":182,"description":183,"descriptionZh":184,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":185,"categories":186,"keywords":193,"publishedAt":54},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[187,190],{"categoryNo":188,"categoryName":189,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":191,"categoryName":192,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[194,195,196,197,169,198,47,199,45,200,201,202,42,50,117,203,204,35,205,206,207,121,33],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]