Db Guard banner
giggsoinc giggsoinc

Db Guard

Data & AI community

Description

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

Installation

Installs to ~/.claude/agents/giggsoinc-raven-db-guard.md

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

Full documentation available on GitHub

View Source Repository