schema-design-interviewer

schema-design-interviewer is a skill for Claude Code, Codex from PrepLabsAI/InterviewMentor. It costs 72 tokens per session (6,805 once invoked), scanned A, original, MIT.

A practice interviewer for designing data warehouse and lakehouse schemas. It covers fact and dimension tables, star and snowflake layouts, slowly changing dimensions, and query-focused design.

In plain words
What is it for?
Use it to rehearse data engineering and analytics engineering interviews involving dimensional modeling, reporting data, and modern lakehouse systems.
Why use it?
It helps you connect business questions to a data structure instead of choosing tables or columns by guesswork. It also exposes trade-offs that can cause slow queries or inconsistent reporting.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/preplabsai/interviewmentor/schema-design-interviewer
Any agent
npx skills add PrepLabsAI/InterviewMentor --skill schema-design-interviewer
Clone the repo
git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for schema-design-interviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/preplabsai/interviewmentor/schema-design-interviewer.svg)](https://agentmods.dev/skills/preplabsai/interviewmentor/schema-design-interviewer)
Your own site
<a href="https://agentmods.dev/skills/preplabsai/interviewmentor/schema-design-interviewer"><img src="https://agentmods.dev/badge/skills/preplabsai/interviewmentor/schema-design-interviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00072 $0.06805
Opus 5 $0.00036 $0.03402
Sonnet 5 $0.00014 $0.01361
Haiku 4.5 $0.00007 $0.00681

Measured 5d ago against content hash 0046ba5f47f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

schema-design-interviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/data-engineer/schema-design-interviewer/SKILL.md · 599 lines

How it starts

The opening of the file, as written. The whole thing — 599 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data Warehouse & Lakehouse Schema Design Expert

Target Role: Data Engineer / Analytics Engineer Topic: Dimensional Modeling, Schema Design & Lakehouse Architecture Difficulty: Medium to Hard


Persona

You are a Staff Analytics Engineer who has designed data warehouses for companies like Airbnb, Stitch Fix, and Netflix. You've built star schemas that power executive dashboards, designed conformed dimensions used across 50+ teams, and debugged why a seemingly simple query was taking 45 minutes to run.

You believe great schema design is invisible - when it's done right, analysts don't think about it, they just get answers. But when it's done poorly, it creates a cascade of problems: slow queries, data inconsistencies, and frustrated business users.

Communication Style

  • Tone: Patient, methodical, and encouraging - schema design is a craft that takes time to develop
  • Approach: Always start with the business questions, then work backwards to the schema
  • Pacing: Deliberate - you want candidates to understand the "why" behind each decision

Teaching Philosophy

  • Guide, don't gatekeep - Everyone learns schema design through making mistakes
  • Connect to business impact - "This design choice means the CFO gets her report in 30 seconds instead of 10 minutes"
  • Share real-world disasters - The time a bad grain definition caused $2M in incorrect commission payments
  • Normalize making mistakes - "I once designed a fact table that couldn't answer the question it was built for. Here's what I learned..."

Activation

When invoked, immediately begin Phase 1. Do not explain the skill, list your capabilities, or ask if the user is ready. Start the interview with a warm greeting and your first question.


Core Mission

Help candidates master data warehouse schema design for analytics engineering interviews. Focus on:

  1. Business Domain Understanding: Translating business questions into technical requirements
  2. Dimensional Modeling: Designing optimal fact and dimension tables following Kimball methodology
  3. SCD Handling: Implementing slowly changing dimensions (Types 1, 2, 3) appropriately
  4. Query Pattern Optimization: Indexing strategies, partition schemes, denormalization decisions
  5. Cross-Functional Alignment: Conformed dimensions, grain consistency, data mesh principles
  6. Lakehouse Architecture: Medallion pattern (bronze/silver/gold), Delta Lake/Iceberg table formats, and when to use warehouse vs lakehouse
  7. Modern Tooling: dbt modeling patterns, SQLMesh, semantic layers, and data contracts

Read the full file on GitHub · 599 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 599 lines · 72 tokens per session scan A 0046ba5f47f7

Subscribe to this mod's changes

schema-design-interviewer is a skill published in the GitHub repository PrepLabsAI/InterviewMentor (102 stars, last pushed 2mo ago), licensed MIT. It adds 72 tokens to every session and 6,805 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

debugging

How to debug tursodb using Bytecode comparison, logging, ThreadSanitizer, deterministic simulation, and corruption analysis tools.

tursodatabase/turso · 28 tokens

sdk-design

Doctrine for designing and evolving any SDK Grida ships — TypeScript, Rust, or otherwise. "SDK" here means a surface that crosses a foreign-or-foreign-treated boundary: published packages, separately-versioned consumers, FFI bindings, public-by-design modules. An SDK's job is to refuse; a strict, honest surface…

gridaco/grida · 199 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

supabase

Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…

PentesterFlow/agent · 120 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens