Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

oma-db

БесплатноБез исполняемых скриптовНе проверен

Design schemas and migrations, tune queries, or plan vector retrieval and database operations. Application API implementation uses oma-backend.

first-flukeот first-fluke★ 228 звёзд на GitHub

Об этом скилле

DB Agent - Data Modeling & Database Architecture Specialist

Scheduling

Goal

Design, 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.

Intent signature

  • User asks about database, schema, ERD, table design, document model, vector index, RAG retrieval, migration, query tuning, glossary, backup, capacity, or database anti-patterns.
  • User needs database recommendations aligned with security, continuity, integrity, or compliance concerns.

When to use

  • Relational database modeling, ERD, and schema design
  • NoSQL document, key-value, wide-column, or graph data modeling
  • Vector database and retrieval architecture design for semantic search and RAG
  • SQL/NoSQL technology selection and tradeoff analysis
  • Normalization, denormalization, indexing, and partitioning
  • Transaction design, locking, isolation level, and concurrency control
  • Data standards, glossary, naming rules, and metadata governance
  • Capacity estimation, storage planning, hot/cold data separation, and backup strategy
  • Database anti-pattern review and remediation guidance
  • ISO 27001, ISO 27002, and ISO 22301-aware database design recommendations

When NOT to use

  • API-only implementation without schema impact -> use Backend Agent
  • Infra provisioning only -> use TF Infra Agent
  • Final quality/security audit -> use QA Agent

Expected inputs

  • Business entities, events, access patterns, volume, latency, retention, and recovery targets
  • Existing schema, queries, migrations, indexes, data standards, or retrieval pipeline context
  • Consistency, transaction, backup, audit, and compliance constraints
  • Optional target deliverable such as ERD, migration plan, glossary, or capacity estimate

Expected outputs

  • External, conceptual, and internal schema documentation
  • Data standards, glossary, capacity estimate, indexing/partitioning plan, and backup/recovery strategy
  • Integrity, transaction, isolation, and concurrency recommendations
  • Application ownership recommendations, alternatives, transition priorities, and technical retention evidence when DB business logic is affected
  • Vector/RAG-specific embedding, chunking, filtering, reranking, and re-index plans when relevant

Dependencies

  • Existing database schemas, migration files, query logs, workload descriptions, and application access paths
  • 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
  • SQL/NoSQL/vector database tools or project-specific migration toolchains when implementation is requested
  • The project's query tools and its migration, query, lint, or validation commands
  • Optional spreadsheet or diagram artifacts when capacity or ERD output is requested

Structural Flow

Transitions

  • If relational workload dominates, enforce 3NF unless denormalization is justified.
  • If distributed/non-relational workload dominates, model around aggregates and access paths.
  • If vector/RAG is involved, include hybrid retrieval, embedding versioning, and re-embedding migration.
  • If auditability or continuity is weakened, propose ISO-friendlier alternatives.

Failure and recovery

  • If workload or access patterns are missing, state assumptions and ask for representative queries or flows.
  • If integrity or transaction requirements conflict with chosen engine, surface the tradeoff.
  • If implementation risk is high, separate design artifact from migration execution.

Exit

  • Success: deliverables state model, constraints, integrity, transactions, capacity, and validation.
  • Partial success: missing workload evidence or unresolved tradeoffs are explicit.

Logical Operations

Canonical workflow path

  1. Identify the workload, data domain, existing schema state, and target deliverable, and decide whether the task is design, optimization, review, remediation, or implementation. Gather business entities, events, access patterns, consistency needs, volume, latency, retention, and recovery targets; state assumptions where schema or workload evidence is unavailable.
  2. Locate files and inspect symbols or content with the configured code-intelligence provider. For Serena, call serena_repl with the session ID from initial_instructions. Use s.fs for path and text queries and s.lsp for symbols. Native search is limited to the provider exclusions and non-code paths permitted by the project's search policy.
  3. Read the existing schemas, migrations, ERDs, queries, docs, and operational assumptions.
  4. Classify the workload (OLTP, analytics, eventing, cache, search, mixed) and the data model (SQL, NoSQL, vector, mixed). Decide relational vs non-relational with explicit justification, comparing engine, model, and index tradeoffs.
  5. Design: produce external/conceptual/internal s
Полный SKILL.md на GitHub

Установить oma-db в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

resources/anti-patterns.mdresources/checklist.mdresources/document-templates.mdresources/error-playbook.mdresources/examples.mdresources/execution-protocol.mdresources/iso-controls.mdresources/migration-playbook.mdresources/query-tuning.mdresources/vector-db.md

FAQ

Что делает скилл oma-db?

Design schemas and migrations, tune queries, or plan vector retrieval and database operations. Application API implementation uses oma-backend.

Как установить скилл oma-db?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл oma-db запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить oma-db с