database-design-document SKILL.md skillA

database-design-document from fattain-naime/engineering-docs is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fattain-naime/engineering-docs/database-design-document@git:20260717.2f82174

Pins git:20260717.2f82174 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fattain-naime/engineering-docs
Path
skills/database-design-document/SKILL.md
Versions recorded
5
Latest version
git:20260717.2f82174, committed Jul 17, 2026
First version recorded
Jul 8, 2026
Size
15,523 bytes
Repository stars
6
License
MIT

Design a production database schema including ERD, table definitions, data dictionary, indexing strategy, normalization decisions, and migration plan. Use when designing a new database, adding major entities, or documenting an existing schema.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

## Purpose

Produce a database design document that specifies the complete logical and physical data model, including entity relationships, table definitions, column constraints, indexing strategy, and migration plan.

**Database schema is the hardest type of technical debt to remediate.** Changing a column name on a 50M-row table is a 4-hour maintenance window. Designing it correctly upfront is a 2-hour design session.

## Input

**Works best with:** The domain or system being modeled.
**Also valuable:** Business rules, cardinality constraints, known query patterns, performance requirements, existing tables that must integrate.

**Example invocation:** `Design the database schema for PayFlow's merchant management system. Merchants have multiple brands, each with their own settings, domains, and staff users. Users have roles with specific permissions. Brands can have multiple currencies and payment methods.`

## Key Concepts

### Normalization
- **1NF:** Atomic values. No repeating groups. Single value per cell.
- **2NF:** No partial dependencies. Non-key columns depend on the full primary key.
- **3NF:** No transitive dependencies. Non-key columns depend only on the primary key.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fattain-naime/engineering-docs/database-design-document@sha256:1fb82d4a04f85943

The line at the top of this page pins the label git:20260717.2f82174, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2ssasvnww44yei6h.svg)](https://markdownregistry.com/a/art_2ssasvnww44yei6h)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jul 8, 2026 and Jul 17, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260717.2f82174 latest2026-07-17 2f82174 15,523 BA view · diff
git:20260712.59c58522026-07-12 59c5852 5,457 BA view · diff
git:20260712.7e3d1bb2026-07-12 7e3d1bb 5,541 BA view · diff
git:20260709.03fe43c2026-07-09 03fe43c 5,338 BA view · diff
git:20260708.a309efd2026-07-08 a309efd 4,509 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15523 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fattain-naime/engineering-docs · 6 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2ssasvnww44yei6h
GET https://markdownregistry.com/api/v1/resolve?ref=fattain-naime/engineering-docs/database-design-document
GET https://markdownregistry.com/api/v1/blob/1fb82d4a04f85943ed9ecd055921f52ef8f521e3747ee0848c23a5c3907a3728

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fattain-naime/engineering-docs

AGENTS.md@integrations/agents AGENTS.md file
fattain-naime/engineering-docs · integrations/agents/AGENTS.md
git:20260717.cca83e2 · audit A · 6 stars
CLAUDE.md@integrations/agents CLAUDE.md file
fattain-naime/engineering-docs · integrations/agents/CLAUDE.md
git:20260717.cca83e2 · audit A · 6 stars
admin-access-control-specification SKILL.md skill
fattain-naime/engineering-docs · skills/admin-access-control-specification/SKILL.md · Specify admin roles, permissions, and every admin-facing control in a system - a full role-permission matrix (RBAC)…
git:20260717.2f82174 · audit A · 6 stars
api-design-document SKILL.md skill
fattain-naime/engineering-docs · skills/api-design-document/SKILL.md · Design a production-ready API specification aligned with OpenAPI 3.1 standards. Covers resource modeling, endpoint…
git:20260717.2f82174 · audit A · 6 stars
architecture-decision-record SKILL.md skill
fattain-naime/engineering-docs · skills/architecture-decision-record/SKILL.md · Create a standalone Architecture Decision Record (ADR) for a single significant architectural decision. Captures…
git:20260717.2f82174 · audit A · 6 stars
business-concept SKILL.md skill
fattain-naime/engineering-docs · skills/business-concept/SKILL.md · Turn a raw business idea into a complete business concept document. Covers problem, target users, value proposition…
git:20260717.2f82174 · audit A · 6 stars
deployment-plan SKILL.md skill
fattain-naime/engineering-docs · skills/deployment-plan/SKILL.md · Write a production deployment plan covering environment specs, deployment strategy (Blue-Green, Canary, Rolling, or…
git:20260717.2f82174 · audit A · 6 stars
design-system-specification SKILL.md skill
fattain-naime/engineering-docs · skills/design-system-specification/SKILL.md · Design a production-ready Design System and UI/UX visual style guide. Covers design tokens (colors, typography…
git:20260717.2f82174 · audit A · 6 stars
disaster-recovery-plan SKILL.md skill
fattain-naime/engineering-docs · skills/disaster-recovery-plan/SKILL.md · Write a disaster recovery and business continuity plan defining RTO/RPO targets, backup and failover procedures, DR…
git:20260717.2f82174 · audit A · 6 stars
implementation-plan SKILL.md skill
fattain-naime/engineering-docs · skills/implementation-plan/SKILL.md · Create a phased implementation roadmap that sequences the technical build of an entire project - build order, module…
git:20260717.2f82174 · audit A · 6 stars
incident-postmortem SKILL.md skill
fattain-naime/engineering-docs · skills/incident-postmortem/SKILL.md · Write a blameless post-incident review (post-mortem / RCA) that documents what happened, the timeline, root cause…
git:20260717.2f82174 · audit A · 6 stars
project-plan SKILL.md skill
fattain-naime/engineering-docs · skills/project-plan/SKILL.md · Create a project delivery plan covering scope, milestones, timeline, work breakdown, resourcing, stakeholder roles…
git:20260717.2f82174 · audit A · 6 stars

Every file in fattain-naime/engineering-docs

Browse by kind, by grade A, or by owner.