Install
openclaw skills install kv-database-designerDesign, analyze, optimize and evolve database schemas. Use when the user asks to design schemas from scratch, choose between SQL and NoSQL engines, analyze or fix an existing schema (normalization, naming, constraints), plan index strategy, generate migration scripts, or interpret EXPLAIN plans.
openclaw skills install kv-database-designerConvert a design request or existing schema into a structured, validated, production-ready artifact.
Use this skill when the user asks to:
design | analyze | index | migrate | query | select-engine.design / analyze → {baseDir}/references/database-design-reference.md{baseDir}/references/normalization_guide.md{baseDir}/references/index_strategy_patterns.md{baseDir}/references/database_selection_decision_tree.md# Analyze schema for issues (normalization, constraints, naming, types)
python {baseDir}/scripts/schema_analyzer.py --schema=<ddl_file>
# Suggest index improvements for a query workload
python {baseDir}/scripts/index_optimizer.py --schema=<ddl_file> --queries=<queries_file>
# Generate up/down migration scripts
python {baseDir}/scripts/migration_generator.py --before=<old_schema> --after=<new_schema>
Information Loss when the target format cannot express a constraint (e.g. CHECK logic in Prisma).down script.migration-architect.Before emitting any artifact, verify:
down counterpart;