What problem does it solve? Building a production-grade Terraform provider requires rigorous acceptance testing, drift detection, and API client design that go beyond basic CRUD scaffolding. This Skill fills the gaps left by the official HashiCorp skills by providing advanced patterns for Test-Driven Development, state and plan checks, and API client architecture. ## Core Features & Use Cases - TDD Workflow (RED-GREEN-REFACTOR): Write failing acceptance tests first, implement minimal CRUD, then refactor, with parallel execution across multiple resources. - Drift Detection Testing: Simulate external API modifications and verify the provider's Read operation detects changes using the three-step create-drift-restore pattern with plancheck.ExpectNonEmptyPlan. - Advanced State and Plan Checks: Use statecheck.ExpectKnownValue, CompareValue, tfjsonpath, knownvalue, ExpectSensitiveValue, and plancheck.ExpectEmptyPlan for idempotency verification. - API Client Architecture: Implement authentication (cookie/token), retry logic with exponential backoff, error handling, and snake_case to camelCase field mapping. - Use Case: When adding a new resource to a Terraform provider, use this Skill to generate a complete acceptance test suite covering create, import, update, idempotency, drift detection, and CheckDestroy cleanup verification. ## Quick Start Ask the AI to write a drift detection acceptance test for a Terraform resource using the three-step pattern with plan checks.