07-design-validation

Validate Gold layer YAML schemas, ERDs, and lineage CSVs for consistency.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures that all design artifacts for the Gold layer (YAML schemas, ERDs, lineage CSVs, PK/FK references) are internally consistent before implementation, preventing runtime bugs caused by design-time errors.

Core Features & Use Cases

  • Cross-validation: Compares YAML schemas against ERD diagrams to ensure all tables and columns align.
  • Lineage Verification: Checks that every column defined in YAML has a corresponding entry in the lineage CSV.
  • PK/FK Integrity: Validates that all foreign key references correctly point to primary keys in other tables.
  • Mandatory Field Check: Ensures all YAML schemas adhere to required properties and configurations.
  • Use Case: Before handing off Gold layer designs to the implementation team, run this Skill to catch discrepancies like a column existing in the ERD but missing from the YAML schema, or a foreign key referencing a non-existent primary key.

Quick Start

Run the complete design validation suite for the gold layer using the provided project directory.

Frequently Asked Questions about 07-design-validation

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

FAQPage Schema
How do I validate Gold layer design artifacts before implementation?

To validate Gold layer design artifacts, you can cross-check YAML schemas against ERDs and lineage CSVs. This process identifies discrepancies in table definitions, column mappings, and foreign key references to prevent runtime bugs during the implementation phase.

What is data lineage verification for YAML schemas and CSVs?

Data lineage verification checks that every column defined in a YAML schema has a corresponding entry in the lineage CSV. This ensures full traceability of data transformations and confirms that all Gold layer mappings are accounted for before implementation.

How do I check primary key and foreign key integrity in data modeling schemas?

Checking primary key and foreign key integrity involves validating that all foreign key references in your YAML schemas correctly point to existing primary keys in other tables. This prevents broken joins and referential integrity errors in your Gold layer.

Can I cross-validate ERD diagrams against YAML schemas for missing columns?

Yes, you can cross-validate ERD diagrams against YAML schemas to ensure all tables and columns align perfectly. This catches discrepancies like a column existing in the ERD but missing from the YAML schema, ensuring strict design consistency.

What mandatory schema properties should be checked in Gold layer YAML files?

Mandatory schema properties in Gold layer YAML files include required table definitions, column configurations, and primary key declarations. Checking these properties ensures all schemas adhere to required data governance standards before implementation handoff.

Why does my Gold layer schema validation fail on missing lineage entries?

Gold layer schema validation fails on missing lineage entries when a column defined in the YAML schema lacks a corresponding mapping in the lineage CSV. Resolving this requires updating the lineage file to include all defined columns for complete traceability.