Database Designer - POWERFUL Tier Skill

Analyze SQL DDL schemas for normalization issues and generate Mermaid ERD diagrams.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/Nuwanda04/Ballen-Fisk --skill database-designer-powerful-tier-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Database Designer - POWERFUL Tier Skill
Source: https://github.com/Nuwanda04/Ballen-Fisk/tree/main/.cursor/skills/database-designer
Command: npx skills add https://github.com/Nuwanda04/Ballen-Fisk --skill database-designer-powerful-tier-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming tasks of database schema analysis, index optimization, and migration generation, helping you build more robust, performant, and maintainable database systems.

Core Features & Use Cases

  • Schema Analysis: Identifies normalization violations, missing constraints, and data type antipatterns.
  • Index Optimization: Recommends optimal indexes based on query patterns and detects redundant indexes.
  • Migration Generation: Creates safe SQL migration scripts between schema versions, supporting zero-downtime strategies.
  • Use Case: Ensure your database schema adheres to best practices, improve query performance by optimizing indexes, and generate safe, automated migration scripts for schema changes.

Quick Start

Analyze the provided SQL schema file 'sample_schema.sql' and generate a Mermaid ERD diagram.

Frequently Asked Questions about Database Designer - POWERFUL Tier Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze SQL DDL for normalization issues and missing constraints?

You can analyze SQL DDL or JSON schema definitions to identify database normalization issues, missing constraints, and data type antipatterns. The analysis also detects naming convention violations to ensure your database design adheres to best practices.

What is the best way to optimize database indexes based on query patterns?

Database index optimization analyzes your schema and query patterns to suggest missing indexes and detect redundant ones. It generates SQL statements to create optimal indexes, improving query performance by matching index structures to actual query usage.

How do I generate SQL migration scripts between schema versions with rollback plans?

You can generate migration scripts between database schema versions that support zero-downtime deployment strategies. The migration generation provides safe SQL statements and includes rollback plans to safely revert schema changes if needed.

Can I generate a Mermaid ERD diagram directly from a SQL schema file?

Yes, you can generate Mermaid ERD diagrams directly from SQL DDL or JSON schema definitions. The diagram generation visualizes your database structure automatically, providing a clear entity-relationship overview for documentation and analysis.

Does database schema analysis work with JSON definitions or only SQL DDL?

Database schema analysis works with both SQL DDL and JSON definitions. It processes either input format to identify normalization violations, missing constraints, and data type antipatterns, providing optimization recommendations regardless of the source.