gold-layer-setup

Create Databricks Gold layer tables from YAML schema definitions.

5|6|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/databricks-solutions/vibe-coding-workshop-template --skill gold-layer-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gold-layer-setup
Source: https://github.com/databricks-solutions/vibe-coding-workshop-template/tree/main/data_product_accelerator/skills/gold/01-gold-layer-setup
Command: npx skills add https://github.com/databricks-solutions/vibe-coding-workshop-template --skill gold-layer-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of Gold layer tables directly from your YAML schema designs, ensuring consistency and reducing manual DDL writing.

Core Features & Use Cases

  • YAML-Driven DDL: Generates CREATE TABLE statements based on your YAML definitions.
  • PK & UK Application: Automatically adds Primary Key and Unique constraints.
  • Standard Properties: Applies essential Delta Lake properties like CDF and row tracking.
  • Use Case: After designing your Gold layer schemas in YAML, use this Skill to instantly provision all the necessary tables in your Databricks environment, ready for data loading.

Quick Start

Use the gold-layer-setup skill to create all Gold layer tables defined in the YAML files.

Frequently Asked Questions about gold-layer-setup

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

FAQPage Schema
How do I generate DDL for Databricks Gold layer tables from YAML?

You can generate DDL for Databricks Gold layer tables by defining your schemas in YAML files. This process automates CREATE TABLE statements, applies Primary Key and Unique constraints, and configures standard Delta Lake properties for idempotent table creation.

Can I apply Primary Key and Unique constraints when creating Delta Lake tables in Databricks?

Yes, you can apply Primary Key and Unique constraints when creating Delta Lake tables in Databricks. By using declarative YAML schema definitions, the table creation process automatically orchestrates constraint application alongside standard DDL generation.

How do I ensure idempotent table creation and schema enforcement in Databricks?

Idempotent table creation and schema enforcement in Databricks are ensured by driving the process with declarative YAML files. This method standardizes Delta Lake property configuration and schema rules, preventing duplicate or inconsistent table structures.

Does this YAML-driven table creation work with standard Delta Lake properties like CDF and row tracking?

Yes, YAML-driven table creation works with standard Delta Lake properties like Change Data Feed and row tracking. The schema definitions automatically apply these essential Delta Lake properties during the DDL generation and table provisioning process.

What is the best way to automate Gold layer table provisioning in Databricks?

The best way to automate Gold layer table provisioning in Databricks is using declarative YAML schema designs. This approach instantly provisions all necessary tables by orchestrating DDL generation and constraint application, ensuring consistency and reducing manual SQL writing.