
from studio-recipes18
Detect infrastructure drift between Terraform state and real cloud resources; report unmanaged/changed/missing resources for remediation.
This skill automates a drift-detection workflow: compare Terraform state to actual cloud resources and surface unmanaged, changed, or missing resources. It documents risk categories, suggests remediation paths (import, revert, or delete), and includes CI integration examples for scheduled auditing. The skill relies on the Snyk CLI (snyk iac describe) to perform the comparison and emit JSON for analysis.
Run during pre-deployment checks, post-incident audits, or regular infra hygiene sweeps when you need to ensure infrastructure matches IaC. Use for shadow-IT discovery, security reviews, or to gate deployments on drift-free state.
Agents capable of running CLI tools and interacting with cloud APIs (DevOps assistants, CI-integrated bots, or agents with Snyk/terraform knowledge).
Snyk drift-detector skill provides structured instructions for detecting infrastructure drift between Terraform state and cloud resources using `snyk iac describe`. No bundled scripts — it's a pure instruction-based skill. The SKILL.md is well-organized with clear phases, but relies entirely on external tools (Snyk CLI, cloud CLIs, Terraform) and credentials being pre-configured. No security concerns beyond inherent cloud credential requirements.
Well-structured SKILL.md with clear phases and good error handling guidance. Security deducted for Phase 4 remediation commands that include destructive operations (aws s3 rb --force, ec2 terminate-instances) with only 'After verification' as a guard — no dry-run or confirmation step enforced. Architecture is solid but references external files (SERVICES.md, EXAMPLES.md) that aren't bundled. Usefulness is moderate — niche audience (teams using both Snyk IaC and Terraform), and requires significant external setup. The remediation section contradicts the stated read-only constraint.