Discover Database
rand/cc-polymath
Automatically discover database skills when working with SQL, PostgreSQL, MongoDB, Redis, database schema design, query optimization, migrations, connection pooling, ORMs, or database selection.
A Principal Database Engineer interviewer. An agent skill from PrepLabsAI/InterviewMentor.
$ npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PrepLabsAI/InterviewMentor database-architecture-interviewer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/systems-design/database-architecture-interviewer .claude/skills/database-architecture-interviewer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "database-architecture-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/systems-design/database-architecture-interviewer into .claude/skills/database-architecture-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architecture-interviewer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/systems-design/database-architecture-interviewerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PrepLabsAI/InterviewMentor database-architecture-interviewer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agents/systems-design/database-architecture-interviewer .agents/skills/database-architecture-interviewer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "database-architecture-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/systems-design/database-architecture-interviewer into .agents/skills/database-architecture-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architecture-interviewer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PrepLabsAI/InterviewMentor database-architecture-interviewer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agents/systems-design/database-architecture-interviewer .cursor/skills/database-architecture-interviewer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "database-architecture-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/systems-design/database-architecture-interviewer into .cursor/skills/database-architecture-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architecture-interviewer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PrepLabsAI/InterviewMentor.git --path agents/systems-design/database-architecture-interviewer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PrepLabsAI/InterviewMentor database-architecture-interviewer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agents/systems-design/database-architecture-interviewer .gemini/skills/database-architecture-interviewer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "database-architecture-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/systems-design/database-architecture-interviewer into .gemini/skills/database-architecture-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architecture-interviewer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PrepLabsAI/InterviewMentor database-architecture-interviewerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .github/skills && cp -r skills-src/agents/systems-design/database-architecture-interviewer .github/skills/database-architecture-interviewer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "database-architecture-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/systems-design/database-architecture-interviewer into .github/skills/database-architecture-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architecture-interviewer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PrepLabsAI/InterviewMentor database-architecture-interviewer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PrepLabsAI/InterviewMentor.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agents/systems-design/database-architecture-interviewer .opencode/skills/database-architecture-interviewer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "database-architecture-interviewer" agent skill from https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/systems-design/database-architecture-interviewer into .opencode/skills/database-architecture-interviewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-architecture-interviewer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
database-architecture-interviewerA Principal Database Engineer interviewer. An agent skill from PrepLabsAI/InterviewMentor.
Database Architecture Interviewer is an agent skill from PrepLabsAI/InterviewMentor. A Principal Database Engineer interviewer. Use this agent when you want to practice data modeling, understanding transaction isolation levels, scaling SQL/NoSQL databases, and dissecting the underlying storage engines (B-Tree vs LSM). It focuses heavily on consistency, ACID properties, and mitigating replication lag.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/problems.md` and `references/remotion-components.md`).
It sits in Databases, covering Database schema design, Database administration and NoSQL databases. It works with SQL. The repository describes itself as: AI Based mock interviews for preparing for tech jobs. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 609d311. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Database Architecture Interviewer loads about 2.4k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 1,100 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from PrepLabsAI/InterviewMentor at commit 609d311, republished under its MIT licence (© PrepLabsAI). 1,100 words, ~2,359 tokens.
.claude/skills/database-architecture-interviewer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Target Role: SWE-II / Backend / Data Engineer Topic: System Design - Databases Difficulty: Medium-Hard
You are a Principal Database Engineer. You have spent years configuring, tuning, and rescuing database clusters under immense load. You care deeply about data integrity, transaction isolation levels, indexing strategies, and the fundamental differences between SQL and NoSQL. You do not accept "just use a NoSQL database" as a magic bullet for scaling.
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.
Evaluate the candidate's understanding of database internals and architectural choices. Focus on:
Ask the candidate about underlying storage structures:
Present a specific use case (e.g., A global leaderboards system or a timeseries metrics store) and ask them to design the data model and select the appropriate datastore.
At the end of the final phase, generate a scorecard table using the Evaluation Rubric below. Rate the candidate in each dimension with a brief justification. Provide 3 specific strengths and 3 actionable improvement areas. Recommend 2-3 resources for further study based on identified gaps.
[ B-Tree ] (Read-Optimized, In-place updates)
[ 15 | 30 ]
/ | \
[ 5, 10 ] [ 20, 25 ] [ 35, 40 ]
(Updates require traversing tree and overwriting blocks)
[ LSM Tree ] (Write-Optimized, Append-only)
Memory (MemTable): [ 45, 50 ] (Flushed to disk when full)
|
Disk (SSTable Level 1): [ 5, 10, 15 ] [ 20, 25, 30 ]
| (Compaction merges overlapping segments)
Disk (SSTable Level 2): [ 5, 10, 15, 20, 25, 30, 35, 40 ]Time | Transaction A | Transaction B
-----|----------------------------------|----------------------------------
T1 | BEGIN; | BEGIN;
T2 | UPDATE accounts SET bal=50; |
T3 | | SELECT bal FROM accounts; (Returns 50 in Read Uncommitted)
T4 | ROLLBACK; |
T5 | | (Tx B used invalid data = Dirty Read!)
(In Read Committed, Tx B would wait or read the old value via MVCC until Tx A commits)Question: "If I am building a system to ingest 100,000 metrics per second from IoT devices, but only reading them occasionally to generate daily reports, what kind of storage engine should I use?"
Hints:
Question: "We need to shard a users table. How do you decide the shard key?"
Hints:
user_id is best to ensure even data and load distribution across nodes."Question: "A user updates their profile picture, the page refreshes, and they see their old picture because the read hit a replica that hasn't caught up yet. How do you fix this?"
Hints:
| Area | Novice | Intermediate | Expert |
|---|---|---|---|
| SQL vs NoSQL | "NoSQL is faster" | Understands schema flexibility | Deep understanding of storage engines, access patterns, and tradeoffs |
| Transactions | Vague on ACID | Knows isolation levels | Understands MVCC, Phantom reads, distributed deadlocks |
| Scaling | Vertical scaling | Master-Slave replication | Sharding, Consistent Hashing, CAP theorem application |
| Data Modeling | Everything normalized | Uses basic denormalization | Optimizes model for specific query access paths |
For the complete problem bank with solutions and walkthroughs, see references/problems.md. For Remotion animation components, see references/remotion-components.md.
© PrepLabsAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in agents/systems-design/database-architecture-interviewer of PrepLabsAI/InterviewMentor.
Open the folder on GitHubat commit 609d311
Database Architecture Interviewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Database Architecture Interviewer this skillPrepLabsAI/InterviewMentor | 112 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Discover Databaserand/cc-polymath | 181 | — | ~2k | Automated safety check: Pass | MIT | |
| DatabasesMicrock/ordinary-claude-skills | 401 | — | ~1.9k | Automated safety check: Notes | MIT | |
| Ddia Systemswondelai/skills | 2.4k | — | ~4.2k | Automated safety check: Pass | MIT | |
| Database PatternsMadAppGang/claude-code | 283 | — | ~2.2k | Automated safety check: Pass | MIT | |
| System Design Data ArchitectureHoangNguyen0403/agent-skills-standard | 570 | — | ~910 | Automated safety check: Pass | MIT |
rand/cc-polymath
Automatically discover database skills when working with SQL, PostgreSQL, MongoDB, Redis, database schema design, query optimization, migrations, connection pooling, ORMs, or database selection.
Microck/ordinary-claude-skills
Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin).
wondelai/skills
Design data systems by understanding storage engines, replication, partitioning, transactions, and consistency models.
MadAppGang/claude-code
A skill your agent uses when designing database schemas, implementing repository patterns, writing optimized queries, managing migrations, or working with indexes and transactions for SQL/NoSQL…
HoangNguyen0403/agent-skills-standard
Choose and scale the data layer: SQL versus NoSQL per access pattern, single data ownership, replication and read scaling, partition key choice, hot partition and celebrity key mitigation.
aiskillstore/marketplace
Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.
PrepLabsAI/InterviewMentor
A VP of Product interviewer that simulates a product strategy interview focused on AI-native products.
PrepLabsAI/InterviewMentor
A Staff Engineer interviewer specializing in API architecture and developer experience.
PrepLabsAI/InterviewMentor
An entry-level software engineering interviewer specializing in fundamental data structures.
PrepLabsAI/InterviewMentor
An entry-level software engineering interviewer specializing in binary tree data structures.
PrepLabsAI/InterviewMentor
An on-call SRE interviewer who just got paged about a broken checkout API.
PrepLabsAI/InterviewMentor
A Senior Performance Engineer interviewer focused on caching strategies.
Works with
Categories
A Principal Database Engineer interviewer. An agent skill from PrepLabsAI/InterviewMentor. Database Architecture Interviewer is an agent skill from PrepLabsAI/InterviewMentor. A Principal Database Engineer interviewer.
Database Architecture Interviewer fits situations like: tasks that involve Database schema design; tasks that involve Database administration; tasks that involve NoSQL databases.
Run `npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a claude-code`. Or copy the skill folder (agents/systems-design/database-architecture-interviewer in PrepLabsAI/InterviewMentor) into .claude/skills/database-architecture-interviewer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a codex`. Or copy the skill folder (agents/systems-design/database-architecture-interviewer in PrepLabsAI/InterviewMentor) into .agents/skills/database-architecture-interviewer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PrepLabsAI/InterviewMentor --skill database-architecture-interviewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/database-architecture-interviewer, .gemini/skills/database-architecture-interviewer, .github/skills/database-architecture-interviewer and .opencode/skills/database-architecture-interviewer in your project.
SKILL.md names no scripts, command-line tools or credentials: Database Architecture Interviewer is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Database Architecture Interviewer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Database Architecture Interviewer: Discover Database (rand/cc-polymath, 181 stars), Databases (Microck/ordinary-claude-skills, 401 stars), Ddia Systems (wondelai/skills, 2.4k stars) and Database Patterns (MadAppGang/claude-code, 283 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PrepLabsAI (a GitHub organization) maintains it in PrepLabsAI/InterviewMentor, which has 112 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 7, 2026.
Source: PrepLabsAI/InterviewMentor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.