databricks-data-engineering

Implements Databricks data engineering pipelines using medallion architecture, Delta Lake, and Unity Catalog patterns.

1|2|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/TRRaveendra/AI-Agents-Databricks --skill databricks-data-engineering-trraveendra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-data-engineering
Source: https://github.com/TRRaveendra/AI-Agents-Databricks/tree/main/ai-agent-skills/databricks-data-engineering
Command: npx skills add https://github.com/TRRaveendra/AI-Agents-Databricks --skill databricks-data-engineering-trraveendra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building production-grade data pipelines on Databricks requires deep knowledge of medallion architecture, Delta Lake features, CDC handling, and performance optimization, and mistakes lead to data quality issues, slow queries, and failed deployments. ## Core Features & Use Cases - Medallion Architecture Guidance: Layer-specific patterns for Bronze (raw ingestion), Silver (cleansing/validation), and Gold (business aggregates) with audit columns and idempotency. - Ingestion & CDC Patterns: Auto Loader, JDBC incremental loads with watermarks, MERGE-based upserts, Change Data Feed, and SCD Type 2 implementations. - Delta Lake & Performance: Time travel, OPTIMIZE, VACUUM, liquid clustering, constraints, AQE/Photon tuning, and small-file remediation. - Use Case: Ask to build an incremental CDC pipeline and receive a complete implementation with watermark tracking, MERGE logic, quarantine tables for bad records, and a production readiness checklist. ## Quick Start Ask the agent to build an incremental data pipeline with CDC on Databricks following medallion architecture best practices.

Frequently Asked Questions about databricks-data-engineering

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

FAQPage Schema
How do I build an incremental data pipeline on Databricks?

Use watermark-based incremental loads that track the maximum processed timestamp, then apply MERGE operations to upsert new and changed records into Delta tables. Auto Loader with checkpointing handles file-based sources with exactly-once guarantees.

How to implement SCD Type 2 in Databricks Delta Lake?

Implement SCD Type 2 with a two-step MERGE: first expire current records by setting is_current to false and an end date, then insert new versions with effective start dates. Use surrogate keys for fact table joins and query current state with the is_current flag.

Should I use liquid clustering or partitioning for Delta tables?

Liquid clustering is the recommended default over legacy partitioning for Delta tables on Databricks. It avoids small-partition problems, adapts to query patterns automatically, and can be changed with ALTER TABLE without rewriting data.

Does Auto Loader support schema evolution for streaming ingestion?

Yes, Auto Loader supports automatic schema inference and evolution when reading files from cloud storage. Provide schema hints for critical columns and set a schema location so new columns are tracked safely across runs.

Why is my Delta table query slow and how do I fix it?

Slow Delta queries usually stem from small files, missing clustering, or data skew. Run OPTIMIZE to compact files, enable liquid clustering on filter columns, and check AQE and Photon settings for join and aggregation performance.

How do I handle bad records in a Databricks data pipeline?

Validate records in the Silver layer and route failures to a quarantine table instead of dropping them. Track validation errors in an array column and reconcile row counts between source, target, and quarantine to detect silent data loss.