db
Installation
SKILL.md
db
Purpose
Database workflow specialist. Handles the parts of database work that cause production incidents — breaking schema changes, migrations without rollback, raw SQL injection vectors, and missing indexes on growing tables. Acts as a pre-deploy gate for any schema change, and generates correct migration files (up + down) for common ORMs.
Triggers
/rune db— manual invocation when schema changes are planned- Called by
cook(L1): schema change detected in diff - Called by
deploy(L2): pre-deploy migration safety check - Called by
audit(L2): database health dimension
Calls (outbound)
scout(L2): find schema files, migration files, ORM configverification(L3): run migration in test environment if configuredhallucination-guard(L3): verify SQL syntax and ORM method names