gold-layer-setup

Implement Gold layer tables from YAML schema definitions with MERGE operations.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/prashsub/vibe_coding_lakehouse_starter_repo --skill gold-layer-setup-prashsub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gold-layer-setup
Source: https://github.com/prashsub/vibe_coding_lakehouse_starter_repo/tree/main/data_product_accelerator/skills/gold/01-gold-layer-setup
Command: npx skills add https://github.com/prashsub/vibe_coding_lakehouse_starter_repo --skill gold-layer-setup-prashsub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the entire process of implementing Gold layer tables, transforming YAML designs into production-ready Delta tables with merge scripts, foreign key constraints, and deployment jobs.

Core Features & Use Cases

  • YAML-Driven Implementation: Generates DDL, merge scripts, and job configurations directly from YAML schema definitions.
  • End-to-End Orchestration: Guides users through Silver contract validation, table creation, Silver-to-Gold MERGE operations (SCD Type 1/2, facts, snapshots), FK application, and job deployment.
  • Use Case: When implementing your Gold layer from completed YAML designs, this Skill ensures consistency, reduces manual coding, and accelerates deployment.

Quick Start

Use the gold-layer-setup skill to implement the Gold layer tables defined in the gold_layer_design/yaml directory.

Frequently Asked Questions about gold-layer-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Gold layer table creation from YAML in Databricks?

To automate Gold layer table creation from YAML in Databricks, you need a tool that generates DDL, merge scripts, and job configurations directly from schema definitions. This Skill orchestrates that end-to-end process, including Silver-to-Gold MERGE operations and Databricks Asset Bundle deployment.

How do I implement SCD Type 1 and Type 2 merges in Delta Lake?

Implementing SCD Type 1 and Type 2 merges in Delta Lake requires automated MERGE operations from source to target tables. This Skill handles SCD Type 1/2 logic, fact aggregation, and snapshot merges directly from YAML designs to ensure data consistency.

What is the best way to apply foreign key constraints in a Databricks Gold layer?

Applying foreign key constraints in a Databricks Gold layer is best handled during table creation and merge orchestration. This Skill automates FK application and validates Silver contracts to ensure referential integrity before Gold layer deployment.

Can I use YAML schema definitions to generate Databricks Asset Bundle jobs?

Yes, you can use YAML schema definitions to generate Databricks Asset Bundle jobs. This Skill translates YAML files into production-ready deployment configurations, automating the orchestration of table creation and Silver-to-Gold merge operations.

How do I validate Silver layer contracts before building Gold tables?

Validating Silver layer contracts before building Gold tables requires schema and grain checks against source data. This Skill performs automated Silver contract validation to ensure data integrity before executing Gold layer merge operations.

Does this Gold layer setup tool work without existing Silver layer tables?

No, this Gold layer setup tool requires existing Silver layer tables. It validates Silver contracts and performs Silver-to-Gold MERGE operations, meaning the Silver layer must be implemented and populated before orchestrating Gold table creation.