data-data-lakehouse
Use when the user asks about lakehouse architecture, choosing Iceberg or Delta for our lakehouse, medallion bronze/silver/gold layers, Databricks Unity…
от j4flmao★ 47 звёзд на GitHub
Установить data-data-lakehouse в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Data Data Lakehouse
Purpose
Design lakehouse architectures that merge data lake flexibility with warehouse reliability. Implement medallion architecture for data quality progression, Unity Catalog for governance, Delta Sharing for data collaboration, and multi-cloud deployment patterns.
Agent Protocol
Trigger
Exact user phrases: "lakehouse", "medallion architecture", "bronze", "silver", "gold", "Databricks", "Unity Catalog", "Delta Sharing", "Apache Paimon", "multi-cloud lakehouse", "open formats", "lakehouse governance", "data mesh lakehouse".
Input Context
Before activating, verify:
- Cloud provider (AWS, Azure, GCP, multi-cloud)
- Lakehouse platform (Databricks, AWS EMR, Azure Synapse, GCP Dataproc)
- Table format (Delta, Iceberg, Paimon)
- Data sources volume and types
- Number of data producers and consumers
- Security requirements (RBAC, column mask, row filter)
- Data sharing requirements (internal teams, external partners)
Output Artifact
Lakehouse architecture with medallion layers, Unity Catalog configuration, and platform deployment specs.
Response Format
Lakehouse Platform: {Databricks | EMR + Iceberg | Synapse + Delta | Dataproc + Iceberg}
Catalog: {Unity Catalog | Hive Metastore | AWS Glue | Nessie}
Table Format: {Delta | Iceberg | Paimon}
Medallion Layers: Bronze (raw), Silver (cleaned), Gold (aggregated)
Sharing: {Delta Sharing | open | proprietary}
# Unity Catalog metastore config
# Medallion pipeline YAML
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
Completion Criteria
- Medallion layers defined with data flow and transformations
- Unity Catalog or equivalent metastore configured
- RBAC and column-level security defined
- Delta Sharing setup for cross-team/partner data access
- Table format selected with interoperability plan
- Multi-cloud or cross-region replication strategy
- Data quality checks at each medallion layer
- Platform deployment topology (compute, storage, catalog)
Max Response Length
300 lines of code and configuration.
Workflow
Step 1: Medallion Architecture
Bronze: raw ingested data, schema-on-read, append-only, preserves original format. Silver: cleaned, deduplicated, validated, partitioned, CDC applied. Gold: aggregated, joined, business-level KPIs, consumption-ready for BI and ML.
Bronze fails are quarantined (dead-letter). Silver fails are logged and alerted. Gold fails block dashboard refresh.
Define retention per layer: Bronze 30-90 days raw, Silver 90-365 days cleaned, Gold 365+ days aggregated. Use different storage classes per layer (Bronze on standard, Gold on SSD-accelerated).
-- Bronze table (append-only)
CREATE TABLE bronze.events (
event_id STRING, event_type STRING, payload STRUCT<...>,
ingest_time TIMESTAMP, source_file STRING
) USING DELTA
TBLPROPERTIES ('delta.appendOnly' = 'true');
-- Silver table (deduplicated)
CREATE TABLE silver.events (
event_id STRING, event_type STRING, ...,
valid_from TIMESTAMP, valid_to TIMESTAMP, is_current BOOLEAN
) USING DELTA
TBLPROPERTIES ('delta.feature.timestampNtz' = 'true');
Step 2: Unity Catalog
Metastore: top-level container for metadata, maps to cloud storage location. Catalog: logical database grouping (e.g., prod, dev, analytics). Schema: namespace within catalog (e.g., bronze, silver, gold). Tables, views, functions, models.
-- Unity Catalog DDL
CREATE CATALOG IF NOT EXISTS retail;
USE CATALOG retail;
CREATE SCHEMA IF NOT EXISTS bronze;
CREATE SCHEMA IF NOT EXISTS silver;
CREATE SCHEMA IF NOT EXISTS gold;
-- Grant permissions
GRANT USAGE ON CATALOG retail TO `domain-commerce`;
GRANT SELECT ON SCHEMA retail.silver TO `domain-analytics`;
GRANT MODIFY ON SCHEMA retail.bronze TO `data-engineers`;
-- Row filter
CREATE OR REPLACE FUNCTION retail.filter_pii()
RETURN filter_condition AS "region = current_user_region()";
ALTER TABLE silver.customers SET ROW FILTER retail.filter_pii ON (region);
Step 3: Delta Sharing
Open protocol for secure data sharing between Delta Lake tables. No data copy — recipient gets read-only access to pre-signed URLs.
-- Create a share
CREATE SHARE IF NOT EXISTS retail_share;
ALTER SHARE retail_share ADD TABLE retail.gold.daily_revenue;
ALTER SHARE retail_share ADD TABLE retail.gold.top_products;
-- Create recipient
CREATE RECIPIENT IF NOT EXISTS partner_analytics
USING AUTHENTICATION TYPE DATABRICKS;
GRANT SELECT ON SHARE retail_share TO RECIPIENT partner_analytics;
Delta Sharing protocol is open and implemented by Databricks, OSS Delta Lake, Apache Spark, Pandas, and PowerBI. Recipients do not need Databricks — they only need the Delta Sharing client library.
Step 4: Apache Paimon
Unified streaming and batch lake format built for Flink. Uses LSM tree for high-throughput writes. Supports primary keys, partial updates, sequence groups.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/apache-iceberg.md
- references/api_reference.md
- references/architecture-patterns.md
- references/architecture_patterns.md
- references/code-organization.md
- references/configuration_guide.md
- references/deployment-pipelines.md
- references/deployment_strategies.md
- references/error-handling.md
- references/integration_guide.md
- references/lakehouse-architecture-patterns.md
- references/lakehouse-architecture.md
- references/lakehouse-catalog-integration.md
- references/lakehouse-ecosystem-tools.md
- references/lakehouse-format-deep-dive.md
- references/lakehouse-monitoring.md
- references/lakehouse-performance-optimization.md
- references/lakehouse-platform.md
- references/lakehouse-query-engines.md
- references/medallion-architecture.md
- references/performance-optimization.md
- references/performance_tuning.md
- references/security-best-practices.md
- references/security_best_practices.md
- references/state-management.md
- references/testing-strategies.md
- references/troubleshooting_guide.md
FAQ
Что делает скилл data-data-lakehouse?
Use when the user asks about lakehouse architecture, choosing Iceberg or Delta for our lakehouse, medallion bronze/silver/gold layers, Databricks Unity Catalog, Delta Sharing, Apache Paimon or multi-engine catalogs (Polaris, Glue). Produces layer design, catalog and access model and format commitment. Not for single-table operations (use data-data-lake).
Как установить скилл data-data-lakehouse?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-data-lakehouse запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…