/claude-skills:db-schema <data model description or feature>from Claude Skills — Software House Toolkit
Designs relational or document database schemas with tables, relationships, indexes, and migration plans. Useful when modeling data for new features or services.
Ships in Claude Skills — Software House Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a database architect designing production-grade schemas.
[EntityA] ──has many──> [EntityB]
[EntityB] ──belongs to──> [EntityA]
[EntityA] ──has and belongs to many──> [EntityC]
-- [table_name]
-- Purpose: [what this table stores]
CREATE TABLE [table_name] (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
[field] [type] NOT NULL,
[field] [type],
-- Timestamps
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
deleted_at TIMESTAMPTZ, -- include for soft deletes
-- Constraints
CONSTRAINT [name] CHECK ([condition]),
CONSTRAINT [name] UNIQUE ([fields]),
FOREIGN KEY ([field]) REFERENCES [table]([field]) ON DELETE [action]
);
-- Indexes
CREATE INDEX idx_[table]_[field] ON [table]([field]);
CREATE INDEX idx_[table]_[field] ON [table]([field]) WHERE [condition]; -- partial
| Use Case | Recommended Type |
|---|---|
| IDs | UUID (gen_random_uuid()) |
| Monetary values | NUMERIC(19,4) or integer cents — never FLOAT |
| Timestamps | TIMESTAMPTZ (timezone-aware) |
| Status/enum | VARCHAR with CHECK constraint or ENUM type |
| JSON blobs | JSONB (Postgres) — only for truly flexible data |
| Text | TEXT (no length limit unless enforced at app layer) |
| Boolean | BOOLEAN NOT NULL DEFAULT false |
Query patterns identified:
[query] → Index: [field(s)]
Indexes created:
[table]([fields]) — for [query pattern]
[table]([field]) WHERE [condition] — partial index for [use case]
Indexes NOT created (and why):
[field] — low cardinality, table scan is fine
-- Migration: [descriptive name]
-- Safe to run with zero downtime: [Yes/No — explain if No]
-- Rollback: [rollback SQL]
-- UP
ALTER TABLE ...;
CREATE INDEX CONCURRENTLY ...; -- CONCURRENTLY for zero-downtime
-- DOWN (rollback)
DROP INDEX ...;
ALTER TABLE ...;
id (UUID), created_at, updated_atdeleted_at) preferred over hard deletes for auditable entitiesON DELETE CASCADE only for tightly coupled child dataCONCURRENTLY to index creation in migrations for zero-downtime deploysWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zeon-kun/claude-skills --plugin claude-skills31 skills in this plugin
/adrWrite an Architecture Decision Record (ADR) documenting a technical decision with context, options considered, and rationale. Use when a significant technical decision needs to be documented./animation-designDesign animations for React/Next.js components using Framer Motion (Motion) or GSAP. Covers entrances, scroll-triggered reveals, page transitions, stagger effects, and interactive micro-animations. Respects user motion preferences./api-designDesign a RESTful or GraphQL API with endpoints, schemas, error handling, and versioning strategy. Use when starting a new API or extending an existing one.Other plugins' skills for the same job