prisma-next
Routes vague Prisma Next prompts to the correct specialized skill.
Identity proven by GitHub's verified organisation badge (prisma)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- Apache-2.0 (permissive)
- Pin
- 55458c4pinned Oct 9, 2026
- Context cost
- about 1,100 tokenswhen the skill loads
- GitHub stars
- 415on prisma/prisma-next
- Scripts
- None found
What it does
“Route a vague Prisma Next prompt to the right specific skill. Use for "help me with Prisma Next", "what is Prisma Next", "explain Prisma Next", "I'm new to PN", "where do I start", "what can I do with Prisma Next", "what can I do next with Prisma", "just ran createprisma", "tour of Prisma Next", "Prisma Next overview", and comparison questions like "Prisma Next vs Prisma 7", "PN vs Drizzle", "PN vs Kysely", "PN vs TypeORM". Do NOT use when the prompt clearly matches a workflow skill — adoption / quickstart / first-touch orientation / brownfield introspection, schema / contract editing, migration authoring (db update / migration plan / migrate), migration review on deploy / concurrent migrations, queries / db.orm / db.sql / TypedSQL, Supabase / RLS / role binding, runtime / db.ts / middleware wiring, build / Vite plugin / Next.js plugin, debug / structured error envelopes / PN-* error codes, or feedback / bug report / feature request — load that sibling skill directly.”
Generated summary from the skill's own text
Routes vague Prisma Next prompts to the correct specialized skill. When a user asks a meta-question like "what is Prisma Next" or "how do I start", this skill disambiguates and directs them to the appropriate workflow skill for their actual task, such as schema editing, migrations, queries, or debugging.
When to use it
- User asks what Prisma Next is or how it works
- User is new and seeks a starting point or overview
- User asks comparison questions like PN vs Drizzle
- User hasn't yet stated a concrete workflow task
When not to
- User clearly describes a specific workflow like schema editing or migrations
- User reports a specific error code or symptom
- User wants to file a bug report or feature request
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add prisma/prisma-next --skill prisma-nextInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install prisma/prisma-next prisma-next@55458c441d2cf452028c22eed21370447720840aInstalls the commit we checked (55458c4).
Copy by hand
Download the folder at 55458c4 and put it in .claude/skills/prisma-next for Claude Code and in .agents/skills/prisma-next for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "prisma-next" by Prisma. Source, pinned to commit 55458c441d2cf452028c22eed21370447720840a: https://github.com/prisma/prisma-next/tree/55458c441d2cf452028c22eed21370447720840a/skills/prisma-next 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/prisma-next/ for Claude Code and .agents/skills/prisma-next/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/prisma/prisma-next
SKILL.md at the pin
--- name: prisma-next description: Route a vague Prisma Next prompt to the right specific skill. Use for "help me with Prisma Next", "what is Prisma Next", "explain Prisma Next", "I'm new to PN", "where do I start", "what can I do with Prisma Next", "what can I do next with Prisma", "just ran createprisma", "tour of Prisma Next", "Prisma Next overview", and comparison questions like "Prisma Next vs Prisma 7", "PN vs Drizzle", "PN vs Kysely", "PN vs TypeORM". Do NOT use when the prompt clearly matches a workflow skill — adoption / quickstart / first-touch orientation / brownfield introspection, schema / contract editing, migration authoring (db update / migration plan / migrate), migration review on deploy / concurrent migrations, queries / db.orm / db.sql / TypedSQL, Supabase / RLS / role binding, runtime / db.ts / middleware wiring, build / Vite plugin / Next.js plugin, debug / structured error envelopes / PN-* error codes, or feedback / bug report / feature request — load that sibling skill directly. --- # Prisma Next — Router > **Edit your data contract. Prisma handles the rest.** This skill exists to disambiguate vague Prisma Next prompts. When the user hasn't yet committed to a specific workflow (e.g. *"help me with Prisma Next"*, *"explain how Prisma Next works"*, *"I'm new to PN, where do I start?"*), this skill fires and routes them to the right specific skill. ## When to Use - The user has not yet stated a concrete task. - The user types a meta-question about Prisma Next (*"what is Prisma Next?"*, *"how does PN compare to Drizzle/Prisma 7?"*). - The user asks for a tour, an overview, or a starting point. ## When Not to Use - The user named a workflow — use the matching skill directly: - Setting up a new project or adopting an existing DB → `prisma-next-quickstart`. - Editing the schema, adding a model, changing a field → `prisma-next-contract`. - Authoring a migration, fixing a planner error → `prisma-next-migrations`. - Reviewing what's about to run on merge, handling concurrent migrations → `prisma-next-migration-review`. - Writing a query → `prisma-next-queries`. - Supabase — RLS policies, role binding (`asUser` / `asAnon` / `asServiceRole`), `auth.users` FKs, `@prisma-next/extension-supabase` → `prisma-next-supabase`. - Wiring `db.ts`, middleware, environment config → `prisma-next-runtime`. - Build-system / dev-server plugin (Vite, Next.js, …) → `prisma-next-build`. - A specific error code or symptom → `prisma-next-debug`. - Reporting a bug or filing a feature request against Prisma Next → `prisma-next-feedback`. ## Routing rules If the user's prompt clearly matches one of the workflow skills, route there directly without asking. Otherwise, ask **one** disambiguating question. Pick from: - *"Are you new to Prisma Next and asking what you can do with it, or where to start?"* (and any *"what can I do with Prisma Next?"* / *"I just ran createprisma"* variant) → `prisma-next-quickstart` (first-touch orientation path). - *"Do you want to set up a new Prisma Next project, or wire it into an existing database?"* → `prisma-next-quickstart`. - *"Do you want to edit your data contract (add a model / field / relation), or work with the database (migrations, queries)?"* → `prisma-next-contract` vs the others. - *"Is this about authoring a migration, or about reviewing what's going to run on deploy?"* → `prisma-next-migrations` vs `prisma-next-migration-review`. - *"Is this about wiring Prisma Next into your build tool (Vite / Next.js / …), or about wiring `db.ts` and middleware at runtime?"* → `prisma-next-build` vs `prisma-next-runtime`. - *"What error or symptom are you seeing?"* → `prisma-next-debug`. - *"Do you want to report this as a bug to the Prisma Next team, or is this a feature request?"* → `prisma-next-feedback`. If you still can't tell which skill applies, ask the user what they want to do. Do not guess. ## The canonical model (one paragraph) Prisma Next is a contract-first data layer. You author a **data contract** (a `contract.prisma` file, or a TypeScript builder). The framework emits machine-readable artifacts (`contract.json`, `contract.d.ts`) and gives you three runtime surfaces on SQL targets: a typed SQL query builder (`db.sql.from(...)`), a typed ORM client (`db.orm.User.select(...)`), and a raw SQL escape hatch (`db.sql.raw(...)`). On MongoDB targets only the ORM lane exists, and its keys are collection storage names (`db.orm.users`) rather than PSL model names — `prisma-next-queries` § *MongoDB ORM addressing* covers the rule. Migrations are planned from the contract diff; you review them, optionally edit the `migration.ts` for data transforms, and apply. Three steps the user does: 1. **Edit your data contract.** (`prisma-next-contract`) 2. **The system plans the migrations for you.** (`prisma-next-migrations`) 3. **If you need data migrations, you edit `migration.ts` and execute it.** (`prisma-next-migrations`) Everything else — queries, runtime wiring, build integration, debugging, feedback — sits on top of those three. ## Checklist - [ ] If the prompt matches a specific workflow skill, route there without asking. - [ ] If the prompt is vague, ask one disambiguating question. - [ ] Do not attempt to answer the user's question from this skill — load the right specific skill first. - [ ] If the user describes a missing feature or a misbehaviour they want fixed, route to `prisma-next-feedback`.
From prisma/prisma-next at 55458c4, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 55458c4Files
- SKILL.md5.5 KB · afee8a59369e
1 file, 5.5 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 55458c4More from Prisma
prisma-8
This skill helps agents work with Prisma 8, a contract-first data layer for TypeScript projects.
Contains scripts
Claude Code, Codex, Cursor +3 · about 3.5K tokens · pinned 6 days ago
adr-review
This skill reviews Architecture Decision Records (ADRs) from a fresh perspective, identifying clarity and structural issues, then rewrites them for future…
Claude Code, Codex, Cursor +4 · about 590 tokens · pinned 6 days ago
ast-visitor-pattern
This skill teaches agents to use the visitor pattern with frozen subclasses for discriminated unions that need multiple dispatch sites.
Claude Code, Codex, Cursor +4 · about 710 tokens · pinned 6 days ago
bumping-biome
Updates the biome code formatter package to a specified version using pnpm, renames configuration files to biome.jsonc format, updates schema references, and…
Claude Code, Codex, Cursor +4 · about 290 tokens · pinned 6 days ago
contrib-pr
This skill guides external contributors through opening a pull request against prisma-next by following the project's contribution guidelines.
Claude Code, Codex, Cursor +4 · about 2.2K tokens · pinned 6 days ago
create-pr
This skill creates a GitHub pull request with a Linear-ticket-prefixed title and a decision-led narrative description for the prisma-next repository.
Claude Code, Codex, Cursor +4 · about 4.3K tokens · pinned 6 days ago
Related in Data and databases
prisma-next-contract
This skill enables editing the Prisma Next data contract, the single source of truth for your data layer.
by PrismaOfficial publisher
Claude Code, Codex, Cursor +4 · about 6.9K tokens · pinned 6 days ago
vercel-storage
This skill guides agents through Vercel's storage ecosystem, including Blob for file uploads, Global Config for edge-accessible configuration, and Marketplace…
by VercelOfficial publisher
Claude Code, Codex, Cursor +3 · about 3.4K tokens · pinned 6 days ago
supabase-postgres-best-practices
This skill provides a comprehensive guide to Postgres optimization and best practices maintained by Supabase.
by SupabaseOfficial publisher
Claude Code, Codex, Cursor +4 · about 440 tokens · pinned 6 days ago
infra-postgres
This skill sets up and manages Postgres databases using the clickhousectl CLI.
by ClickHouseOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 570 tokens · pinned 6 days ago
prisma-next-debug
Routes Prisma Next error envelopes to the right recovery workflow by reading the structured error's code, domain, severity, and metadata.
by PrismaOfficial publisher
Claude Code, Codex, Cursor +4 · about 4K tokens · pinned 6 days ago
prisma-next-migration-review
This skill helps review Prisma Next migrations before deployment, showing which migrations will run when you merge or deploy to an environment.
by PrismaOfficial publisher
Claude Code, Codex, Cursor +4 · about 5K tokens · pinned 6 days ago