database-design
Skill198 starsChanged 4 days agoMITView on GitHub
Design technology-independent data models and relational or non-relational schemas with integrity, query patterns, evolution, and lifecycle in mind.
65 other projects use a version of this.
Adopted by
Most recently taken up by
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- hybridlabor-api/aostheir own version, first seen Nov 29, 2026
- jamestorrevillas/dev-skillstheir own version, first seen Nov 22, 2026
- AtilaMedeiros/skillstheir own version, first seen Nov 16, 2026
- Ivan-propio/claude-skillstheir own version, first seen Nov 16, 2026
- rajdeepbhattacharyya25-pixel/agents-for-antigravity-their own version, first seen Nov 15, 2026
Used with
Projects with it also use intelligent-routing, llm-application-dev and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SKB3002Skillintelligent-routing
Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.
Also in 5 projects that use this
pepebot-spaceSkillllm-application-dev
Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.
Also in 4 projects that use this
xenitV1Skillred-team-tactics
Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.
Also in 7 projects that use this
MoizIbnYousafSkillaudit-library-health
Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.
Also in 3 projects that use this
MoizIbnYousafSkillbrowse-and-evaluate
Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.
Also in 3 projects that use this
SKB3002Skillnextjs-react-expert
React and Next.js performance optimization from Vercel Engineering. Use when building React components, optimizing performance, eliminating waterfalls, reducing bundle size, reviewing code for performance issues, or implementing server/client-side optimizations.
Also in 3 projects that use this
- +5 more from MoizIbnYousaf
Other versions65 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 65
- vudovn/ag-kit★ 8.2ksame name
- vudovn/antigravity-kit★ 8.2ksame name
- CloudAI-X/claude-workflow★ 1.4ksame name
- CloudAI-X/claude-workflow-v2★ 1.4ksame name
- MoizIbnYousaf/Ai-Agent-Skills★ 1.1ksame name
- skillcreatorai/Ai-Agent-Skills★ 1.1ksame name
- MoizIbnYousaf/ai-agent-skills★ 1.1ksame name
- KbWen/agentic-os★ 245same name
- kid-sid/claude-spellbook★ 190same name
- xenitV1/Antigravity-Workflows★ 130same name
55 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- api-designSkill
- application-securitySkill
- apply-renovate-prsSkill
- architecture-guidelinesSkill
- authentication-authorizationSkill
- configuration-and-secretsSkill
- data-access-and-migrationsSkill
- deployment-and-deliverySkill
- external-integrations-and-messagingSkill
- java-code-reviewSkill
- jspecify-skillSkill
- observabilitySkill
- pair-programmingSkill
- progenSkill
- reliability-and-performanceSkill
- spec-writerSkill
- spring-boot-skillSkill
- spring-modulith-verifierSkill
- technical-decision-makingSkill
- testing-strategySkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 11 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 61 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use when creating or changing entities, tables, collections, relationships, indexes, constraints, retention policies, or storage choices.
- Distinctive: line 20
Use stable identifiers and explicit uniqueness rules.
- Distinctive: line 23
Avoid storing derived values unless there is a clear performance or historical requirement.
- Distinctive: line 33
Consider audit history, soft deletion, retention, and privacy requirements.
- Distinctive: line 38
Use primary keys, foreign keys, unique constraints, check constraints, and appropriate nullability.
- Distinctive: line 40
Avoid redundant indexes and indexes with no demonstrated use.
- Distinctive: line 42
Avoid encoding multiple values into a single field when they need independent querying or integrity.
- Distinctive: line 43
Use transactions for related changes that must succeed or fail together.
- Distinctive: line 48
Consider item size, partition/shard keys, hot partitions, secondary-index costs, and consistency semantics.
- Distinctive: line 49
Avoid treating a non-relational store as a schema-free substitute for data modeling.
- Distinctive: line 55
Do indexes support real queries?
“Common” is measured: kept by at least 6 in 10 of the 61 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Database Design
Purpose
Guide durable data modeling and schema design based on domain meaning, access patterns, and integrity requirements.
When to use
Use when creating or changing entities, tables, collections, relationships, indexes, constraints, retention policies, or storage choices.
Principles
- Model business concepts and invariants, not merely screens or API payloads.
- Understand read and write patterns before choosing structures and indexes.
- Establish ownership and authoritative sources for each piece of data.
- Enforce critical invariants as close to the data as practical, using constraints and transactional guarantees where supported.
- Choose normalization or denormalization deliberately. Denormalize for demonstrated access or scale needs and define how consistency is maintained.
- Use stable identifiers and explicit uniqueness rules.
- Represent money, time, quantities, and state with appropriate semantics and precision.
- Define nullability intentionally; distinguish unknown, absent, and inapplicable values.
- Avoid storing derived values unless there is a clear performance or historical requirement.
- Plan for data growth, retention, deletion, privacy, backup, and restoration.
Workflow
- Identify domain entities, value concepts, lifecycle, and invariants.
- List important queries, filters, sorts, aggregations, and write paths.
- Define relationships, cardinality, ownership, and deletion behavior.
- Select storage technology based on consistency, query, scale, operational, and team needs.
- Define keys, constraints, indexes, and concurrency expectations.
- Decide where transactions are required and what atomicity they must provide.
- Consider audit history, soft deletion, retention, and privacy requirements.
- Validate the model against realistic examples and edge cases.
- Estimate data volume and review likely expensive queries.
Relational design guidance
- Use primary keys, foreign keys, unique constraints, check constraints, and appropriate nullability.
- Index actual access paths, including join keys and common filter/sort combinations.
- Avoid redundant indexes and indexes with no demonstrated use.
- Define deletion behavior explicitly; cascading deletion must be intentional.
- Avoid encoding multiple values into a single field when they need independent querying or integrity.
- Use transactions for related changes that must succeed or fail together.
Non-relational design guidance
- Choose document, key-value, graph, or search storage based on access patterns and required guarantees.
- Define aggregate/document boundaries and update contention.
- Consider item size, partition/shard keys, hot partitions, secondary-index costs, and consistency semantics.
- Avoid treating a non-relational store as a schema-free substitute for data modeling.
Review checklist
- Does the model represent domain invariants?
- Are ownership and relationship cardinalities clear?
- Are uniqueness and referential integrity protected?
- Do indexes support real queries?
- Are concurrent updates and transaction boundaries understood?
- Are time zones, precision, and null semantics explicit?
- Are retention, deletion, backup, and recovery addressed?
Provide a concise entity/relationship description and explain non-obvious constraints and indexing decisions. Do not prescribe a specific database without requirements.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

