What problem does it solve?
Manually reconciling Gold layer data implementations when upstream design documents or Silver layer inputs change is time-consuming and error-prone. This Skill automates the alignment process to ensure Gold layer code stays consistent with the latest approved specifications without rewriting unchanged code.
Core Features & Use Cases
- Multi-mode operation: Run in story mode for authorized changes, diff mode to detect and fix drift between current Gold and latest upstream/Silver contracts, or full mode to regenerate all Gold builders from scratch.
- Versioning and validation: Enforces 3-scenario versioning rules, validates that all upstream artifacts are approved and the Silver layer is complete before making changes, and warns when Silver input changes require Gold rebuilds.
- Pipeline integration: Automatically patches DAG wiring for added or removed Gold tables and regenerates unit tests for modified builders.
- Use Case: For data engineering teams working on the patient_360 project, use this skill to quickly update Gold layer tables after a Silver schema change or re-approved upstream design document, preserving all unmodified builder code.
Quick Start
Use the update-gold skill to align all Gold layer builders with the latest approved upstream specifications and current Silver layer contracts.