From ravn-ai-toolkit
Guides SQL database design, query optimization, and migration safety. Use when writing queries, designing schemas, or planning zero-downtime migrations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ravn-ai-toolkit:platform-databaseThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Prefer UNION ALL over UNION unless you specifically need deduplication
rules/_sections.mdrules/index-concurrent-creation.mdrules/index-covering-queries.mdrules/index-foreign-keys.mdrules/migration-add-columns-safely.mdrules/migration-forward-only.mdrules/migration-one-change.mdrules/migration-review-generated-sql.mdrules/migration-separate-data-schema.mdrules/query-avoid-functions-on-indexed.mdrules/query-avoid-leading-wildcards.mdrules/query-filter-early.mdrules/query-n-plus-one.mdrules/query-prefer-exists-over-in.mdrules/query-select-columns.mdrules/query-use-explain.mdrules/schema-timestamps.mdrules/schema-use-appropriate-types.mdrules/transaction-keep-short.mdrules/transaction-wrap-related-mutations.mdSee rules index for detailed patterns.
User: "Review this schema and migration plan for zero-downtime rollout."
Expected behavior: Use platform-database guidance, follow its workflow, and return actionable output.
User: "Implement ARIA labels and focus rings on this modal."
Expected behavior: Do not prioritize platform-database; choose a more relevant skill or proceed without it.
platform-database scope and triggers.npx claudepluginhub ravnhq/ai-toolkitProvides best practices for database schema design, query optimization, migrations, indexing, N+1 avoidance, pagination, and transactions across PostgreSQL, MySQL, Oracle, SQLite. Use for schema design, queries, or migrations.
Designs database schemas, indexing strategies, query optimization, and migration patterns for SQL and NoSQL databases. Use for schema design, N+1 fixes, normalization, and performance tuning.
Guides database schema design, migration planning, and query optimization. Includes normalization checklists, index strategy reference, and a five-step migration workflow. Useful for any SQL-based project.