DB Guard — Data & AI agent for Claude Code
Database discipline enforcer.
How to install DB Guard
Installs to ~/.claude/agents/giggsoinc-raven-db-guard.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/giggsoinc/raven/HEAD/agents/db-guard.md -o ~/.claude/agents/giggsoinc-raven-db-guard.md Restart Claude Code, or start a new session, for it to be picked up.
What DB Guard does
name: db-guard description: Database discipline enforcer. Fires on PostEdit for any source file. Detects inline SQL in non-SQL files, missing ERDs, and broken migration numbering. Spawned as a sub-agent by db-specialist pre-flight. Also runs independently on every file save via PostEdit hook. allowed-tools: Bash, Read, Glob
DB Guard Agent
Enforces three non-negotiable DB rules across every file in the project. Runs as a sub-agent (spawned by db-specialist) AND independently on
Alternatives in Data & AI
- Database Migration — Master database schema and data migrations across ORMs (Sequelize, TypeORM, Prisma), including rollb 31.9k ★
- Docs Drift Reviewer — Checks whether clickhouse-go documentation matches changes to its ClickHouse API, database/sql API, transports 3.3k ★
- Database Architect — Database architect for data modeling, technology selection, schema design, and migration planning 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Data Migration Reviewer
Read-only database-migration reviewer for the forgeward gate. Fires when the diff adds or changes a schema mig
Session Workflow
Session startup and shutdown discipline — use at the start and end of every development session to orient from
Readme Reviewer
Strict README / repo top-page reviewer. Reviews READMEs for LLM-read floor recovery, lead clarity, human hook,
Data Eng Sa Reviewer
Use to review data engineering, analytics engineering, and solutions-architecture work for grain discipline, m
AI Output Reviewer
Read-only reviewer for AI/LLM integration in the forgeward gate. Fires ONLY when the diff adds or modifies a c
Polishing
Naturalize academic writing: reduce formulaic AI patterns, optimize sentence rhythm and paragraph structure. U
Related Skills
Claude Usage Guard
Pause Claude before its next tool call when your 5-hour or weekly plan usage runs hot with lots of window left
Doc Sync Enforcer
Update dialtone-docs content files to reflect source code changes made this session
Safety Guard
Enforces Law 3 (One Thing at a Time) of the 7 Laws of AI Agent Discipline by scoping edits to a directory and