model-onboarding
Onboard a new model generation or sibling into oh-my-hermes: probe router recognition, research the official contract, write…
[omh] Database work on a relational store -- a slow query, an index to size, a migration on a big table, a lock taken during deploy, N+1 queries: plan it with the checks that prove it safe, and never call a migration ready without its lock behaviour and rollback. Use when the
Claude Code
$ npx -y skills add rlaope/oh-my-hermes --skill omh-relational-db --agent claude-code
Codex
$ npx skills add rlaope/oh-my-hermes --skill omh-relational-db -a codex -y
Cursor
$ npx skills add rlaope/oh-my-hermes --skill omh-relational-db -a cursor -y
Gemini CLI
$ npx skills add rlaope/oh-my-hermes --skill omh-relational-db -a gemini-cli -y
GitHub Copilot
$ npx skills add rlaope/oh-my-hermes --skill omh-relational-db -a github-copilot -y
OpenCode
$ npx skills add rlaope/oh-my-hermes --skill omh-relational-db -a opencode -y
Windsurf
$ npx skills add rlaope/oh-my-hermes --skill omh-relational-db -a windsurf -y
name: "omh-relational-db"
description: "[omh] Database work on a relational store: a slow query, an index to size, a migration on a big table, a lock taken during deploy, N+1 queries; plan it with the checks that prove it safe, and never call a migration ready without its lock behaviour and rollback. Use when the user says: relational-db, relational database, online migration, migration for a large table, lock-safe ddl, alter table, took a lock, table lock."
license: MIT
author: "oh-my-hermes maintainers"
metadata:
hermes:
tags: [workflow, oh-my-hermes, planning]
category: planning
phase: relational-db
role: planner
quality_tier: db-lock-and-rollback-gated
related_skills: [omh-backend, ulw-perf, omh-data-analysis, omh-deploy-and-monitor]This is a Hermes-native `relational-db` workflow skill.
`relational-db` exists because the database work itself had no owner: `omh-backend` owns `schema_migration_plan/v1` for a service change, and an index question, a lock taken during deploy, or an N+1 finding was answered by a data, deploy, or interview lane with no lock model at all.
Good example:
Bad example:
Use when the work is the database itself on a relational engine such as Postgres or MySQL: a slow query and the index that fixes it, an online migration on a large table, DDL that took or would take a lock during deploy, N+1 queries from an endpoint, or when to partition or shard. The output is a plan plus the checks that prove it safe to run; OMH never connects to a database.
Strong routing signals: `relational-db`, `relational database`, `online migration`, `migration for a large table`, `lock-safe ddl`, `alter table`, `took a lock`, `table lock`, `lock during deploy`, `create index concurrently`, `which index`, `what index`, `missing index`, `index size`, `seq scan`, `seq-scans`, `sequential scan`, `explain analyze`, `query plan`, `n+1`, `n+1 query`, `n+1 queries`, `need to shard`, `shard the database`, `database sharding`, `table partitioning`, `partition the table`, `index bloat`, `postgres lock`, `mysql online ddl`
Category: `planning` Phase: `relational-db` Hermes role: `planner` Quality tier: `db-lock-and-rollback-gated` Reasoning demand: `standard`
Quality bar:
Handoff policy:
Keep the problem statement, the index proposal, the migration plan with its lock behaviour and rollback, and the readiness verdict in Hermes. Query plans, row counts, lock waits, and every applied statement are recorded only from executor, operator, or wrapper observed output; OMH never connects to a database.
Required inputs:
Onboard a new model generation or sibling into oh-my-hermes: probe router recognition, research the official contract, write…
Review oh-my-hermes pull requests that have not been reviewed at their current head commit. Run manually to sweep the open…
Backfill labels across oh-my-hermes issues and pull requests. Run manually to sweep everything currently unlabeled, or pass a…
[omh] Large multi-part job to run on its own: plan it as a graph of small nodes, run the ready ones in parallel through Hermes'…
[omh] Screen-reader or keyboard accessibility gaps: prepare WCAG, keyboard, focus, screen-reader, target-size, and reflow…
[omh] Hermes badges unlocked and achievement progress: achievements observation: summarize hermes-achievements badges, tiers,…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration