with one click
prisma-cli-format
prisma format. Reference when using this Prisma feature.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
prisma format. Reference when using this Prisma feature.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | prisma-cli-format |
| description | prisma format. Reference when using this Prisma feature. |
| license | MIT |
| metadata | {"author":"prisma","version":"7.0.0"} |
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:
prisma db execute. Reference when using this Prisma feature.
prisma db pull. Reference when using this Prisma feature.
prisma db push. Reference when using this Prisma feature.
prisma db seed. Reference when using this Prisma feature.
prisma debug. Reference when using this Prisma feature.
prisma dev. Reference when using this Prisma feature.