技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
prisma-gen【数据与研究】Generate Prisma schema from plain English. Use when you need database models fast without writing boilerplate.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Stop hand-writing Prisma schemas. Just describe your data model in plain English and get a complete, production-ready schema.prisma file in seconds. No more googling relation syntax or forgetting @unique decorators.
One command. Zero config. Just works.
npx ai-prisma-gen "a blog with users, posts, comments, and tags"
# E-commerce database
npx ai-prisma-gen "e-commerce with products, categories, orders, and user reviews"
# SaaS multi-tenant
npx ai-prisma-gen "multi-tenant saas with organizations, teams, users, and role-based permissions"
# Social app
npx ai-prisma-gen "social network with users, friendships, posts, likes, and direct messages"
# Save to file
npx ai-prisma-gen "task management with projects and assignees" > prisma/schema.prisma
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended. Requires OPENAI_API_KEY environment variable.
export OPENAI_API_KEY=sk-...
npx ai-prisma-gen --help
Takes your plain English description, sends it to GPT with Prisma-specific prompting, and returns a properly formatted schema.prisma file. The AI understands Prisma conventions like @@index, @relation, and common patterns like soft deletes and timestamps.
MIT. Free forever. Use it however you want.