Prompt Buddy logoPrompt Buddy

prisma · Prisma Docs

Prisma Astro (/docs/guides/frameworks/astro)

A collection of integration guides for using Prisma ORM with various web frameworks including Elysia, Hono, NestJS, Next.js, and Nuxt.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Prisma Astro (/docs/guides/frameworks/astro)

A collection of integration guides for using Prisma ORM with various web frameworks including Elysia, Hono, NestJS, Next.js, and Nuxt.

When To Use

Use when integrating Prisma ORM into a specific web framework like Next.js, Nuxt, or NestJS to establish database connectivity and schema management.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/prisma-astro-docs-guides-frameworks-workflow-guide.mdA guide explaining how to integrate and use Prisma ORM within an Astro framework application.Questions about a guide explaining how to integrate and use Prisma ORM within an Astro framework application.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization-.bashThe bash command used to scaffold a new Astro project using the Prisma template.Exact payloads, commands, or snippets shown in The bash command used to scaffold a new Astro project using the Prisma template.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--2.bashA bash command to initialize a new Astro project using the Prisma template via pnpm.Exact payloads, commands, or snippets shown in A bash command to initialize a new Astro project using the Prisma template via pnpm.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-command.bashThe bash command to initialize a new Prisma project using the Astro template.Exact payloads, commands, or snippets shown in The bash command to initialize a new Prisma project using the Astro template.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-create-template-com.bashA bash command to initialize a new Prisma project using the Astro template via the bun package manager.Exact payloads, commands, or snippets shown in A bash command to initialize a new Prisma project using the Astro template via the bun package manager.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-create-project-command.bashThe bash command used to initialize a new Astro project via the create-astro CLI.Exact payloads, commands, or snippets shown in The bash command used to initialize a new Astro project via the create-astro CLI.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--3.bashThe bash command used to initialize a new Astro project via pnpm dlx.Exact payloads, commands, or snippets shown in The bash command used to initialize a new Astro project via pnpm dlx.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--4.bashThe bash command used to initialize a new Astro project via yarn dlx.Exact payloads, commands, or snippets shown in The bash command used to initialize a new Astro project via yarn dlx.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-project-initialization--5.bashA bash command to initialize a new Astro project using the bunx create-astro utility.Exact payloads, commands, or snippets shown in A bash command to initialize a new Astro project using the bunx create-astro utility.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-commands.bashBash commands to initialize and navigate the astro-prisma project directory.Exact payloads, commands, or snippets shown in Bash commands to initialize and navigate the astro-prisma project directory.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-dependencies.bashBash command to install prisma, tsx, and postgres types as development dependencies for an Astro project.Exact payloads, commands, or snippets shown in Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-install-dependencies.bashBash command to install prisma, tsx, and postgres types as development dependencies for an Astro project.Exact payloads, commands, or snippets shown in Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-install-dependencies-2.bashBash command to install prisma, tsx, and postgres types as development dependencies for an Astro project.Exact payloads, commands, or snippets shown in Bash command to install prisma, tsx, and postgres types as development dependencies for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-install-dependencie.bashA bash command to install prisma, tsx, and postgres types using the bun package manager for an Astro project.Exact payloads, commands, or snippets shown in A bash command to install prisma, tsx, and postgres types using the bun package manager for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-npm-install-dependencie.bashThe bash command to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project.Exact payloads, commands, or snippets shown in The bash command to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-pnpm-install-dependenci.bashA bash command to install the Prisma client, PostgreSQL adapter, dotenv, and pg packages using pnpm for an Astro project.Exact payloads, commands, or snippets shown in A bash command to install the Prisma client, PostgreSQL adapter, dotenv, and pg packages using pnpm for an Astro proj...
examples/prisma-astro-docs-guides-frameworks-prisma-astro-installation-commands.bashBash commands to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project.Exact payloads, commands, or snippets shown in Bash commands to install the Prisma client, PostgreSQL adapter, and dotenv dependencies for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-install-dependencie-2.bashA bash command to install Prisma client, PostgreSQL adapter, and dotenv using the bun package manager for an Astro project.Exact payloads, commands, or snippets shown in A bash command to install Prisma client, PostgreSQL adapter, and dotenv using the bun package manager for an Astro pr...
examples/prisma-astro-docs-guides-frameworks-prisma-astro-init-command.bashA bash command to initialize Prisma with a custom output directory for an Astro project.Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-init-command-2.bashA bash command to initialize Prisma with a custom output directory for an Astro project.Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-init-command-3.bashA bash command to initialize Prisma with a custom output directory for an Astro project.Exact payloads, commands, or snippets shown in A bash command to initialize Prisma with a custom output directory for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-init-command.bashA bash command using bunx to initialize Prisma with a specific output directory for an Astro project.Exact payloads, commands, or snippets shown in A bash command using bunx to initialize Prisma with a specific output directory for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-command-2.bashThe bash command used to initialize a new project with Prisma and Astro.Exact payloads, commands, or snippets shown in The bash command used to initialize a new project with Prisma and Astro.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-command-3.bashA bash command to initialize a new project using the create-db utility for Prisma with Astro.Exact payloads, commands, or snippets shown in A bash command to initialize a new project using the create-db utility for Prisma with Astro.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-db-command.bashA bash command using yarn dlx to create a database for a Prisma Astro project.Exact payloads, commands, or snippets shown in A bash command using yarn dlx to create a database for a Prisma Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-create-db-command.bashA bash command using bunx to execute the create-db utility for a Prisma Astro project.Exact payloads, commands, or snippets shown in A bash command using bunx to execute the create-db utility for a Prisma Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-definition.prismaA Prisma schema file defining User and Post models for use within an Astro framework project.Exact payloads, commands, or snippets shown in A Prisma schema file defining User and Post models for use within an Astro framework project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-config-typescript.tsA TypeScript configuration file for integrating Prisma with the Astro framework using dotenv for environment variable management.Exact payloads, commands, or snippets shown in A TypeScript configuration file for integrating Prisma with the Astro framework using dotenv for environment variable...
examples/prisma-astro-docs-guides-frameworks-prisma-astro-migrate-dev-init.bashA bash command to initialize a Prisma database migration within an Astro project.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration within an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-pnpm-migrate-dev-init.bashA bash command to initialize a Prisma database migration using pnpm in an Astro project.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration using pnpm in an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-migrate-dev-init-comman.bashA bash command to initialize a Prisma database migration within an Astro project using yarn dlx.Exact payloads, commands, or snippets shown in A bash command to initialize a Prisma database migration within an Astro project using yarn dlx.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-migrate-dev-comman.bashA bash command using bunx to run a Prisma database migration within an Astro project.Exact payloads, commands, or snippets shown in A bash command using bunx to run a Prisma database migration within an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-generate-command.bashThe bash command used to generate the Prisma client within an Astro project environment.Exact payloads, commands, or snippets shown in The bash command used to generate the Prisma client within an Astro project environment.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-pnpm-generate-command.bashA bash command to generate the Prisma client using pnpm in an Astro project.Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using pnpm in an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-generate-command-2.bashA bash command to generate the Prisma client using yarn dlx within an Astro project.Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client using yarn dlx within an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-generate-command.bashA bash command using bunx to run the prisma generate operation within an Astro project environment.Exact payloads, commands, or snippets shown in A bash command using bunx to run the prisma generate operation within an Astro project environment.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-client-setup.typescriptA TypeScript code example demonstrating how to initialize the Prisma Client and a database adapter within an Astro project.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize the Prisma Client and a database adapter within an Astro pr...
examples/prisma-astro-docs-guides-frameworks-prisma-astro-config-typescript-2.tsA TypeScript configuration file for setting up Prisma within an Astro project framework.Exact payloads, commands, or snippets shown in A TypeScript configuration file for setting up Prisma within an Astro project framework.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-db-seed-command.bashA bash command used to execute the database seeding process within an Astro project using Prisma.Exact payloads, commands, or snippets shown in A bash command used to execute the database seeding process within an Astro project using Prisma.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-db-seed-command-2.bashA bash command to execute the Prisma database seeding process within an Astro project using pnpm.Exact payloads, commands, or snippets shown in A bash command to execute the Prisma database seeding process within an Astro project using pnpm.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-db-seed-command-3.bashA bash command used to execute the Prisma database seeding process within an Astro project.Exact payloads, commands, or snippets shown in A bash command used to execute the Prisma database seeding process within an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-db-seed-command.bashA bash command used to seed the database using bunx and the prisma cli within an Astro project.Exact payloads, commands, or snippets shown in A bash command used to seed the database using bunx and the prisma cli within an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-studio-launch-command.bashA bash command to launch Prisma Studio within an Astro project environment.Exact payloads, commands, or snippets shown in A bash command to launch Prisma Studio within an Astro project environment.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-studio-launch-command-2.bashA bash command to launch Prisma Studio using pnpm dlx within an Astro project environment.Exact payloads, commands, or snippets shown in A bash command to launch Prisma Studio using pnpm dlx within an Astro project environment.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-studio-launch-command-3.bashA bash command to run Prisma Studio using the yarn dlx executor within an Astro project environment.Exact payloads, commands, or snippets shown in A bash command to run Prisma Studio using the yarn dlx executor within an Astro project environment.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bunx-prisma-studio-comm.bashA bash command to run Prisma Studio using the Bun runtime within an Astro project.Exact payloads, commands, or snippets shown in A bash command to run Prisma Studio using the Bun runtime within an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-env-interfac.typescriptA TypeScript implementation defining the ImportMetaEnv and ImportMeta interfaces for integrating Prisma with Astro.Exact payloads, commands, or snippets shown in A TypeScript implementation defining the ImportMetaEnv and ImportMeta interfaces for integrating Prisma with Astro.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-commands-2.bashBash commands to create the src/lib directory and the prisma.ts client file for an Astro project.Exact payloads, commands, or snippets shown in Bash commands to create the src/lib directory and the prisma.ts client file for an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-client-setup-2.typescriptA TypeScript implementation demonstrating how to initialize the PrismaClient within an Astro project using environment variables.Exact payloads, commands, or snippets shown in A TypeScript implementation demonstrating how to initialize the PrismaClient within an Astro project using environmen...
examples/prisma-astro-docs-guides-frameworks-prisma-astro-setup-directory-command.bashBash commands to create the directory structure and files required for a Prisma integration in an Astro project.Exact payloads, commands, or snippets shown in Bash commands to create the directory structure and files required for a Prisma integration in an Astro project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-typescript-api-route-ge.typescriptA TypeScript example demonstrating how to use Prisma within an Astro API route to fetch users and their posts.Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to use Prisma within an Astro API route to fetch users and their posts.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-tsx-data-fetching.tsxA TypeScript React component demonstrating how to fetch and display Prisma data within an Astro framework component.Exact payloads, commands, or snippets shown in A TypeScript React component demonstrating how to fetch and display Prisma data within an Astro framework component.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-dev-server-command.bashThe bash command used to start the Astro development server in a Prisma project.Exact payloads, commands, or snippets shown in The bash command used to start the Astro development server in a Prisma project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-dev-server-command-2.bashThe bash command used to run the Astro development server in a Prisma project.Exact payloads, commands, or snippets shown in The bash command used to run the Astro development server in a Prisma project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-dev-server-command-3.bashThe bash command used to start the Astro development server in a Prisma project.Exact payloads, commands, or snippets shown in The bash command used to start the Astro development server in a Prisma project.
examples/prisma-astro-docs-guides-frameworks-prisma-astro-bun-dev-command.bashThe bash command used to run the Astro development server with Bun.Exact payloads, commands, or snippets shown in The bash command used to run the Astro development server with Bun.

What This Skill Covers

    • Elysia: Learn how to use Prisma ORM in an Elysia app - Hono: Learn how to use Prisma ORM in a Hono app - NestJS: Learn how to use Prisma ORM in a NestJS ap...
  • Main sections: Related pages.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://www.prisma.io/docs/guides/frameworks/astro