cveralyon

DB Check — Data & AI agent for Claude Code

Data & AI community

Validate database state — pending migrations, schema consistency, missing indexes.

How to install DB Check

Installs to ~/.claude/agents/cveralyon-axel-setup-db-check.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/cveralyon/axel-setup/HEAD/agents/db-check.md -o ~/.claude/agents/cveralyon-axel-setup-db-check.md

Restart Claude Code, or start a new session, for it to be picked up.

What DB Check does


description: Validate database state — pending migrations, schema consistency, missing indexes. tools: ["Bash", "Read", "Grep", "Glob"]

Check database health for your Rails API.

  1. Pending migrations: RAILS_ENV=development rails db:migrate:status
  2. Schema consistency: compare db/schema.rb with actual migrations
  3. Missing indexes: scan models for belongs_to/has_many without corresponding indexes
  4. N+1 risks: grep for .each loops calling associations without

Alternatives in Data & AI

  • Database Migration — Master database schema and data migrations across ORMs (Sequelize, TypeORM, Prisma), including rollb 31.9k ★
  • Migration Agent — Creates safe, reversible database migrations with proper indexes, constraints, and zero-downtime strategies 652 ★
  • Module Migration — Use this agent to create, review, or fix database migrations for LaraDashboard modules — handles table creatio 407 ★

Full documentation available on GitHub

View Source Repository