Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create visual data models for database schemas using Nimbalyst's DataModelLM editor. Use when the user wants to design a data model, database schema, entity relationship diagram, or Prisma schema.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -49% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -51% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 74% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -5% | 0% |
DataModelLM is Nimbalyst's visual editor for creating database schemas using Prisma format. It displays entity-relationship diagrams with a visual canvas.
.prismamodels/, schema/)Every DataModelLM file MUST start with a @nimbalyst metadata comment:
prisma// @nimbalyst {"viewport":{"x":0,"y":0,"zoom":1},"positions":{},"entityViewMode":"standard"}
prisma// @nimbalyst {"viewport":{"x":0,"y":0,"zoom":1},"positions":{},"entityViewMode":"standard"} datasource db { provider = "postgresql" url = env("DATABASE_URL") } model User { id Int @id @default(autoincrement()) email String @unique name String? posts Post[] createdAt DateTime @default(now()) updatedAt DateTime @updatedAt } model Post { id Int @id @default(autoincrement()) title String content String? published Boolean @default(false) author User @relation(fields: [authorId], references: [id]) authorId Int createdAt DateTime @default(now()) }
Int, BigInt, Float, DecimalString, BooleanDateTime, Json, Bytes? - Optional field[] - Array/list@id - Primary key@unique - Unique constraint@default(value) - Default value@updatedAt - Auto-update timestamp@relation - Define relationshipsprismamodel User { posts Post[] } model Post { author User @relation(fields: [authorId], references: [id]) authorId Int }
prismamodel User { profile Profile? } model Profile { user User @relation(fields: [userId], references: [id]) userId Int @unique }
prismamodel Post { categories Category[] } model Category { posts Post[] }
Other measured skills in the registry, with their headline benchmark lift.