database-schema-generator

Generate PostgreSQL/Supabase schemas, TypeScript types, and migration files from natural language requirements.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/mealpac/manus --skill database-schema-generator-mealpac
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-schema-generator
Source: https://github.com/mealpac/manus/tree/main/skills/tier1-foundation/database-schema-generator
Command: npx skills add https://github.com/mealpac/manus --skill database-schema-generator-mealpac

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing robust database schemas from business requirements is time-consuming and error-prone. This skill converts natural-language descriptions into production-ready PostgreSQL/Supabase schemas with proper constraints, RLS, and migrations.

Core Features & Use Cases

  • Generates complete schemas with UUID primary keys, timestamps, and soft deletes.
  • Adds foreign keys, checks, indexes, and RLS policies for Supabase-ready deployments.
  • Produces TypeScript types and migration files for version control.

Quick Start

Describe your database needs in natural language and run the generator to produce SQL, TypeScript types, and migrations.

Frequently Asked Questions about database-schema-generator

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

FAQPage Schema
How do I generate a PostgreSQL schema from natural language requirements?

To generate a PostgreSQL schema from natural language, describe your database needs and run the generator to output production-ready SQL with UUID primary keys, timestamps, constraints, and indexes for Supabase deployments.

Can I automatically generate Row Level Security policies for Supabase?

Yes, you can automatically generate Row Level Security policies for Supabase. The schema generator adds RLS policies directly to your PostgreSQL schema, ensuring secure database deployments without manual policy coding.

Does this tool produce TypeScript types and migration files for database schemas?

Yes, this tool produces TypeScript types and migration files for database schemas. Alongside the PostgreSQL SQL output, it generates TypeScript definitions and migration files to streamline version control and development workflows.

What is the best way to expand an existing database schema with new constraints?

The best way to expand an existing database schema with new constraints is applying natural language descriptions to the generator. It updates your schema by adding foreign keys, checks, indexes, and RLS policies while maintaining production-ready standards.

Do I need to manually add foreign keys and indexes when creating a database schema?

No, you do not need to manually add foreign keys and indexes when creating a database schema. The generator automatically applies foreign keys, checks, indexes, and constraints to ensure your PostgreSQL schema follows database best practices.