인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
데이터 및 연구 · SKILL.md

schema-gen

schema-gen

Generate database schemas from descriptions

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: schema-gen description: Generate database schemas from descriptions

Schema Generator

Describe your data, get a proper database schema. Supports SQL, Prisma, and Drizzle.

Quick Start

npx ai-schema "e-commerce with users, products, orders, reviews"

What It Does

  • Generates complete database schema
  • Adds proper relationships
  • Includes indexes for common queries
  • Handles timestamps and soft deletes

Usage Examples

# Generate SQL schema
npx ai-schema "blog with posts, authors, comments, tags"

# Prisma format
npx ai-schema "saas with teams and members" --format prisma

# Drizzle format
npx ai-schema "inventory system" --format drizzle

Output Formats

  • Raw SQL (PostgreSQL, MySQL)
  • Prisma schema
  • Drizzle schema
  • TypeORM entities
  • Mongoose models

Includes

  • Primary keys
  • Foreign key relationships
  • Indexes on common fields
  • Timestamps (created/updated)
  • Soft delete support
  • Enum types where appropriate

Requirements

Node.js 18+. OPENAI_API_KEY required.

License

MIT. Free forever.


Built by LXGIC Studios

저장한 Skills