DB Schema Architect — Data & AI agent for Claude Code
Use when designing or modifying database schemas, migrations, multi-tenant data models, or polymorphic table structures.
How to install DB Schema Architect
Installs to ~/.claude/agents/nonlinear-xyz-factory-kit-db-schema-architect.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/nonlinear-xyz/factory-kit/HEAD/agents/db-schema-architect.md -o ~/.claude/agents/nonlinear-xyz-factory-kit-db-schema-architect.md Restart Claude Code, or start a new session, for it to be picked up.
What DB Schema Architect does
name: db-schema-architect description: Use when designing or modifying database schemas, migrations, multi-tenant data models, or polymorphic table structures. Carries the factory's data-layer conventions — Drizzle with domain-partitioned schema modules, `_shared.ts` with `timestamps` helper and `pgTableCreator`, org-keyed FKs with cascade delete, JSONB envelope for non-query-driving data, polymorphic table patterns (shared base + variant tables), schema-derived type exports, ESLint Drizzle
Alternatives in Data & AI
- Vision — GSD-2 is the orchestration layer between you and AI coding agents 5.7k ★
- Migration Agent — Creates safe, reversible database migrations with proper indexes, constraints, and zero-downtime strategies 652 ★
- Temporal Expert — Use this agent for Output.ai workflow abstractions, designing activity boundaries, implementing error handling 434 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Database Agent
Use this agent when you need to work with database operations, particularly Supabase databases. This includes:
LLM Workflow Engineer
Use when building LangGraph workflows, agents, RAG systems, structured-output nodes, streaming chat surfaces,
DB Creator
Database schema architect that designs schemas from requirements, generates migrations, validates data models,
Schema Architect
Translates OpenAPI specifications into Drizzle ORM schemas and Zod validation schemas. Use when generating dat
Sebastien
Expert backend. A invoquer pour implementer des routes/services Express/Node.js, des schemas Drizzle ORM, des
DB Migration Specialist
Schema migration specialist for any storage layer (SQL, ORMs, Room, document stores). Use when a change adds/a
Related Skills
Resolve Drizzle Migrations
Resolve Drizzle migration conflicts by accepting upstream and regenerating local migrations
Chronicler
Review database schemas, SQL design, migrations, persistence optimization, and constraints.
Plugin Authoring
Ambient guidance for creating, modifying, and debugging Claude Code plugins with schemas, templates, validatio