[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CDHPMYBXG8B9HM3Z2DQ4GH":3,"skill-same:01M6CDHPMYBXG8B9HM3Z2DQ4GH":96},{"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":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M6CDHPMYBXG8B9HM3Z2DQ4GH","detecting-infrastructure-drift",null,"Use when detecting infrastructure drift from desired state. Trigger with phrases like \"check for drift\", \"infrastructure drift detection\", \"compare actual vs desired state\", or \"detect configuration changes\". Identifies discrepancies between current infrastructure and IaC definitions using terraform plan, cloudformation drift detection, or manual comparison.","BbgnsurfTech\u002Fclaude-skills-collection","BbgnsurfTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F59598605?v=4","01M6C5ZT4G3G4QPQB64QDVW438","Bbgnsurf Technologies","01M6C5ZT8JN4VWSZZH3DD8J4EG",29,"MIT","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Fdevops\u002Finfrastructure-drift-detector\u002Fskills\u002Finfrastructure-drift-detector\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],"infrastructure","detecting infrastructure drift","gcloud","terraform","state","aws","detection","Bash","plan","grep","check","read","write","edit","use","iac","2026-11-10 10:12:30",false,"---\ndescription: Use when detecting infrastructure drift from desired state. Trigger with phrases like \"check for drift\", \"infrastructure drift detection\", \"compare actual vs desired state\", or \"detect configuration changes\". Identifies discrepancies between current infrastructure and IaC definitions using terraform plan, cloudformation drift detection, or manual comparison.\nallowed-tools:\n- Read\n- Write\n- Edit\n- Grep\n- Glob\n- Bash(terraform:*)\n- Bash(aws:*)\n- Bash(gcloud:*)\nname: detecting-infrastructure-drift\nlicense: MIT\nversion: 1.0.0\n---\n\n## Prerequisites\n\nBefore using this skill, ensure:\n- Infrastructure as Code (IaC) files are up to date in {baseDir}\n- Cloud provider CLI is installed and authenticated\n- IaC tool (Terraform\u002FCloudFormation\u002FPulumi) is installed\n- Remote state storage is configured and accessible\n- Appropriate read permissions for infrastructure resources\n\n## Instructions\n\n1. **Identify IaC Tool**: Determine if using Terraform, CloudFormation, Pulumi, or ARM\n2. **Fetch Current State**: Retrieve actual infrastructure state from cloud provider\n3. **Load Desired State**: Read IaC configuration from {baseDir}\u002Fterraform or equivalent\n4. **Compare States**: Execute drift detection command for the IaC platform\n5. **Analyze Differences**: Identify added, modified, or removed resources\n6. **Generate Report**: Create detailed report of drift with affected resources\n7. **Suggest Remediation**: Provide commands to resolve drift (apply or import)\n8. **Document Findings**: Save drift report to {baseDir}\u002Fdrift-reports\u002F\n\n## Output\n\nGenerates drift detection reports:\n\n**Terraform Drift Report:**\n```\nDrift Detection Report - 2025-12-10 10:30:00\n==============================================\n\nResources with Drift: 3\n\n1. aws_instance.web_server\n   Status: Modified\n   Drift: instance_type changed from \"t3.micro\" to \"t3.small\"\n   Action: Update IaC to match or revert instance type\n\n2. aws_s3_bucket.assets\n   Status: Modified\n   Drift: versioning_enabled changed from true to false\n   Action: Re-enable versioning or update IaC\n\n3. aws_iam_role.lambda_exec\n   Status: Deleted\n   Drift: Role no longer exists in AWS\n   Action: terraform apply to recreate\n\nRemediation Command:\nterraform plan -out=drift-fix.tfplan\nterraform apply drift-fix.tfplan\n```\n\n**CloudFormation Drift:**\n```yaml\nStackName: production-vpc\nDriftStatus: DRIFTED\nResources:\n  - LogicalResourceId: VPC\n    ResourceType: AWS::EC2::VPC\n    DriftStatus: IN_SYNC\n  - LogicalResourceId: PublicSubnet\n    ResourceType: AWS::EC2::Subnet\n    DriftStatus: MODIFIED\n    PropertyDifferences:\n      - PropertyPath: \u002FTags\n        ExpectedValue: [{Key: Env, Value: prod}]\n        ActualValue: [{Key: Env, Value: production}]\n```\n\n## Error Handling\n\nCommon issues and solutions:\n\n**State Lock Error**\n- Error: \"Error acquiring state lock\"\n- Solution: Ensure no other terraform process is running, or force-unlock if safe\n\n**Authentication Failure**\n- Error: \"Unable to authenticate to cloud provider\"\n- Solution: Refresh credentials with `aws configure` or `gcloud auth login`\n\n**Missing State File**\n- Error: \"No state file found\"\n- Solution: Initialize terraform with `terraform init` or specify remote backend\n\n**Permission Denied**\n- Error: \"Access denied reading resource\"\n- Solution: Grant read-only IAM permissions to service account\n\n**State Version Mismatch**\n- Error: \"State file version too new\"\n- Solution: Upgrade Terraform version or use compatible state version\n\n## Resources\n\n- Terraform drift documentation: https:\u002F\u002Fwww.terraform.io\u002Fdocs\u002Fcli\u002Fstate\u002F\n- AWS CloudFormation drift detection: https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Fdetect-drift-stack.html\n- Drift remediation best practices in {baseDir}\u002Fdocs\u002Fdrift-remediation.md\n- Automated drift detection scripts in {baseDir}\u002Fscripts\u002Fdrift-check.sh","## Prerequisites\n\nBefore using this skill, ensure:\n- Infrastructure as Code (IaC) files are up to date in {baseDir}\n- Cloud provider CLI is installed and authenticated\n- IaC tool (Terraform\u002FCloudFormation\u002FPulumi) is installed\n- Remote state storage is configured and accessible\n- Appropriate read permissions for infrastructure resources\n\n## Instructions\n\n1. **Identify IaC Tool**: Determine if using Terraform, CloudFormation, Pulumi, or ARM\n2. **Fetch Current State**: Retrieve actual infrastructure state from cloud provider\n3. **Load Desired State**: Read IaC configuration from {baseDir}\u002Fterraform or equivalent\n4. **Compare States**: Execute drift detection command for the IaC platform\n5. **Analyze Differences**: Identify added, modified, or removed resources\n6. **Generate Report**: Create detailed report of drift with affected resources\n7. **Suggest Remediation**: Provide commands to resolve drift (apply or import)\n8. **Document Findings**: Save drift report to {baseDir}\u002Fdrift-reports\u002F\n\n## Output\n\nGenerates drift detection reports:\n\n**Terraform Drift Report:**\n```\nDrift Detection Report - 2025-12-10 10:30:00\n==============================================\n\nResources with Drift: 3\n\n1. aws_instance.web_server\n   Status: Modified\n   Drift: instance_type changed from \"t3.micro\" to \"t3.small\"\n   Action: Update IaC to match or revert instance type\n\n2. aws_s3_bucket.assets\n   Status: Modified\n   Drift: versioning_enabled changed from true to false\n   Action: Re-enable versioning or update IaC\n\n3. aws_iam_role.lambda_exec\n   Status: Deleted\n   Drift: Role no longer exists in AWS\n   Action: terraform apply to recreate\n\nRemediation Command:\nterraform plan -out=drift-fix.tfplan\nterraform apply drift-fix.tfplan\n```\n\n**CloudFormation Drift:**\n```yaml\nStackName: production-vpc\nDriftStatus: DRIFTED\nResources:\n  - LogicalResourceId: VPC\n    ResourceType: AWS::EC2::VPC\n    DriftStatus: IN_SYNC\n  - LogicalResourceId: PublicSubnet\n    ResourceType: AWS::EC2::Subnet\n    DriftStatus: MODIFIED\n    PropertyDifferences:\n      - PropertyPath: \u002FTags\n        ExpectedValue: [{Key: Env, Value: prod}]\n        ActualValue: [{Key: Env, Value: production}]\n```\n\n## Error Handling\n\nCommon issues and solutions:\n\n**State Lock Error**\n- Error: \"Error acquiring state lock\"\n- Solution: Ensure no other terraform process is running, or force-unlock if safe\n\n**Authentication Failure**\n- Error: \"Unable to authenticate to cloud provider\"\n- Solution: Refresh credentials with `aws configure` or `gcloud auth login`\n\n**Missing State File**\n- Error: \"No state file found\"\n- Solution: Initialize terraform with `terraform init` or specify remote backend\n\n**Permission Denied**\n- Error: \"Access denied reading resource\"\n- Solution: Grant read-only IAM permissions to service account\n\n**State Version Mismatch**\n- Error: \"State file version too new\"\n- Solution: Upgrade Terraform version or use compatible state version\n\n## Resources\n\n- Terraform drift documentation: https:\u002F\u002Fwww.terraform.io\u002Fdocs\u002Fcli\u002Fstate\u002F\n- AWS CloudFormation drift detection: https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Fdetect-drift-stack.html\n- Drift remediation best practices in {baseDir}\u002Fdocs\u002Fdrift-remediation.md\n- Automated drift detection scripts in {baseDir}\u002Fscripts\u002Fdrift-check.sh",{"name":5,"license":15,"version":45,"description":7,"allowed-tools":46},"1.0.0",[47,48,49,50,51,52,53,54],"Read","Write","Edit","Grep","Glob","Bash(terraform:*)","Bash(aws:*)","Bash(gcloud:*)","main","01d3fafeca1133f841956b8b90b939fee92d71e7","plugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Fdevops\u002Finfrastructure-drift-detector\u002Fskills\u002Finfrastructure-drift-detector",9,"https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech","www.bbgnsurf.com","An ICT solutions provider and software development company","2025-12-18 20:19:58",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add BbgnsurfTech\u002Fclaude-skills-collection --skill detecting-infrastructure-drift",{"tool":70,"command":71},"bunx","bunx skills add BbgnsurfTech\u002Fclaude-skills-collection --skill detecting-infrastructure-drift",{"tool":73,"command":74},"pnpm","pnpm dlx skills add BbgnsurfTech\u002Fclaude-skills-collection --skill detecting-infrastructure-drift","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Fdevops\u002Finfrastructure-drift-detector\u002Fskills\u002Finfrastructure-drift-detector\u002FSKILL.md",true,[78,84,90],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"assets\u002FREADME.md","ASSET","资产文件",525,"https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Fdevops\u002Finfrastructure-drift-detector\u002Fskills\u002Finfrastructure-drift-detector\u002Fassets\u002FREADME.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002FREADME.md","REFERENCE","参考文档",580,"https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Fdevops\u002Finfrastructure-drift-detector\u002Fskills\u002Finfrastructure-drift-detector\u002Freferences\u002FREADME.md",{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002FREADME.md","SCRIPT","脚本",622,"https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Fdevops\u002Finfrastructure-drift-detector\u002Fskills\u002Finfrastructure-drift-detector\u002Fscripts\u002FREADME.md",[97,115,134,155,168,181],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":106,"publishedAt":40},"01M6CDVX5RHG36WP2Z7X8WAYYA","testing-visual-regression","Detect visual changes in UI components using screenshot comparison.\nUse when detecting unintended UI changes or pixel differences.\nTrigger with phrases like \"test visual changes\", \"compare screenshots\", or \"detect UI regressions\".","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Ftesting\u002Fvisual-regression-tester\u002Fskills\u002Fvisual-regression-tester\u002FSKILL.md",[103],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",[107,108,109,37,33,35,36,38,110,111,112,113,114,31],"testing visual regression","testing","regression","components","test","screenshots","screenshot","ui",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":122,"publishedAt":40},"01M6CDVT4S54EMAPZ231KSP2XQ","generating-unit-tests","Automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions.\nUse when creating test coverage for functions, classes, or modules.\nTrigger with phrases like \"generate unit tests\", \"create tests for\", or \"add test coverage\".","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Ftesting\u002Funit-test-generator\u002Fskills\u002Funit-test-generator\u002FSKILL.md",[121],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},[123,124,125,126,127,111,37,128,129,130,38,131,132,36,35,33,31,133],"unit tests","Generating Unit Tests","generate","create","add test","functions","modules","test coverage","coverage","code","edge",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":146,"publishedAt":40},"01M6CDVPQKGQ450Q50ZC84FPMR","generating-test-reports","Generate comprehensive test reports with metrics, coverage, and visualizations.\nUse when performing specialized testing.\nTrigger with phrases like \"generate test report\", \"create test documentation\", or \"show test metrics\".","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Ftesting\u002Ftest-report-generator\u002Fskills\u002Ftest-report-generator\u002FSKILL.md",[140,141],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":142,"categoryName":143,"taxonomyType":144,"taxonomyTypeDesc":145},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[111,147,148,149,150,38,131,37,151,36,35,152,31,153,125,126,154,108,33],"reports","Generating Test Reports","test report","specialized","report","visualizations","metrics","documentation",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":162,"publishedAt":40},"01M6CDVK97VFZ53CEYEGQ4QFZ6","orchestrating-test-execution","Coordinate parallel test execution across multiple environments and frameworks.\nUse when performing specialized testing.\nTrigger with phrases like \"orchestrate tests\", \"run parallel tests\", or \"coordinate test execution\".","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Ftesting\u002Ftest-orchestrator\u002Fskills\u002Ftest-orchestrator\u002FSKILL.md",[161],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},[163,164,111,35,38,37,36,150,33,165,31,166,167,108],"orchestrating test execution","execution","parallel","orchestrate","run",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":175,"publishedAt":40},"01M6CDVFTCBQ65TGB1YJCZB90G","managing-test-environments","Provision and manage isolated test environments with configuration and data.\nUse when performing specialized testing.\nTrigger with phrases like \"manage test environment\", \"provision test env\", or \"setup test infrastructure\".","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Ftesting\u002Ftest-environment-manager\u002Fskills\u002Ftest-environment-manager\u002FSKILL.md",[174],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},[176,111,37,36,35,150,33,31,177,24,178,108,179,180,38],"Managing Test Environments","data","setup","environment","manage",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":188,"publishedAt":40},"01M6CDVD0NPFXVEQGT9CMF02H0","generating-test-doubles","Generate mocks, stubs, spies, and fakes for dependency isolation.\nUse when creating mocks, stubs, or test isolation fixtures.\nTrigger with phrases like \"generate mocks\", \"create test doubles\", or \"setup stubs\".","https:\u002F\u002Fgithub.com\u002FBbgnsurfTech\u002Fclaude-skills-collection\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code-plugins-plus\u002Fplugins\u002Ftesting\u002Ftest-doubles-generator\u002Fskills\u002Ftest-doubles-generator\u002FSKILL.md",[187],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},[111,189,190,38,37,36,35,33,31,125,126,178],"Generating Test Doubles","dependency"]