prisma-cli-format
prisma format. Reference when using this Prisma feature.
Works with
Agent Skills format with YAML frontmatter. Claude Code reads it as-is.
--- name: "prisma-cli-format" description: "prisma format. Reference when using this Prisma feature." license: "MIT" --- # prisma format Formats your Prisma schema file. ## Command ```bash prisma format [options] ``` ## What It Does - Fixes formatting (indentation, spacing) - Adds missing back-relations (e.g., adds the other side of a relation) - Adds missing relation arguments (e.g., `fields`, `references`) - Sorts fields and attributes (opinionated) ## Options | Option | Description | |--------|-------------| | `--schema` | Path to schema file | | `--config` | Custom path to your Prisma config file | ## Examples ### Format default schema ```bash prisma format ``` ### Format specific schema ```bash prisma format --schema=./custom/schema.prisma ``` ## Behavior `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. ## Use in Editor Most Prisma editor extensions (VS Code, WebStorm) run `prisma format` automatically on save. This command is useful for: - CI pipelines (check formatting) - CLI-based workflows - Fixing large schema refactors
More General & Other skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

