ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

database-designer

Database Designer - POWERFUL Tier Skill

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/alirezarezvani/database-designer
Or

What This Skill Does

The Database Designer skill is a high-performance tool designed for architects and developers to streamline the lifecycle of database management. It acts as an expert consultant capable of performing deep-dive normalization analysis, recommending schema denormalization strategies, and optimizing index structures. The skill excels at identifying performance bottlenecks by analyzing schema definitions, proposing composite index strategies, and flagging redundant or unused indexes. Beyond structural analysis, it offers a robust framework for managing schema migrations, ensuring that changes follow the expand-contract pattern for zero-downtime deployments. It also provides automatic ERD generation via Mermaid syntax, making it easier to visualize complex data relationships and document architecture.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/alirezarezvani/database-designer Ensure your local agent has the necessary permissions to access your project workspace for schema file analysis.

Use Cases

  • Legacy Schema Refactoring: Use the tool to normalize bloated legacy tables or identify missing foreign key constraints that lead to data integrity issues.
  • Performance Tuning: Provide your slow-query logs and schema definitions to get actionable advice on index creation and partition strategies.
  • CI/CD Pipeline Automation: Automate the generation of SQL migration scripts for feature branches, ensuring that column changes are handled safely.
  • Architecture Documentation: Quickly generate ERD documentation for new hires or stakeholder presentations by piping your DDL through the tool.

Example Prompts

  1. "Analyze this Postgres DDL schema. Identify any missing foreign key constraints and suggest a composite index strategy for the users and orders tables to speed up lookup performance."
  2. "I am planning to rename a primary column in a table with 10 million rows. Create a zero-downtime migration plan using the expand-contract pattern."
  3. "Convert the following schema snippet into a Mermaid ERD and explain any potential normalization improvements for the current structure."

Tips & Limitations

To get the best results, always provide the specific database dialect (e.g., PostgreSQL, MySQL, SQLite) you are targeting, as syntax for constraints and indexing varies significantly. While the tool provides expert recommendations, always validate generated migration scripts in a staging environment before executing them in production. The skill is optimized for structural design and migration planning; it does not replace the need for physical database tuning based on actual real-time query execution plans (EXPLAIN ANALYZE output). Ensure your schema files are clean and correctly formatted for the most accurate analysis.

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-alirezarezvani-database-designer": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#database#schema#sql#architecture#migration
Safety Score: 4/5

Flags: file-read, file-write

Related Skills

intl-expansion

International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.

alirezarezvani 4473

marketing-strategy-pmm

Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.

alirezarezvani 4473

paid-ads

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.

alirezarezvani 4473

qms-audit-expert

ISO 13485 internal audit expertise for medical device QMS. Covers audit planning, execution, nonconformity classification, and CAPA verification. Use for internal audit planning, audit execution, finding classification, external audit preparation, or audit program management.

alirezarezvani 4473

code-reviewer

Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.

alirezarezvani 4473