Analyzes TypeScript/Node.js codebases to auto-generate optimized Prisma schema files from existing data models, interfaces, and ORM entities. Use when: generate prisma schema, migrate typeorm to prisma, convert sequelize to prisma, create schema from typescript interfaces, bootstrap prisma schema.
# Scan a project for model files
bash scripts/analyze_models.sh /path/to/project
# Validate a schema file
bash scripts/validate_schema.sh /path/to/schema.prisma// Programmatic usage
const { generatePrismaSchema } = require("prisma-schema-gen");
const result = generatePrismaSchema(["src/models/user.ts", "src/models/post.ts"]);
console.log(result.schema);Copy the skill into your OpenClaw skills directory:
git clone https://github.com/NeoSkillFactory/prisma-schema-gen.git
cp -r prisma-schema-gen ~/.openclaw/skills/prisma-schema-gengit clone https://github.com/NeoSkillFactory/prisma-schema-gen.git
cd prisma-schema-gen
npm installMIT © NeoSkillFactory