Design schemas and migrations, tune queries, or plan vector retrieval and database operations. Application API implementation uses oma-backend.
58
66%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/oma-db/SKILL.mdDesign, review, optimize, and document SQL, NoSQL, vector, and retrieval-oriented data systems with explicit schema layers, integrity rules, transaction behavior, capacity assumptions, and audit-aware tradeoffs.
resources/document-templates.md, resources/anti-patterns.md, resources/vector-db.md, resources/iso-controls.md, resources/migration-playbook.md, and resources/query-tuning.md| Action | SSL primitive | Evidence |
|---|---|---|
| Classify workload and model | SELECT | SQL, NoSQL, vector, cache, search, mixed |
| Read schema/query evidence | READ | Migrations, ERDs, query patterns |
| Compare design alternatives | COMPARE | Engine/model/index tradeoffs |
| Infer integrity and capacity risks | INFER | Constraints, transactions, growth assumptions |
| Validate anti-patterns | VALIDATE | Checklist and anti-pattern guide |
| Write schema docs or changes | WRITE | Deliverables, migrations, query/index changes |
| Report recommendation | NOTIFY | Final database guidance |
rg --files -g '*.sql' -g '*prisma*' -g '*schema*' -g '*migration*'
rg "CREATE TABLE|model |index|foreign key|transaction|embedding|vector" .Then run the project's migration, query-plan, or retrieval-quality commands only after identifying the database engine and migration tool.
| Scope | Resource target |
|---|---|
CODEBASE | Schema, migration, query, ORM, and retrieval files |
LOCAL_FS | Database design artifacts and result documents |
PROCESS | Migration, query, lint, or validation commands |
USER_DATA | Domain data definitions, retention rules, and sample access patterns |
Apply framework, library, architecture, and data-model defaults only when the target project has no established choice. Scoped edits do not authorize a stack migration or unrelated infrastructure.
resources/execution-protocol.mdresources/checklist.mdresources/examples.mdresources/document-templates.mdresources/anti-patterns.mdresources/migration-playbook.mdresources/query-tuning.mdresources/vector-db.mdresources/iso-controls.mdresources/error-playbook.md../_shared/core/context-loading.md../_shared/core/clarification-protocol.md../_shared/core/context-budget.md../_shared/core/lessons-learned.md (matching prior failure or requested retrospective)../oma-observability/SKILL.md §Integrations — DB span conventions (N+1, lock-wait, pool), cardinality budgetsce19702
Also appears in
since Sep 12, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.