/polymath-streaming:data-modelingfrom polymath-streaming
Model analytical data — dimensional (star/snowflake) vs normalized vs lakehouse medallion layers, grain, partitioning, slowly-changing dimensions, and schema evolution.
Ships in polymath-streaming. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Declare the grain of every fact table in one sentence before you add a column. Most warehouse pain is a fact table whose grain nobody can state.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
polymath-streaming:data-modeling.Not this when: you are designing an OLTP transactional schema for a service — that is polymath-backend:db-schema. For the pipeline that loads these tables, polymath-streaming:data-pipeline.
Data model: order analytics (lakehouse)
Style: medallion — bronze raw CDC → silver conformed → gold marts
Facts
gold.fct_order_line grain: one row per order line per order version (latest per day in the view)
gold.fct_refund grain: one row per refund event
Dimensions (conformed)
dim_customer SCD2 (tier and region history matter for cohorts) surrogate key customer_sk
dim_product SCD1 (only current names are reported)
dim_date static
Partitioning: facts by order_date (dominant filter); clustered by customer_sk, product_sk
Evolution: additive-only in silver/gold; breaking change → new versioned table + 30-day dual-write; bronze immutable
Late data: late order lines join dim_customer as of the order date (SCD2 effective dates); unknown customer → -1 member, repaired nightly
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-streaming9 skills in this plugin
/azure-event-hubs-designDesign and size Azure Event Hubs — tier, throughput units, partitions, consumer groups, checkpointing, Capture, Kafka endpoint./data-lake-layoutDesign the physical data lake — zones, paths, Parquet and Delta/Iceberg, file sizing, partitioning, compaction, lifecycle tiers./data-pipelineDesign a data pipeline — ETL vs ELT, batch vs streaming, orchestration/DAG, idempotent backfills, schema handling, data-quality checks, and lineage.Other plugins' skills for the same job