DA

database-design

Guides database schema design, indexing strategies, and ORM selection based on project context.

Install

mkdir -p .claude/skills/database-design && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/755" && unzip -o skill.zip -d .claude/skills/database-design && rm skill.zip

Installs to .claude/skills/database-design

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.
118 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Design database schemas
  • Recommend indexing strategies
  • Evaluate ORM choices
  • Analyze data normalization needs

How it works

The skill evaluates data requirements against design principles to recommend schemas, indexes, and ORMs based on the specific deployment context.

Inputs & outputs

You give it
Application data requirements
You get back
Database schema and optimization strategy

When to use database-design

  • Design a database schema
  • Choose the right ORM for a project
  • Optimize database indexing strategy

About this skill

Database Design

Learn to THINK, not copy SQL patterns.

🎯 Selective Reading Rule

Read ONLY files relevant to the request! Check the content map, find what you need.

FileDescriptionWhen to Read
database-selection.mdPostgreSQL vs Neon vs Turso vs SQLiteChoosing database
orm-selection.mdDrizzle vs Prisma vs KyselyChoosing ORM
schema-design.mdNormalization, PKs, relationshipsDesigning schema
indexing.mdIndex types, composite indexesPerformance tuning
optimization.mdN+1, EXPLAIN ANALYZEQuery optimization
migrations.mdSafe migrations, serverless DBsSchema changes

⚠️ Core Principle

  • ASK user for database preferences when unclear
  • Choose database/ORM based on CONTEXT
  • Don't default to PostgreSQL for everything

Decision Checklist

Before designing schema:

  • Asked user about database preference?
  • Chosen database for THIS context?
  • Considered deployment environment?
  • Planned index strategy?
  • Defined relationship types?

Anti-Patterns

❌ Default to PostgreSQL for simple apps (SQLite may suffice) ❌ Skip indexing ❌ Use SELECT * in production ❌ Store JSON when structured data is better ❌ Ignore N+1 queries

When not to use it

  • When the database choice is already fixed by infrastructure constraints
  • When the application is too simple to require design planning

Prerequisites

Access to design documentation files

Limitations

  • Requires user input on database preferences
  • Must consider deployment environment constraints

How it compares

It focuses on teaching design thinking and preventing anti-patterns rather than just generating SQL code.

Compared to similar skills

database-design side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
database-design (this skill)66moReviewIntermediate
database-schema-designer66moNo flagsIntermediate
database-specialist05moNo flagsAdvanced
databases19moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

software-architecture

davila7

Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.

333868

planning-with-files

davila7

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring >5 tool calls.

233106

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

scroll-experience

davila7

Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not just pages. Use when: scroll animation, parallax, scroll storytelling, interactive story, cinematic website.

101142

humanizer

davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases. Credits: Original skill by @blader - https://github.com/blader/humanizer

90175

game-development

davila7

Game development orchestrator. Routes to platform-specific skills based on project needs.

70195

You might also like

database-schema-designer

davila7

Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.

628

database-specialist

FelipeArruda

Use this skill when the task centers on database design or behavior: schema modeling, SQL, indexes, constraints, migrations, query tuning, data integrity, transactional logic, or tradeoffs across engines such as SQLite, PostgreSQL, and MySQL.

00

databases

mrgoonie

Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin). Use when designing database schemas, writing queries and aggregations, optimizing indexes for performance, performing database migrations, configuring replication and sharding, implementing backup and restore strategies, managing database users and permissions, analyzing query performance, or administering production databases.

16

schema-designer

clidey

Help design database schemas, create tables, and plan data models. Activates when users ask to create tables, design schemas, or model data relationships.

15

managing-database-sharding

jeremylongshore

Process use when you need to work with database sharding. This skill provides horizontal sharding strategies with comprehensive guidance and automation. Trigger with phrases like "implement sharding", "shard database", or "distribute data".

12

database-schema

alinaqi

Schema awareness - read before coding, type generation, prevent column errors

10

Search skills

Search the agent skills registry