What problem does it solve?
Adding or modifying fields on Config Connector resources requires end-to-end validation against both real GCP and the MockGCP control plane, and manually coordinating golden file generation, baseline commits, and mock alignment is error-prone and easy to get wrong.
Core Features & Use Cases
- Golden File Test Workflow: Guides creation of fixture directories with create.yaml, update.yaml, dependencies.yaml, and golden HTTP logs under pkg/test/resourcefixture/testdata.
- Real GCP Recording: Enforces recording authentic _http.log baselines via hack/record-gcp with proper ADC authentication, project configuration, and mandatory baseline commits.
- MockGCP Alignment: Provides troubleshooting strategies for enum mismatches, server-generated fields, volatile value normalization, and duplicate normalizer conflicts.
- Use Case: When adding a new mutable field to a DNSRecordSet resource, use this Skill to set up the fixture, record live GCP traffic, compare against MockGCP, fix mock discrepancies, and run all CI presubmit checks before submitting the PR.
Quick Start
Ask the agent to set up and record a golden E2E test fixture for a specific Config Connector resource field using hack/record-gcp and then align MockGCP behavior.