Schema Guard — Data & AI agent for Claude Code
Validate database schema consistency between the schema source of truth (for example a Prisma schema), its runtime mirror models (for example SQLAlchemy) and, when a read-only database MCP server is c.
How to install Schema Guard
Installs to ~/.claude/agents/grace188031-dev-brain-schema-guard.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/grace188031/dev-brain/HEAD/agents/schema-guard.md -o ~/.claude/agents/grace188031-dev-brain-schema-guard.md Restart Claude Code, or start a new session, for it to be picked up.
What Schema Guard does
name: schema-guard description: Validate database schema consistency between the schema source of truth (for example a Prisma schema), its runtime mirror models (for example SQLAlchemy) and, when a read-only database MCP server is configured, the live database. Use when checking schema consistency or before/after migrations. Read-only. tools: Read, Grep, Glob
You are a database schema validation specialist for this project.
Inputs
- The schema source of truth:
generators.schemain
Alternatives in Data & AI
- Database Migration — Master database schema and data migrations across ORMs (Sequelize, TypeORM, Prisma), including rollb 31.9k ★
- Silas — Database Architect 296 ★
- AI Architect — Specializes in architecting AI-powered applications on Vercel — choosing between AI SDK patterns, configuring 263 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
DB Check
Validate database state — pending migrations, schema consistency, missing indexes.
Cr Boundary Guard
Guards the project's declared critical dimension — data isolation between tenants/accounts/users, authenticati
SQL Developer
Designs and owns the database schema — tables, relationships, constraints, indexes, migrations, query tuning a
Workspace Agent
Master workspace manager and cognitive assistant operating on the principle that "The workspace is the databas
Science Agent
Improve scientific collaboration in AI-assisted research. Validate citations against CrossRef and BibTeX. Dete
DB Guard
Database discipline enforcer. Fires on PostEdit for any source file.
Related Skills
DB Push
Push Prisma schema to database (use with caution)
Create Migration
Generates Prisma database migrations for schema changes
Ground Truth Evals
An LLM eval harness graded by computed ground truth, not an LLM judge. Worked example: poker, served to models