installskill

Skills / prisma/skills

prisma-cli

Prisma ORM 7 CLI reference: init, generate, migrate, db, dev, studio and mcp.

Pinned commit
b4bebffd0d0cCommitted 2026-11-26
Files
2149 KB
License
MIT
Snapshot taken
2026-11-28
Description from the skill
Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install prisma/skills prisma-cli --agent claude-code --pin b4bebffd0d0c3499c3d342f69380886a28e28880

gh picks the directory for the agent, names the folder after the source directory (prisma-cli), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 37a9dc27a301a78cc86668ca480c36b350842ec5.

skills CLIpinned

$ npx skills add prisma/skills@b4bebffd0d0c3499c3d342f69380886a28e28880 --skill prisma-cli -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/prisma/skills.git "$tmp"
$ git -C "$tmp" checkout --quiet b4bebffd0d0c3499c3d342f69380886a28e28880
$ mkdir -p .claude/skills
$ cp -R "$tmp/prisma-cli" .claude/skills/prisma-cli

No extra tooling. Files land byte for byte as published in .claude/skills/prisma-cli, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/prisma-cli && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expectede64a56dd3a72c2026e6c138791cd9a47c1953d35626f2ee8808680ec4e6968a4

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 20SKILL.md · 1

Runs commands105

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 105 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages10

Commands that pull and run third-party packages at use time.

0 in scripts · 10 in docs and other text files

Reads env or credentials10

References to environment variables, tokens, keys or credential files.

0 in scripts · 10 in docs and other text files

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • www.prisma.io×3
  • github.com×2
  • docs.prisma.io×1
  • localhost×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
e64a56dd3a72c2026e6c138791cd9a47c1953d35626f2ee8808680ec4e6968a4
Git tree SHA
37a9dc27a301a78cc86668ca480c36b350842ec5
PathKindSizeSHA-256
SKILL.mdSKILL.md7.3 KBe20d1a307dd836ed…
references/agent-safety.mdDocs1.1 KB66f06b408c2d4a7d…
references/complete.mdDocs652 B75c24fbd44500c35…
references/db-execute.mdDocs1.8 KB2cd76d47f204a71c…
references/db-pull.mdDocs3.5 KB3c446ef9f3e76ee4…
references/db-push.mdDocs2.9 KB51d5b4afa8f79107…
references/db-seed.mdDocs3.2 KBc86060e141749e46…
references/debug.mdDocs1.0 KB14f7d956ebd86b87…
references/dev.mdDocs2.6 KBdbb420492bbd8276…
references/format.mdDocs1.0 KB9943b440cf4d576b…
references/generate.mdDocs3.4 KB85c801290339e9ad…
references/init.mdDocs3.2 KBedd87b6701170e55…
references/mcp.mdDocs1.2 KB97e8339e7451bd62…
references/migrate-deploy.mdDocs2.6 KB2d6d669383b0742a…
Show all files (21)
references/migrate-dev.mdDocs3.1 KB804fe7e60e3b3153…
references/migrate-diff.mdDocs2.0 KBdaf77c34fdac2d57…
references/migrate-reset.mdDocs1.7 KBae05eff0b9ac4531…
references/migrate-resolve.mdDocs1.6 KB9fc77c20ce9954ee…
references/migrate-status.mdDocs1.5 KBbacd09ee8be1957e…
references/studio.mdDocs2.6 KB2354f79d63c0734e…
references/validate.mdDocs883 B27d9262345daad8c…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
263limit 1,024 characters
SKILL.md body
260 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
MIT
License file
None declared
Repository license
LICENSE (MIT)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.