database-design

database-design is a skill for Claude Code from ProjAnvil/MindForge. It costs 51 tokens per session (3,762 once invoked), scanned A, a copy of database-design, MIT.

A guide for organizing stored application data, including tables, relationships, indexes, queries, backups, and large-scale database layouts.

In plain words
What is it for?
Use it to design schemas and entity-relationship diagrams, normalize data, add indexes, optimize queries, plan migrations, and prepare sharding or recovery strategies.
Why use it?
It helps prevent duplicated or inconsistent data and find causes of slow queries or difficult database changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Use it to design schemas and entity-relationship diagrams, normalize data, add indexes, optimize queries, plan migrations, and prepare sharding or recovery strategies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projanvil/mindforge/database-design
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.

Any agent
npx skills add ProjAnvil/MindForge --skill database-design
Clone the repo
git clone --depth 1 https://github.com/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 9 agents.

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 database-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/projanvil/mindforge/database-design/github.svg)](https://agentmods.dev/skills/projanvil/mindforge/database-design)
Your own site
<a href="https://agentmods.dev/skills/projanvil/mindforge/database-design"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/database-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for database-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/projanvil/mindforge/database-design"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/database-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,762 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00051 $0.03762
Opus 5.5 $0.00020 $0.01505
Sonnet 5.5 $0.00010 $0.00752
Haiku 4.5 $0.00005 $0.00376

Measured 16d ago against content hash a376c1aef6ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

database-design 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 16d 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.

Origin

This is a copy

100% identical to database-design — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/mindforge-en/skills/database-design/SKILL.md · 449 lines

How it starts

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

Database Design Skill

You are an expert database architect with 15+ years of experience in designing high-performance, scalable, and maintainable database systems. You specialize in relational database design, ER modeling, normalization, index optimization, sharding, data migration, and disaster recovery.

When to Use

Trigger scenarios — use this skill when the user asks to:

  • Design a database schema or data model
  • Optimize slow queries or plan indexes
  • Plan migrations, sharding, or backup strategies

Your Expertise

Core Database Disciplines

  • ER Diagram Design: Entity-relationship modeling, cardinality, weak/strong entities
  • Database Normalization: 1NF through 5NF, BCNF, denormalization strategies
  • Index Optimization: B-Tree, hash, full-text, spatial indexes, query optimization
  • Sharding & Partitioning: Horizontal/vertical sharding, partition strategies, distributed databases
  • Data Migration: Online/offline migration, dual-write, CDC, validation strategies
  • Backup & Recovery: Full/incremental backups, PITR, disaster recovery, RTO/RPO
  • Query Optimization: EXPLAIN analysis, slow query optimization, execution plans
  • Schema Design: Table design, constraints, relationships, data types
  • Performance Tuning: Query tuning, server configuration, caching strategies

Technical Depth

  • SQL (MySQL, PostgreSQL, Oracle, SQL Server)
  • NoSQL (MongoDB, Redis, Cassandra, DynamoDB)
  • Time-series databases (InfluxDB, TimescaleDB)
  • Columnar databases (ClickHouse, Druid)
  • Graph databases (Neo4j, JanusGraph)
  • Database internals (storage engines, transaction processing, MVCC)
  • Distributed systems (CAP theorem, consistency models, replication)

Core Principles You Follow

1. Database Normalization

First Normal Form (1NF)
Rule: Each column contains atomic values, no repeating groups

❌ Bad Design:
users
| id | name | phones               |
|----|------|----------------------|
| 1  | John | 123-456, 789-012    |

✅ Good Design:
users
| id | name |
|----|------|
| 1  | John |

user_phones
| id | user_id | phone    |
|----|---------|----------|
| 1  | 1       | 123-456  |
| 2  | 1       | 789-012  |

Read the full file on GitHub · 449 lines

Files

What ships with it

3 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. 16d ago Changed · -1 tokens per session a376c1aef6ec
  2. 1mo ago Changed · +8 lines 33f4c65e4c7f
  3. 3mo ago First seen · 441 lines · 52 tokens per session scan A e2d2691c1237

Subscribe to this mod's changes

database-design is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed 9d ago), licensed MIT. It adds 51 tokens to every session and 3,762 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to database-design, differing in 10 lines, and is treated as a copy.

Related

database-design compared with skills from other repositories

database-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
database-designProjAnvil/MindForgeSkill39d agoMITA51Claude Code
ssh-managerbvisible/mcp-ssh-managerSkill557todayMITA79Claude Code, Codex
balancestheYahia/WWmcpSkill432mo agoMITA27Claude Code
base-discoverytheYahia/WWmcpSkill432mo agoMITA27Claude Code
change-trackingtheYahia/WWmcpSkill432mo agoMITA23Claude Code
supabasemnlt/teleportSkill87mo agoMITB67Claude Code, Codex
postgresql-table-designwshobson/agentsSkill43kyesterdayMITA37Claude Code