data-data-warehouse
Use when the user asks about a data warehouse on Snowflake, BigQuery or Redshift, clustering and partitioning, materialized views, OLAP performance or…
от j4flmao★ 47 звёзд на GitHub
Установить data-data-warehouse в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Data Data Warehouse
Purpose
Design data warehouse schemas with dimensional modeling, platform-specific optimization, materialized views, and cost controls.
Agent Protocol
Trigger
Exact user phrases: "data warehouse", "Snowflake", "BigQuery", "Redshift", "star schema", "snowflake schema", "OLAP", "dimensional modeling", "fact table", "dimension table", "data warehouse design", "warehouse schema", "partition", "cluster", "materialized view", "warehouse optimization", "slowly changing dimension".
Input Context
Before activating, verify:
- Warehouse platform (Snowflake, BigQuery, Redshift, DuckDB)
- Data size and growth rate (TB scale, daily increment)
- Query patterns (dashboard, ad-hoc, ML feature extraction)
- Business domains (sales, marketing, finance, product)
- Compliance requirements (data retention, PII masking)
Output Artifact
Data warehouse design with schema, partition strategy, optimization plan as SQL and YAML.
Response Format
-- Fact table DDL
-- Dimension table DDL
-- Materialized view DDL
# Partition/cluster config
# Cost optimization rules
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
Completion Criteria
- Dimensional model with fact and dimension tables designed
- Slowly changing dimension strategy selected (SCD Type 2 default)
- Partitioning and clustering configured per table
- Materialized views defined for common query patterns
- Cost optimization rules configured
- Data retention and lifecycle policies set
Max Response Length
300 lines of SQL and configuration.
Warehouse Platforms
Snowflake
Snowflake is a fully-managed cloud data warehouse with separated compute and storage. Key features: auto-scaling warehouses (XS to 6XL), automatic clustering, zero-copy cloning, time travel (up to 90 days), data sharing, and Snowpark for Python/Java/Scala processing. Snowflake uses a columnar storage format with automatic micro-partitioning. Compute is billed per second while active; storage is billed per TB per month. Best for: organizations that want minimal operational overhead, need data sharing capabilities, or require multi-cloud support.
BigQuery
BigQuery is Google Cloud's serverless data warehouse. Key features: automatic partitioning and clustering, unlimited storage with no management, BI Engine for cached dashboard queries, BigQuery ML for in-database ML, and slot-based pricing. BigQuery separates compute (slots) from storage. Queries scan data on demand — there is no compute cluster to manage. Pricing is per byte scanned (on-demand) or per slot (flat-rate). Best for: GCP-native organizations, teams that want zero infrastructure management, and ad-hoc analytics at petabyte scale.
Redshift
Redshift is AWS's cloud data warehouse. Key features: RA3 nodes with managed storage, concurrency scaling for burst traffic, Spectrum for querying S3 data, AQUA for accelerated queries, and materialized views. Redshift uses a traditional clustered architecture with leader and compute nodes. Distribution styles (KEY, EVEN, ALL) and sort keys require manual optimization. Best for: AWS-native organizations, high-concurrency workloads, and teams with SQL expertise who want granular control over performance.
Databricks SQL
Databricks SQL provides a lakehouse architecture combining data lake and warehouse capabilities. Key features: Delta Lake for ACID transactions on data lakes, Photon engine for accelerated SQL, serverless SQL warehouses, and Unity Catalog for governance. Databricks SQL queries data directly from cloud storage (S3, ADLS, GCS) in Delta Lake format. Best for: organizations with existing Databricks investments, ML and analytics convergence, and open-format data lake requirements.
Dimensional Modeling
Star Schema
One fact table per business process at the center with dimension tables arranged around it. Dimensions are denormalized (wide tables with all attributes). Fast queries with few joins. Intuitive for business users. Well-supported by BI tools. The default modeling choice for most data warehouses.
Snowflake Schema
Dimension tables are normalized into sub-dimensions. Reduces data redundancy and storage costs. More joins required — slower for queries. Better for deeply hierarchical dimensions (product category → subcategory → brand) and regulatory requirements for normalized models. Use when dimensions have many attributes with natural hierarchies.
Fact Types
Transaction facts: one row per event (order, click, transaction). Fully additive. Periodic snapshot facts: one row per period (daily account balance, monthly inventory). Semi-additive — additive across dimensions but not time. Cumulative snapshot facts: one row per process lifecycle (order-to-delivery pipeline). Used for pipeline analysis and cycle time measurement.
Slowly Changing Dimensions
SCD Type 0 (retain original):
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/api_reference.md
- references/architecture-patterns.md
- references/clickhouse-analytics.md
- references/duckdb.md
- references/modeling-optimization.md
- references/performance-optimization.md
- references/timescaledb-druid.md
- references/warehouse-cost-optimization.md
- references/warehouse-data-sharing.md
- references/warehouse-observability.md
- references/warehouse-platforms.md
- references/warehouse-security.md
FAQ
Что делает скилл data-data-warehouse?
Use when the user asks about a data warehouse on Snowflake, BigQuery or Redshift, clustering and partitioning, materialized views, OLAP performance or warehouse cost. Produces platform-specific table design and optimization steps. Not for Kimball grain and SCD design (use data-dimensional-modeling) or pipeline orchestration (use data-etl-pipeline).
Как установить скилл data-data-warehouse?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-data-warehouse запускает скрипты?
Нет, скилл состоит только из инструкций (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…