database-engineering
Deliver language-agnostic database design, migration, performance, and reliability guidance across relational, document, and in-memory data systems.
от HanTechnology★ 38 звёзд на GitHub
Установить database-engineering в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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
- Design schemas and data models around business invariants, access patterns, and change frequency.
- Treat migrations as production changes: forward compatibility, rollback, and zero-downtime sequencing belong in the design.
- Tune query shape and index strategy with planner evidence instead of intuition alone.
- Make transaction boundaries, consistency needs, caching assumptions, and retention rules visible.
- Plan for replication, high availability, backup, restore, and recovery objectives before the system is under stress.
Shared database standards
- Choose relational, document, and in-memory stores based on data shape and consistency needs, not habit or framework defaults.
- Keep primary keys, foreign keys, uniqueness, constraints, and data ownership readable in the schema.
- Use representative data,
EXPLAIN, query plans, and slow-query evidence before claiming a performance win. - Stage migrations so application code and data changes can coexist during rollout, rollback, and backfill windows.
- Rehearse restore paths and failure scenarios; backups without restore confidence are not enough.
Default workflow
- Inspect the current schema, query paths, write patterns, retention rules, and operational constraints.
- Choose the relevant database overlay or overlay set:
reference/postgres-mysql-mongodb-redis.mdfor engine-specific tradeoffs, orreference/analytics-search-stores.mdwhen warehouse, analytical, search-serving, reindex, or recovery behavior dominates the design. - Define the schema, migration sequence, rollback shape, and consistency model before broad implementation.
- Implement schema changes, indexes, query updates, and backup or recovery implications together so operational risk stays visible.
- Run
review-workafter substantial database changes.
Collaboration in this repo
- Use
Explorebefore editing so new work matches local schema, migration, and query patterns. - Use
LibrarianorContext7when engine behavior, planner rules, or driver capabilities need a source-of-truth check. - Pair with
architecture-integrationwhen service boundaries, event contracts, or ownership across systems dominate the task. - Pair with
security-engineeringwhen encryption, access control, or sensitive-data handling changes the storage design. - Pair with
devops-platformwhen replication, backup, restore, or failover concerns extend into runtime operations.
Overlays
reference/postgres-mysql-mongodb-redis.mdfor engine choice boundaries, indexing and query planning, transactions and consistency, and replication or durability tradeoffs.reference/analytics-search-stores.mdfor warehouse and search-serving boundaries, index or mapping contracts, schema evolution and reindex flow, lifecycle policy, hot-path guardrails, and recovery posture.
Guardrails
- Do not reduce this pack to ORM-only or web-stack-only guidance.
- Do not ship destructive migrations without compatibility, rollback, and data-recovery thinking.
- Do not assume replicas, backups, or caches are safe defaults without testing their failure behavior.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference/analytics-search-stores.md
- reference/postgres-mysql-mongodb-redis.md
FAQ
Что делает скилл database-engineering?
Deliver language-agnostic database design, migration, performance, and reliability guidance across relational, document, and in-memory data systems.
Как установить скилл database-engineering?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл database-engineering запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…