Database — Data skill for Claude Code
Design Supabase schema, write Drizzle migration, add RLS policies, generate TypeScript types.
How to install Database
Installs to ~/.claude/commands/calebnewtonusc-d1-vibe-coding-database.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/calebnewtonusc/D1-Vibe-Coding/HEAD/.claude/commands/database.md -o ~/.claude/commands/calebnewtonusc-d1-vibe-coding-database.md Restart Claude Code, or start a new session, for it to be picked up.
What Database does
description: Design Supabase schema, write Drizzle migration, add RLS policies, generate TypeScript types allowed-tools: Bash(npm:*), Bash(npx:*), Bash(supabase:*), Read, Write, Glob argument-hint: ""
Database
Design the database schema for `$ARGUMENTS`. Supabase + Drizzle ORM. RLS on everything.
Step 1: Model the data
From `$ARGUMENTS`, identify:
- Entities: what are the nouns? (user, post, project, subscription, etc.
Alternatives in Data
- MCP Server Supabase — Supabase database and auth integration 2.6k ★
- Azure AI Search TypeScript — Azure AI Search for TypeScript 1.8k ★
- Aoci Code — Local-first MCP server + CLI in Go: a persistent, governed codebase index that distills code and database sche 443 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Types Gen
Generate TypeScript types from Supabase database schema
Generate Types From Supabase
You are a skilled TypeScript developer tasked with creating a library of DTO (Data Transfer Object) types and
Review Database
Review database - Drizzle migrations, schema drift, CI gates
Bq Design Table
Design a BigQuery table schema with optimal partitioning, clustering, and data types. Describe your data or pa
Design Vector Schema
Design a pgvector migration SQL file. Captures model + dimension + distance metric + row count → generates rev
Create Migration
Generates Prisma database migrations for schema changes
Related Agents
Mx Schema Builder
Use this agent to build database schemas for new projects. It creates Supabase tables, RLS policies, TypeScrip
Supabase Agent
Owns supabase/ — migrations, schema, constraints, RLS policies, Postgres functions for batch writes, and regen
Sp Schema
Use when the user wants to design or migrate a Supabase / Postgres schema with row level security. Produces ta