prisma · Prisma Docs
Prisma SvelteKit (/docs/guides/frameworks/sveltekit)
A guide for integrating Prisma ORM with a Prisma Postgres database within a SvelteKit project, covering project scaffolding, dependency installation, and initial configuration.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Prisma SvelteKit (/docs/guides/frameworks/sveltekit)
A guide for integrating Prisma ORM with a Prisma Postgres database within a SvelteKit project, covering project scaffolding, dependency installation, and initial configuration.
When To Use
Use when you need to scaffold a SvelteKit project and manually configure Prisma ORM to connect to a Prisma Postgres database.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-sveltekit-docs-guides-frameworks-workflow-guide.md | A guide explaining how to integrate Prisma ORM with the SvelteKit framework for full-stack database access. | Questions about a guide explaining how to integrate Prisma ORM with the SvelteKit framework for full-stack database access. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-project-initial.bash | The bash command used to scaffold a new SvelteKit project using the Prisma template. | Exact payloads, commands, or snippets shown in The bash command used to scaffold a new SvelteKit project using the Prisma template. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-pnpm-create-tem.bash | A bash command to initialize a new SvelteKit project using the Prisma template via pnpm. | Exact payloads, commands, or snippets shown in A bash command to initialize a new SvelteKit project using the Prisma template via pnpm. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-project-initial-2.bash | A bash command to create a new Prisma project using the SvelteKit template. | Exact payloads, commands, or snippets shown in A bash command to create a new Prisma project using the SvelteKit template. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bun-project-ini.bash | A bash command to initialize a new SvelteKit project using the Prisma template via the Bun package manager. | Exact payloads, commands, or snippets shown in A bash command to initialize a new SvelteKit project using the Prisma template via the Bun package manager. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-project-initial-3.bash | The bash command used to initialize a new SvelteKit project with Prisma using the sv create CLI tool. | Exact payloads, commands, or snippets shown in The bash command used to initialize a new SvelteKit project with Prisma using the sv create CLI tool. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-project-initial-4.bash | A bash command to initialize a new SvelteKit project with Prisma using the sv create CLI tool. | Exact payloads, commands, or snippets shown in A bash command to initialize a new SvelteKit project with Prisma using the sv create CLI tool. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-project-initial-5.bash | A bash command to initialize a new SvelteKit project with Prisma using the sv create CLI tool. | Exact payloads, commands, or snippets shown in A bash command to initialize a new SvelteKit project with Prisma using the sv create CLI tool. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bunx-project-in.bash | A bash command to initialize a new SvelteKit project with Prisma using the bunx CLI. | Exact payloads, commands, or snippets shown in A bash command to initialize a new SvelteKit project with Prisma using the bunx CLI. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-dev-setup-comma.bash | Bash commands to navigate to the sveltekit-prisma directory and start the development server using npm. | Exact payloads, commands, or snippets shown in Bash commands to navigate to the sveltekit-prisma directory and start the development server using npm. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-dev-setup.bash | Bash commands to navigate to the sveltekit-prisma directory and start the development server using pnpm. | Exact payloads, commands, or snippets shown in Bash commands to navigate to the sveltekit-prisma directory and start the development server using pnpm. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-dev-server-setu.bash | Bash commands to navigate to the sveltekit-prisma directory and start the development server using yarn. | Exact payloads, commands, or snippets shown in Bash commands to navigate to the sveltekit-prisma directory and start the development server using yarn. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-dev-server-setu-2.bash | Commands to navigate to the sveltekit-prisma directory and start the development server using bun. | Exact payloads, commands, or snippets shown in Commands to navigate to the sveltekit-prisma directory and start the development server using bun. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-install-depende.bash | Bash command to install prisma, tsx, and postgres types as development dependencies for a SvelteKit project. | Exact payloads, commands, or snippets shown in Bash command to install prisma, tsx, and postgres types as development dependencies for a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-pnpm-install-de.bash | A bash command to install prisma, tsx, and postgres types as development dependencies using pnpm. | Exact payloads, commands, or snippets shown in A bash command to install prisma, tsx, and postgres types as development dependencies using pnpm. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-installation-co.bash | Bash commands to install prisma, tsx, and postgres type definitions as development dependencies for a SvelteKit project. | Exact payloads, commands, or snippets shown in Bash commands to install prisma, tsx, and postgres type definitions as development dependencies for a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bun-dependency-.bash | A bash command to install prisma, tsx, and postgres types using the bun package manager for a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to install prisma, tsx, and postgres types using the bun package manager for a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-npm-install-dep.bash | The bash command to install Prisma client, PostgreSQL adapter, and dotenv dependencies for a SvelteKit project. | Exact payloads, commands, or snippets shown in The bash command to install Prisma client, PostgreSQL adapter, and dotenv dependencies for a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-pnpm-install-de-2.bash | A bash command to install Prisma client, PostgreSQL adapter, dotenv, and pg using pnpm for a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to install Prisma client, PostgreSQL adapter, dotenv, and pg using pnpm for a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-installation-co-2.bash | Bash commands to install Prisma client, PostgreSQL adapter, and dotenv dependencies for a SvelteKit project. | Exact payloads, commands, or snippets shown in Bash commands to install Prisma client, PostgreSQL adapter, and dotenv dependencies for a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bun-dependency--2.bash | A bash command to install Prisma client, PostgreSQL adapter, dotenv, and pg using the bun package manager for a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to install Prisma client, PostgreSQL adapter, dotenv, and pg using the bun package manager for a Svelt... |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-init-command.bash | The bash command to initialize Prisma with a custom output directory for a SvelteKit project. | Exact payloads, commands, or snippets shown in The bash command to initialize Prisma with a custom output directory for a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-init-command-2.bash | A bash command to initialize Prisma within a SvelteKit project using a custom output directory. | Exact payloads, commands, or snippets shown in A bash command to initialize Prisma within a SvelteKit project using a custom output directory. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-init-command-3.bash | A bash command to initialize Prisma within a SvelteKit project and specify a custom output directory for the generated client. | Exact payloads, commands, or snippets shown in A bash command to initialize Prisma within a SvelteKit project and specify a custom output directory for the generate... |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bunx-init-comma.bash | A bash command to initialize Prisma within a SvelteKit project using bunx and specifying a custom output directory. | Exact payloads, commands, or snippets shown in A bash command to initialize Prisma within a SvelteKit project using bunx and specifying a custom output directory. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-setup-command.bash | The bash command used to initialize a new project with Prisma and SvelteKit. | Exact payloads, commands, or snippets shown in The bash command used to initialize a new project with Prisma and SvelteKit. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-pnpm-create-db-.bash | A bash command to initialize a database using pnpm dlx create-db within a Prisma SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to initialize a database using pnpm dlx create-db within a Prisma SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-create-db-comma.bash | A bash command using yarn dlx to execute the create-db utility for a Prisma SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command using yarn dlx to execute the create-db utility for a Prisma SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bunx-create-db-.bash | A bash command used to initialize a database within a Prisma SvelteKit project using bunx. | Exact payloads, commands, or snippets shown in A bash command used to initialize a database within a Prisma SvelteKit project using bunx. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-definition.prisma | A Prisma schema file defining User and Post models for use within a SvelteKit application. | Exact payloads, commands, or snippets shown in A Prisma schema file defining User and Post models for use within a SvelteKit application. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-vite-config-typ.ts | A TypeScript configuration file for Vite demonstrating how to integrate Prisma within a SvelteKit project environment. | Exact payloads, commands, or snippets shown in A TypeScript configuration file for Vite demonstrating how to integrate Prisma within a SvelteKit project environment. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-init-migration-.bash | A bash command to initialize a Prisma database migration within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-pnpm-migrate-de.bash | A bash command to initialize a Prisma database migration using pnpm in a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration using pnpm in a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-migrate-dev-ini.bash | A bash command to initialize a Prisma database migration within a SvelteKit project using yarn dlx. | Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration within a SvelteKit project using yarn dlx. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bunx-migrate-de.bash | A bash command using bunx to run a Prisma database migration within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command using bunx to run a Prisma database migration within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-generate-comman.bash | The bash command used to generate the Prisma client within a SvelteKit project. | Exact payloads, commands, or snippets shown in The bash command used to generate the Prisma client within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-pnpm-generate-c.bash | A bash command to generate the Prisma client using pnpm dlx within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using pnpm dlx within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-generate-comman-2.bash | The bash command used to generate the Prisma client within a SvelteKit project using yarn dlx. | Exact payloads, commands, or snippets shown in The bash command used to generate the Prisma client within a SvelteKit project using yarn dlx. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bunx-generate-c.bash | A bash command to generate the Prisma client using bunx within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using bunx within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-typescript-clie.typescript | A TypeScript code example demonstrating how to initialize the PrismaClient and define user data types within a SvelteKit application. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize the PrismaClient and define user data types within a Svelte... |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-config-setup.ts | A TypeScript configuration file demonstrating the setup of Prisma within a SvelteKit project environment. | Exact payloads, commands, or snippets shown in A TypeScript configuration file demonstrating the setup of Prisma within a SvelteKit project environment. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-db-seed-command.bash | A bash command used to execute the Prisma database seeding process within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command used to execute the Prisma database seeding process within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-db-seed-command-2.bash | A bash command to execute the Prisma database seeding process within a SvelteKit project using pnpm. | Exact payloads, commands, or snippets shown in A bash command to execute the Prisma database seeding process within a SvelteKit project using pnpm. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-db-seed-command-3.bash | A bash command to execute the Prisma database seeding process within a SvelteKit project using yarn dlx. | Exact payloads, commands, or snippets shown in A bash command to execute the Prisma database seeding process within a SvelteKit project using yarn dlx. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bun-db-seed-com.bash | A bash command used to execute the Prisma database seeding process using the Bun runtime within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command used to execute the Prisma database seeding process using the Bun runtime within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-studio-launch-c.bash | A bash command to launch Prisma Studio within a SvelteKit project environment. | Exact payloads, commands, or snippets shown in A bash command to launch Prisma Studio within a SvelteKit project environment. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-studio-launch-c-2.bash | A bash command to launch Prisma Studio using pnpm dlx within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to launch Prisma Studio using pnpm dlx within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-studio-launch-c-3.bash | A bash command to launch Prisma Studio using the yarn dlx runner within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to launch Prisma Studio using the yarn dlx runner within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-bunx-prisma-stu.bash | A bash command to run Prisma Studio using the Bun runtime within a SvelteKit project. | Exact payloads, commands, or snippets shown in A bash command to run Prisma Studio using the Bun runtime within a SvelteKit project. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-database-adapte.tsx | A TypeScript implementation demonstrating how to initialize the PrismaClient with a PostgreSQL adapter within a SvelteKit application. | Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to initialize the PrismaClient with a PostgreSQL adapter within a Svelt... |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-typescript-load.typescript | A TypeScript code example demonstrating how to use a Prisma client instance within a SvelteKit load function to fetch data. | Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to use a Prisma client instance within a SvelteKit load function to fetch... |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-typescript-load-2.typescript | A TypeScript example demonstrating how to use a Prisma client instance within a SvelteKit load function to fetch users with included posts. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use a Prisma client instance within a SvelteKit load function to fetch user... |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-setup-guide.html | An HTML document demonstrating the integration and configuration of Prisma within a SvelteKit application framework. | Exact payloads, commands, or snippets shown in An HTML document demonstrating the integration and configuration of Prisma within a SvelteKit application framework. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-setup.html | An HTML example demonstrating the integration of Prisma with SvelteKit using TypeScript and the $props rune. | Exact payloads, commands, or snippets shown in An HTML example demonstrating the integration of Prisma with SvelteKit using TypeScript and the $props rune. |
examples/prisma-sveltekit-docs-guides-frameworks-prisma-sveltekit-data-fetching-t.html | An HTML template demonstrating how to iterate over Prisma data objects within a SvelteKit component using the $props rune. | Exact payloads, commands, or snippets shown in An HTML template demonstrating how to iterate over Prisma data objects within a SvelteKit component using the $props... |
What This Skill Covers
- SvelteKit (/docs/guides/frameworks/sveltekit)
- Main sections:
npm,pnpm,yarn,bun,npm.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://www.prisma.io/docs/guides/frameworks/sveltekit