What problem does it solve?
This skill simplifies the complex process of designing, creating, and visualizing database schemas by using DBML (Database Markup Language), a human-readable and database-agnostic DSL. It eliminates the need for direct SQL DDL for initial design and provides clear ERD visualizations.
Core Features & Use Cases
- Schema Design: Define database tables, columns, relationships, enums, and indexes using a simple, intuitive syntax.
- Visualization: Generate ERD diagrams from DBML files, especially useful with tools like the DBML Live Preview VS Code extension.
- Conversion: Translate SQL DDL or natural language descriptions into structured DBML schemas.
- Use Case: Rapidly prototype a new application's data model, define all entities and their relationships, and share a clear, visual representation with your team without writing a single line of SQL.
Quick Start
Use the dbml skill to design a database schema for an e-commerce platform including products, orders, and users.