prisma format. Reference when using this Prisma feature.
npx skills add https://github.com/prisma/cursor-plugin --skill prisma-cli-format
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:
Take prisma/prisma-cli-format from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.