Database engineering

From HanTechnology/oh-my-openagent-toolkit · View interactive version

Database engineering is an AI agent skill from the GitHub repository HanTechnology/oh-my-openagent-toolkit. Deliver language-agnostic database design, migration, performance, and reliability guidance across relational, document, and in-memory data systems.

How to use this skill

Skill file

Database Engineering

Use this pack for database work: schema design, data modeling, migrations, query and index tuning, replication planning, backup and restore strategy, and operational reliability across major datastore families. Defer first-pass route choice and lane selection to .opencode/reference/routing-matrix.md.

This is the general database pack for the repo. Use the overlays in reference/postgres-mysql-mongodb-redis.md and reference/analytics-search-stores.md to sharpen engine-specific, analytical, and search-serving choices while keeping schema, migration, query-planning, index or mapping contracts, lifecycle policy, freshness, and recovery expectations explicit.

Core focus

Shared database standards

Default workflow

  1. Inspect the current schema, query paths, write patterns, retention rules, and operational constraints.
  2. Choose the relevant database overlay or overlay set: reference/postgres-mysql-mongodb-redis.md for engine-specific tradeoffs, or reference/analytics-search-stores.md when warehouse, analytical, search-serving, reindex, or recovery behavior dominates the design.
  3. Define the schema, migration sequence, rollback shape, and consistency model before broad implementation.
  4. Implement schema changes, indexes, query updates, and backup or recovery implications together so operational risk stays visible.
  5. Run review-work after substantial database changes.

Collaboration in this repo

Overlays

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.