skills/prisma-cli-format/SKILL.md
prisma format. Reference when using this Prisma feature.
npx skillsauth add prisma/cursor-plugin prisma-cli-formatInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Formats your Prisma schema file.
prisma format [options]
fields, references)| Option | Description |
|--------|-------------|
| --schema | Path to schema file |
| --config | Custom path to your Prisma config file |
prisma format
prisma format --schema=./custom/schema.prisma
prisma format modifies the file in place. It is equivalent to "Prettier for Prisma schemas" but also has semantic understanding to fix/add missing schema definitions.
Most Prisma editor extensions (VS Code, WebStorm) run prisma format automatically on save. This command is useful for:
databases
Schema Changes. Reference when using this Prisma feature.
tools
Removed Features. Reference when using this Prisma feature.
tools
Prisma Config. Reference when using this Prisma feature.
tools
ESM Support. Reference when using this Prisma feature.