architecting-data
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional, normalized, data vault, wide tables), data mesh principles, and medallion architecture patterns. Use when architecting data platforms, choosing between centralized vs decentralized patterns, selecting table formats (Iceberg, Delta Lake), or designing data governance frameworks.
What this skill does
# Data Architecture ## Purpose Guide architects and platform engineers through strategic data architecture decisions for modern cloud-native data platforms. ## When to Use This Skill Invoke this skill when: - Designing a new data platform or modernizing legacy systems - Choosing between data lake, data warehouse, or data lakehouse - Deciding on data modeling approaches (dimensional, normalized, data vault, wide tables) - Evaluating centralized vs data mesh architecture - Selecting open table formats (Apache Iceberg, Delta Lake, Apache Hudi) - Designing medallion architecture (bronze, silver, gold layers) - Implementing data governance and cataloging ## Core Concepts ### 1. Storage Paradigms Three primary patterns for analytical data storage: **Data Lake:** Centralized repository for raw data at scale - Schema-on-read, cost-optimized ($0.02-0.03/GB/month) - Use when: Diverse data sources, exploratory analytics, ML/AI training data **Data Warehouse:** Structured repository optimized for BI - Schema-on-write, ACID transactions, fast queries - Use when: Known BI requirements, strong governance needed **Data Lakehouse:** Hybrid combining lake flexibility with warehouse reliability - Open table formats (Iceberg, Delta Lake), ACID on object storage - Use when: Mixed BI + ML workloads, cost optimization (60-80% cheaper than warehouse) **Decision Framework:** - BI/Reporting only + Known queries → Data Warehouse - ML/AI primary + Raw data needed → Data Lake or Lakehouse - Mixed BI + ML + Cost optimization → Data Lakehouse (recommended) - Exploratory/Unknown use cases → Data Lake For detailed comparison, see [references/storage-paradigms.md](references/storage-paradigms.md). ### 2. Data Modeling Approaches Four primary modeling patterns: **Dimensional (Kimball):** Star/snowflake schemas for BI - Use when: Known query patterns, BI dashboards, trend analysis **Normalized (3NF):** Eliminate redundancy for transactional systems - Use when: OLTP systems, frequent updates, strong consistency **Data Vault 2.0:** Flexible model with complete audit trail - Use when: Compliance requirements, multiple sources, agile warehousing **Wide Tables:** Denormalized, optimized for columnar storage - Use when: ML feature stores, data science notebooks, high-performance dashboards **Decision Framework:** - Analytical (BI) + Known queries → Dimensional (Star Schema) - Transactional (OLTP) → Normalized (3NF) - Compliance/Audit → Data Vault 2.0 - Data Science/ML → Wide Tables For detailed patterns, see [references/modeling-approaches.md](references/modeling-approaches.md). ### 3. Data Mesh Principles Decentralized architecture for large organizations (>500 people). **Four Core Principles:** 1. Domain-oriented decentralization 2. Data as a product (SLAs, quality, documentation) 3. Self-serve data infrastructure 4. Federated computational governance **Readiness Assessment (Score 1-5 each):** 1. Domain clarity 2. Team maturity 3. Platform capability 4. Governance maturity 5. Scale need 6. Organizational buy-in **Scoring:** 24-30: Strong candidate | 18-23: Hybrid | 12-17: Build foundation first | 6-11: Centralized **Red Flags:** Small org (<100 people), unclear domains, no platform team, weak governance For full guide, see [references/data-mesh-guide.md](references/data-mesh-guide.md). ### 4. Medallion Architecture Standard lakehouse pattern: Bronze (raw) → Silver (cleaned) → Gold (business-level) **Bronze Layer:** Exact copy of source data, immutable, append-only **Silver Layer:** Validated, deduplicated, typed data **Gold Layer:** Business logic, aggregates, dimensional models, ML features **Data Quality by Layer:** - Bronze → Silver: Schema validation, type checks, deduplication - Silver → Gold: Business rule validation, referential integrity - Gold: Anomaly detection, statistical checks For patterns, see [references/medallion-pattern.md](references/medallion-pattern.md). ### 5. Open Table Formats Enable ACID transactions on data lakes: **Apache Iceberg:** Multi-engine, vendor-neutral (Context7: 79.7 score) - Use when: Avoid vendor lock-in, multi-engine flexibility **Delta Lake:** Databricks ecosystem, Spark-optimized - Use when: Committed to Databricks **Apache Hudi:** Optimized for CDC and frequent upserts - Use when: CDC-heavy workloads **Recommendation:** Apache Iceberg for new projects (vendor-neutral, broadest support) For comparison, see [references/table-formats.md](references/table-formats.md). ### 6. Modern Data Stack **Standard Layers:** - Ingestion: Fivetran, Airbyte, Kafka - Storage: Snowflake, Databricks, BigQuery - Transformation: dbt (Context7: 87.0 score), Spark - Orchestration: Airflow, Dagster, Prefect - Visualization: Tableau, Looker, Power BI - Governance: DataHub, Alation, Great Expectations **Tool Selection:** - Fivetran vs Airbyte: Pre-built connectors vs cost-sensitive - Snowflake vs Databricks: BI-focused vs ML-focused - dbt vs Spark: SQL-based vs large-scale processing For detailed recommendations, see [references/tool-recommendations.md](references/tool-recommendations.md) and [references/modern-data-stack.md](references/modern-data-stack.md). ### 7. Data Governance **Data Catalog:** Searchable inventory (DataHub, Alation, Collibra) **Data Lineage:** Track data flow (OpenLineage, Marquez) **Data Quality:** Validation and testing (Great Expectations, Soda, dbt tests) **Access Control:** - RBAC: Role-based (sales_analyst role) - ABAC: Attribute-based (row-level security) - Column-level: Dynamic data masking for PII For governance patterns, see [references/governance-patterns.md](references/governance-patterns.md). ## Decision Frameworks ### Framework 1: Storage Paradigm Selection **Step 1: Identify Primary Use Case** - BI/Reporting only → Data Warehouse - ML/AI primary → Data Lake or Lakehouse - Mixed BI + ML → Data Lakehouse - Exploratory → Data Lake **Step 2: Evaluate Budget** - High budget, known queries → Data Warehouse - Cost-sensitive, flexible → Data Lakehouse **Recommendation by Org Size:** - Startup (<50): Data Warehouse (simplicity) - Growth (50-500): Data Lakehouse (balance) - Enterprise (>500): Hybrid or unified Lakehouse See [references/decision-frameworks.md](references/decision-frameworks.md#storage-paradigm). ### Framework 2: Data Modeling Approach **Decision Tree:** - Analytical (BI) workload → Dimensional or Wide Tables - Transactional (OLTP) → Normalized (3NF) - Compliance/Audit → Data Vault 2.0 - Data Science/ML → Wide Tables See [references/decision-frameworks.md](references/decision-frameworks.md#modeling-approach). ### Framework 3: Data Mesh Readiness Use 6-factor assessment. Score interpretation: - 24-30: Proceed with data mesh - 18-23: Hybrid approach - 12-17: Build foundation first - 6-11: Centralized See [references/decision-frameworks.md](references/decision-frameworks.md#data-mesh-readiness). ### Framework 4: Open Table Format Selection **Decision Tree:** - Multi-engine flexibility → Apache Iceberg - Databricks ecosystem → Delta Lake - Frequent upserts/CDC → Apache Hudi **Recommendation:** Apache Iceberg for new projects See [references/decision-frameworks.md](references/decision-frameworks.md#table-format). ## Common Scenarios ### Startup Data Platform **Context:** 50-person startup, PostgreSQL + MongoDB + Stripe **Recommendation:** - Storage: BigQuery or Snowflake - Ingestion: Airbyte or Fivetran - Transformation: dbt - Orchestration: dbt Cloud - Architecture: Simple data warehouse See [references/scenarios.md](references/scenarios.md#startup). ### Enterprise Modernization **Context:** Legacy Oracle warehouse, need cloud migration **Recommendation:** - Storage: Data Lakehouse (Databricks or Snowflake with Iceberg) - Strategy: Incremental migration with CDC - Architecture: Medallion (bronze, silver, gold) - Cost Savings: 60-80% See [references/scenarios.md](references/scenarios.md#enterprise-modernization). ### Data Mesh Assessment **Context:** 200-per
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.