Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
sunnypatneedi avatar

Database Schema

  • 9 installs
  • 11 repo stars
  • Updated March 4, 2026
  • sunnypatneedi/claude-starter-kit

Helps with databases tasks.

About

database-schema is a Claude Code skill for databases. It helps solo builders move faster with AI-assisted coding.

  • database-schema
  • Databases
  • AI-coding skill

Database Schema by the numbers

  • 9 all-time installs (skills.sh)
  • Ranked #666 of 911 Databases skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sunnypatneedi/claude-starter-kit --skill database-schema

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs9
repo stars11
Last updatedMarch 4, 2026
Repositorysunnypatneedi/claude-starter-kit

What it does

Helps with databases tasks.

Files

SKILL.mdMarkdownGitHub ↗

Database Schema Design

Help me design a database schema:

Requirements

1. What are we storing? Describe the data. 2. Relationships: How do entities relate? 3. Access patterns: How will data be queried? 4. Scale: Expected data volume? 5. Database: PostgreSQL, MySQL, MongoDB, etc.?

Entity Design

For each entity, define:

Table Structure

  • Table name (plural, snake_case)
  • Columns with types
  • Primary key
  • Timestamps (created_at, updated_at)
  • Soft delete (deleted_at) if needed

Constraints

  • NOT NULL where required
  • UNIQUE constraints
  • CHECK constraints for validation
  • DEFAULT values

Relationships

  • Foreign keys
  • ON DELETE behavior
  • Junction tables for many-to-many

Indexes

  • Primary key index
  • Foreign key indexes
  • Query-specific indexes
  • Composite indexes where needed

Schema Generation

Generate:

1. CREATE TABLE statements 2. Index creation 3. RLS policies (if using Supabase) 4. Sample seed data

Optimization Review

Check for:

  • Normalization level appropriate
  • Index strategy sound
  • Query patterns supported
  • Future scaling considerations

Generate the complete schema with comments explaining decisions.

Related skills

Databasesdatabases

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.