Schema Evaluation
Evaluate and design data warehouse schemas — star, snowflake, data vault, OBT — with grain definition, SCD strategies, and normalization trade-offs
Skill by dtsong
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dtsong-schema-evaluation-a1fa36
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/schema-evaluation
What's inside
- Skill name
Schema Evaluation- Description
- Evaluate and design data warehouse schemas — star, snowflake, data vault, OBT — with grain definition, SCD strategies, and normalization trade-offs
- License
- MIT
- Instructions
- 136 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Schema Evaluation" does not match folder "schema-evaluation"
Files (1)
- SKILL.md
SKILL.md (first lines)
# Schema Evaluation ## Purpose Evaluate and design data warehouse schemas for analytical workloads. Covers star schemas, snowflake schemas, data vault, and One Big Table (OBT) patterns. Assesses grain definition, normalization trade-offs, slowly changing dimension strategies, and data contracts between producers and consumers. ## Inputs - Business domain and key entities (e.g., e-commerce: orders, products, customers) - Analytical queries the schema must support (e.g., "revenue by product category by month") - Data volume estimates (row counts, growth rate) - Source systems and their update patterns (CDC, full refresh, event stream) - Existing schema (if evaluating rather than designing from scratch) ## Process ### Step 1: Define the Grain Identify the grain of each fact table — what does one row represent? A single transaction? A daily snapshot? A session event? The grain determines everything downstream. Document the grain as a clear English sentence: "One row = one order line item" or "One row = one daily active user per product." ### Step 2: Identify Facts and Dimensions Separate measurable facts (revenue, quantity, duration, count) from descriptive dimensions (customer, product, date, geography). For each: - **Facts:** Data type, aggregation method (SUM, AVG, COUNT DISTINCT), nullability - **Dimensions:** Cardinality, hierarchy levels, whether it changes over time (SCD candidate) ### Step 3: Choose a Modeling Approach Evaluate which pattern fits the requirements: - **Star schema** — Simple, fast queries, denormalized dimensions. Best for straightforward BI with a known query pattern. - **Snowflake schema** — Normalized dimensions for storage efficiency and consistency. Best when dimensions are large or shared across many facts. - **Data vault** — Hub, link, satellite pattern for auditability and flexibility. Best when source systems change frequently or full history is required. - **One Big Table (OBT)** — Fully denormalized single table. Best for small teams, simple analytics, or when query simplicity outweighs storage concerns. Document the chosen approach and the reasoning behind it. ### Step 4: Design Slowly Changing Dimension Strategy For each dimension that changes over time, specify the SCD type: - **Type 1** — Overwrite. No history. Simple, but you lose the old value. - **Type 2** — Add new row with effective dates. Full history, but increases row count and query complexity. - **Type 3** — Add column for previous value. Limited history (only one prior value), but simple to query. - **Type 6** — Hybrid (1+2+3). Current value column plus history rows. Best of both but most complex. Document which SCD type applies to each changing attribute and why. ### Step 5: Define Data Contracts For each source-to-warehouse interface, specify the contract: - Schema expectations (required fields, data types, allowed values) - Freshness SLA (how soon after source update must the warehouse reflect it?) - Quality thresholds (max null rate, uniqueness constraints, referential integrity) - Breaking change policy (how are schema changes communicated and handled?) ### Step 6: Validate Against Query Patterns Test the proposed schema against the required analytical queries: - Can each query be answered with at most 2-3 joins? - Are the most common filters (date, category, status) on dimension keys? - Is the grain appropriate — not too fine (wasteful) or too coarse (lossy)? - Are aggregate tables or materialized views needed for high-frequency dashboards? ### Step 7: Document the Schema Produce a complete schema specification with DDL, relationships, and usage notes. ## Output Format ```markdown # Schema Evaluation: [Domain/Project Name] ## Grain Definitions | Fact Table | Grain (one row = ...) | Estimated Rows | Growth Rate | |------------|----------------------|----------------|-------------| | ... | ... | ... | ... | ## Entity Relationship Summary ``` [ASCII diagram showing fact and dimension relationships] ``` ## Modeling Approach **Chosen:** [Star / Snowflake / Data Vault / OBT] **Rationale:** [1-2 sentences] ## Fact Tables ### fct_[name] | Column | Type | Description | Aggregation | |--------|------|-------------|-------------| | ... | ... | ... | SUM/AVG/... | ## Dimension Tables ### dim_[name] | Column | Type | Description | SCD Type | |--------|------|-------------|----------| | ... | ... | ... | 1/2/3 | ## Slowly Changing Dimensions | Dimension | Attribute | SCD Type | Rationale | |-----------|-----------|----------|-----------| | ... | ... | ... | ... | ## Data Contracts | Source → Target | Freshness SLA | Quality Checks | Breaking Change Policy | |-----------------|---------------|----------------|----------------------| | ... | ... | ... | ... | ## Query Validation | Query Pattern | Tables Involved | Join Count | Performance Notes | |---------------|----------------|------------|-------------------| | ... | ... | ... | ... |
From dtsong/claude-code-windows-setup, MIT.
More from dtsong/claude-code-windows-setup
- 0.445score
cicd-generation
dtsong
Use when creating GitHub Actions workflows, adding CI/CD to a project, or reviewing pipeline security.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
protocol-analysis
dtsong
Use when analyzing cryptographic protocol security by modeling state machines, enumerating transitions, and identifying desynchronization, replay, downgrade…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
crypto-review
dtsong
Use when reviewing cryptographic implementations for algorithm choice correctness, key management soundness, side-channel resistance, and crypto agility…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
pqc-readiness
dtsong
Use when assessing a system's readiness for post-quantum cryptography migration, inventorying classical crypto usage, mapping NIST-standardized PQC…
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
code-search
dtsong
Fast codebase searches using grep/glob.
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Codebase Context
dtsong
Deep infrastructure analysis and context briefing for all council agents
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Schema Design
dtsong
Migration-ready database schema design with normalization and indexing strategies
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Design System Architecture
dtsong
Token hierarchy, theming strategy, and cross-platform consistency
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Motion Design
dtsong
Animation principles, micro-interaction specs, and reduced-motion support
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Visual Audit
dtsong
Structured visual design critique with specific actionable feedback
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Changelog Design
dtsong
Changelog entries and migration guides for breaking changes with version strategy
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Pattern Analysis
dtsong
Audit codebase patterns and conventions, evaluate proposed changes for consistency
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Feb 21, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from dtsong
- 0.445score
cicd-generation
dtsong
Use when creating GitHub Actions workflows, adding CI/CD to a project, or reviewing pipeline security.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
protocol-analysis
dtsong
Use when analyzing cryptographic protocol security by modeling state machines, enumerating transitions, and identifying desynchronization, replay, downgrade…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
pqc-readiness
dtsong
Use when assessing a system's readiness for post-quantum cryptography migration, inventorying classical crypto usage, mapping NIST-standardized PQC…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
crypto-review
dtsong
Use when reviewing cryptographic implementations for algorithm choice correctness, key management soundness, side-channel resistance, and crypto agility…
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
code-search
dtsong
Fast codebase searches using grep/glob.
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
dockerfile-generation
dtsong
Build minimal, secure Dockerfiles with verification-first workflow.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
Schema Evaluation skill. Agent Mart. https://agentmart.dev/skills/dtsong-schema-evaluation-a1fa36 (last updated 2026-10-24)