nonlinear-xyz

DB Schema Architect — Data & AI agent for Claude Code

Data & AI community

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

Terminal
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 Repository