[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FAY0F415NHJ0X15S4197B9":3,"skill-same:01M7FAY0F415NHJ0X15S4197B9":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7FAY0F415NHJ0X15S4197B9","data-modeling",null,"Designs the warehouse and semantic layer — source-to-mart structure, dimensional modeling, grain, slowly changing dimensions, and the metric layer analytics reads through. Use this to design or restructure a warehouse, model a new source, decide on grain or table structure, build a semantic or metric layer, or diagnose why queries are slow, wrong, or impossible to write.","siddu1004\u002FSFP","siddu1004","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F260113491?v=4","01M7F8W1SAJAR49097VRTE1TW5","Siddhardh Vanguri","01M7F8W1SYGY7JE15AHAECCT9R",5,"MIT","https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fbusiness-ops\u002Fskills\u002Fdata-modeling\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: data-modeling\ndescription: Designs the warehouse and semantic layer — source-to-mart structure, dimensional modeling, grain, slowly changing dimensions, and the metric layer analytics reads through. Use this to design or restructure a warehouse, model a new source, decide on grain or table structure, build a semantic or metric layer, or diagnose why queries are slow, wrong, or impossible to write.\n---\n\n# Data modeling\n\n## Layers, and why the middle one matters\n\nThree layers, each with one job:\n\n1. **Raw** — source data, append-only, otherwise unmodified. Do not apply *business* logic on\n   ingest: you cannot recover what you discarded, and the logic will need to change retroactively.\n\n   **Privacy and security transformations are the exception, and belong at ingest.** Credentials and\n   secrets should never land in the warehouse at all. Personal data that is not needed should be\n   dropped rather than stored and governed later, and identifiers you must keep but rarely need in\n   the clear should be tokenized or encrypted on arrival. Retention and deletion apply from ingest,\n   not from the marts.\n\n   The distinction: strip what you must not hold, keep everything you are entitled to hold, and\n   leave interpretation for later.\n2. **Staging** — cleaned and conformed: consistent types, standardized names, deduplicated, no\n   business logic yet.\n3. **Marts** — business-facing models shaped for how questions are asked.\n\nThe discipline that pays is keeping business logic out of layers 1 and 2. Logic embedded in ingestion\ncannot be changed retroactively, and it will need to change.\n\n## Grain is the decision everything follows from\n\nState the grain of every table in one sentence: *one row per what*. \"One row per order line per day\"\nis a grain. \"Order data\" is not.\n\nMost modeling errors are grain errors, and they surface as fan-out — a join multiplying rows so every\ndownstream sum is inflated. If a number is mysteriously too high, check the grain before checking the\nlogic.\n\n## Dimensional structure\n\nFacts for events and measurements; dimensions for the things being described. Keep facts narrow and\nlong, dimensions wide and short.\n\nConform dimensions across facts — one customer dimension, used everywhere. Separate customer tables\nper domain is how the same customer gets counted differently in two reports.\n\n**Handle history deliberately.** Overwriting a dimension attribute rewrites the past: last year's\nrevenue silently re-attributes to this year's segment. Decide per attribute whether history matters,\nand where it does, keep versions with valid-from and valid-to.\n\n## The semantic layer\n\nDefine metrics once, above the marts, and have every consumer read through it. Without it, the same\nmetric is reimplemented in each dashboard and they drift — not because anyone is careless, but\nbecause a filter differs.\n\nThe semantic layer is where the metric dictionary becomes executable rather than documentary.\n\n## Performance\n\nModel for the query pattern you actually have. Pre-aggregate what is queried constantly; leave the\nlong tail to compute on demand.\n\nPartition and cluster on what people filter by — usually time, then a tenant or entity key. Most slow\nwarehouse queries are full scans of a table that could have been partitioned by date.\n\nDenormalize deliberately, and write down why. Undocumented denormalization is indistinguishable from\na modeling error six months later.\n\n## Sources\n\n`references\u002Fsources.md` in this skill lists the outside authorities that settle the questions\nhere — what each one is authoritative for, and what you may do with it. Check them before\nanswering on anything they cover, and cite what you used. Most are free to read and not free\nto reproduce; the use note on each is binding.\n\n## Never\n\n- Build a mart directly on raw. The coupling means every source change breaks the business layer.\n- Mix grains in one table.\n- Let a dashboard contain business logic the warehouse does not. That logic is invisible and\n  unversioned.\n","# Data modeling\n\n## Layers, and why the middle one matters\n\nThree layers, each with one job:\n\n1. **Raw** — source data, append-only, otherwise unmodified. Do not apply *business* logic on\n   ingest: you cannot recover what you discarded, and the logic will need to change retroactively.\n\n   **Privacy and security transformations are the exception, and belong at ingest.** Credentials and\n   secrets should never land in the warehouse at all. Personal data that is not needed should be\n   dropped rather than stored and governed later, and identifiers you must keep but rarely need in\n   the clear should be tokenized or encrypted on arrival. Retention and deletion apply from ingest,\n   not from the marts.\n\n   The distinction: strip what you must not hold, keep everything you are entitled to hold, and\n   leave interpretation for later.\n2. **Staging** — cleaned and conformed: consistent types, standardized names, deduplicated, no\n   business logic yet.\n3. **Marts** — business-facing models shaped for how questions are asked.\n\nThe discipline that pays is keeping business logic out of layers 1 and 2. Logic embedded in ingestion\ncannot be changed retroactively, and it will need to change.\n\n## Grain is the decision everything follows from\n\nState the grain of every table in one sentence: *one row per what*. \"One row per order line per day\"\nis a grain. \"Order data\" is not.\n\nMost modeling errors are grain errors, and they surface as fan-out — a join multiplying rows so every\ndownstream sum is inflated. If a number is mysteriously too high, check the grain before checking the\nlogic.\n\n## Dimensional structure\n\nFacts for events and measurements; dimensions for the things being described. Keep facts narrow and\nlong, dimensions wide and short.\n\nConform dimensions across facts — one customer dimension, used everywhere. Separate customer tables\nper domain is how the same customer gets counted differently in two reports.\n\n**Handle history deliberately.** Overwriting a dimension attribute rewrites the past: last year's\nrevenue silently re-attributes to this year's segment. Decide per attribute whether history matters,\nand where it does, keep versions with valid-from and valid-to.\n\n## The semantic layer\n\nDefine metrics once, above the marts, and have every consumer read through it. Without it, the same\nmetric is reimplemented in each dashboard and they drift — not because anyone is careless, but\nbecause a filter differs.\n\nThe semantic layer is where the metric dictionary becomes executable rather than documentary.\n\n## Performance\n\nModel for the query pattern you actually have. Pre-aggregate what is queried constantly; leave the\nlong tail to compute on demand.\n\nPartition and cluster on what people filter by — usually time, then a tenant or entity key. Most slow\nwarehouse queries are full scans of a table that could have been partitioned by date.\n\nDenormalize deliberately, and write down why. Undocumented denormalization is indistinguishable from\na modeling error six months later.\n\n## Sources\n\n`references\u002Fsources.md` in this skill lists the outside authorities that settle the questions\nhere — what each one is authoritative for, and what you may do with it. Check them before\nanswering on anything they cover, and cite what you used. Most are free to read and not free\nto reproduce; the use note on each is binding.\n\n## Never\n\n- Build a mart directly on raw. The coupling means every source change breaks the business layer.\n- Mix grains in one table.\n- Let a dashboard contain business logic the warehouse does not. That logic is invisible and\n  unversioned.\n",{"name":5,"description":7},"main","15fa5201935d2b1d172b4e61c2360c908d876d20","plugins\u002Fbusiness-ops\u002Fskills\u002Fdata-modeling",0,"https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fsfp-hive","https:\u002F\u002Fgithub.com\u002Fsiddu1004","I am a student at Amrita Vishwa Vidyapeetham pursuing my BTECH degree in Electronics and Electrical Engineering (2024-2028).","2026-11-09 16:04:40",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add siddu1004\u002FSFP --skill data-modeling",{"tool":39,"command":40},"bunx","bunx skills add siddu1004\u002FSFP --skill data-modeling",{"tool":42,"command":43},"pnpm","pnpm dlx skills add siddu1004\u002FSFP --skill data-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fbusiness-ops\u002Fskills\u002Fdata-modeling\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fsources.md","REFERENCE","参考文档",1252,"https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fbusiness-ops\u002Fskills\u002Fdata-modeling\u002Freferences\u002Fsources.md",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7FEEDADZBNBVY19H3XZKCBQ","scientific-schematics","Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.7 Flash for quality review. Refines when the review requests improvement, with at most two generations. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.","https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fscience-hardware\u002Fskills\u002Fscientific-schematics\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7FEE0JS04FE58MST48D0MMC","polyhaven-texture-apply","Apply realistic PBR textures from PolyHaven to any Blender object. Supports metals, wood, concrete, fabric, and more. Trigger when asked to texture an object, apply a material from PolyHaven, make something look like metal\u002Fwood\u002Fmarble, or change object surface.","https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fscience-hardware\u002Fskills\u002Fpolyhaven-texture-apply\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7FEDJRWV194TY411WVRS84W","polyhaven-studio-setup","Set up a professional product photography studio in Blender using PolyHaven HDRIs and PBR ground materials. Trigger when asked to create a studio setup, add HDRI lighting, set up product photography, or create a showroom scene.","https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fscience-hardware\u002Fskills\u002Fpolyhaven-studio-setup\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7FED5H2FGS50XGETMGSM0RV","polyhaven-scene-builder","Build complete product scenes using PolyHaven assets — HDRI environment, textured ground\u002Fpedestal, and optional props from the 3D model library. Trigger when asked to build a product scene, create a showcase setup, add a pedestal, or compose a product shot.","https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fscience-hardware\u002Fskills\u002Fpolyhaven-scene-builder\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FECSNZ2CJA7Z8TPE5R844R","polyhaven-material-swap","Cycle through multiple PolyHaven materials on a product and render each variant. Great for showing color\u002Ffinish options. Trigger when asked to show material variants, swap textures, create color options, show finish comparisons, or render product in different materials.","https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fscience-hardware\u002Fskills\u002Fpolyhaven-material-swap\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7FECBPQ6YWH48PYAMS0C5CE","polyhaven-hdri-showcase","Render the same product across multiple HDRI environments and output a comparison grid. Trigger when asked to compare lighting setups, test different environments, show product in multiple settings, or create an HDRI comparison.","https:\u002F\u002Fgithub.com\u002Fsiddu1004\u002FSFP\u002Fblob\u002Fmain\u002Fplugins\u002Fscience-hardware\u002Fskills\u002Fpolyhaven-hdri-showcase\u002FSKILL.md",[],[]]