Overview
- Skill Key
- alirezarezvani/database-designer
- Author
- alirezarezvani
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/alirezarezvani/database-designer
- Latest Commit SHA
- 45d11119307472bbf32c753e56f8ef39b65e14d3
Database Designer - POWERFUL Tier Skill
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 database-designer 技能。 若已安装,则直接安装 database-designer 技能。
# Database Designer - POWERFUL Tier Skill ## Overview A comprehensive database design skill that provides expert-level analysis, optimization, and migration capabilities for modern database systems. This skill combines theoretical principles with practical tools to help architects and developers create scalable, performant, and maintainable database schemas. ## Core Competencies ### Schema Design & Analysis - **Normalization Analysis**: Automated detection of normalization levels (1NF through BCNF) - **Denormalization Strategy**: Smart recommendations for performance optimization - **Data Type Optimization**: Identification of inappropriate types and size issues - **Constraint Analysis**: Missing foreign keys, unique constraints, and null checks - **Naming Convention Validation**: Consistent table and column naming patterns - **ERD Generation**: Automatic Mermaid diagram creation from DDL ### Index Optimization - **Index Gap Analysis**: Identification of missing indexes on foreign keys and query patterns - **Composite Index Strategy**: Optimal column ordering for multi-column indexes - **Index Redundancy Detection**: Elimination of overlapping and unused indexes - **Performance Impact Modeling**: Selectivity estimation and query cost analysis - **Index Type Selection**: B-tree, hash, partial, covering, and specialized indexes ### Migration Management - **Zero-Downtime Migrations**: Expand-contract pattern implementation - **Schema Evolution**: Safe column additions, deletions, and type changes - **Data Migration Scripts**: Automated data transformation and validation - **Rollback Strategy**: Complete reversal capabilities with validation - **Execution Planning**: Ordered migration steps with dependency resolution ## Database Design Principles → See references/database-design-reference.md for details ## Best Practices ### Schema Design 1. **Use meaningful names**: Clear, consistent naming conventions 2. **Choose appropriate data types**: Right-sized columns...
# Database Designer - POWERFUL Tier Skill A comprehensive database design and analysis toolkit that provides expert-level schema analysis, index optimization, and migration generation capabilities for modern database systems. ## Features ### 🔍 Schema Analyzer - **Normalization Analysis**: Automated detection of 1NF through BCNF violations - **Data Type Optimization**: Identifies antipatterns and inappropriate types - **Constraint Analysis**: Finds missing foreign keys, unique constraints, and checks - **ERD Generation**: Creates Mermaid diagrams from DDL or JSON schema - **Naming Convention Validation**: Ensures consistent naming patterns ### ⚡ Index Optimizer - **Missing Index Detection**: Identifies indexes needed for query patterns - **Composite Index Design**: Optimizes column ordering for maximum efficiency - **Redundancy Analysis**: Finds duplicate and overlapping indexes - **Performance Modeling**: Estimates selectivity and query performance impact - **Covering Index Recommendations**: Eliminates table lookups ### 🚀 Migration Generator - **Zero-Downtime Migrations**: Implements expand-contract patterns - **Schema Evolution**: Handles column changes, table renames, constraint updates - **Data Migration Scripts**: Automated data transformation and validation - **Rollback Planning**: Complete reversal capabilities for all changes - **Execution Orchestration**: Dependency-aware migration ordering ## Quick Start ### Prerequisites - Python 3.7+ (no external dependencies required) - Database schema in SQL DDL format or JSON - Query patterns (for index optimization) ### Installation ```bash # Clone or download the database-designer skill cd engineering/database-designer/ # Make scripts executable chmod +x *.py ``` ## Usage Examples ### Schema Analysis **Analyze SQL DDL file:** ```bash python schema_analyzer.py --input assets/sample_schema.sql --output-format text ``` **Generate ERD diagram:** ```bash python schema_analyzer.py --input assets/sample_s...
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.