Prompt Buddy logoPrompt Buddy

prisma · Prisma Docs

Astro + Prisma (/docs/ai/prompts/astro)

A specialized prompt and implementation pattern for configuring Prisma with Astro, specifically enforcing the use of Prisma Accelerate and custom output paths to prevent common runtime errors in AI-generated code.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Astro + Prisma (/docs/ai/prompts/astro)

A specialized prompt and implementation pattern for configuring Prisma with Astro, specifically enforcing the use of Prisma Accelerate and custom output paths to prevent common runtime errors in AI-generated code.

When To Use

Use when configuring an Astro project with Prisma and Prisma Accelerate to ensure AI coding assistants generate the correct client initialization and schema output paths.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/prisma-astro-docs-ai-prompts-workflow-guide.mdA specialized system prompt designed to guide AI models in generating consistent code for Astro projects using Prisma and Prisma Postgres.Questions about a specialized system prompt designed to guide AI models in generating consistent code for Astro projects using Prisma...
examples/prisma-astro-docs-ai-prompts-prisma-astro-cursor-rules-prompt.textA text-based prompt configuration for Cursor rules to guide the development of Astro.js applications using Prisma Postgres.Exact payloads, commands, or snippets shown in A text-based prompt configuration for Cursor rules to guide the development of Astro.js applications using Prisma Pos...
examples/prisma-astro-docs-ai-prompts-prisma-astro-ai-prompt-pattern.textA text file containing the specific prompt pattern required for generating Astro and Prisma integration code.Exact payloads, commands, or snippets shown in A text file containing the specific prompt pattern required for generating Astro and Prisma integration code.
examples/prisma-astro-docs-ai-prompts-prisma-astro-ai-generation-requirements.textA set of absolute requirements and configuration rules for AI code generation when using Prisma with Astro.Exact payloads, commands, or snippets shown in A set of absolute requirements and configuration rules for AI code generation when using Prisma with Astro.
examples/prisma-astro-docs-ai-prompts-prisma-astro-initialization-prompt.textA text prompt designed to guide an AI in correctly initializing Prisma within an Astro project environment.Exact payloads, commands, or snippets shown in A text prompt designed to guide an AI in correctly initializing Prisma within an Astro project environment.
examples/prisma-astro-docs-ai-prompts-prisma-astro-ai-prompt-configuration.textA text file containing a prompt for configuring a Prisma schema within an Astro project environment.Exact payloads, commands, or snippets shown in A text file containing a prompt for configuring a Prisma schema within an Astro project environment.
examples/prisma-astro-docs-ai-prompts-prisma-astro-global-client-implementation.textA TypeScript implementation of a global Prisma client instance for use within an Astro project to prevent multiple client instances during hot reloading.Exact payloads, commands, or snippets shown in A TypeScript implementation of a global Prisma client instance for use within an Astro project to prevent multiple cl...
examples/prisma-astro-docs-ai-prompts-prisma-astro-api-route-implementation-promp.textA text prompt providing the correct pattern for implementing API routes with error handling when using Astro and Prisma.Exact payloads, commands, or snippets shown in A text prompt providing the correct pattern for implementing API routes with error handling when using Astro and Prisma.
examples/prisma-astro-docs-ai-prompts-prisma-astro-server-side-data-fetching-prom.textA text prompt demonstrating correct server-side data fetching patterns using Prisma within Astro pages.Exact payloads, commands, or snippets shown in A text prompt demonstrating correct server-side data fetching patterns using Prisma within Astro pages.
examples/prisma-astro-docs-ai-prompts-prisma-astro-ai-model-verification-prompt.textA text-based prompt containing mandatory verification steps for AI models to ensure correct Prisma client configuration within an Astro project.Exact payloads, commands, or snippets shown in A text-based prompt containing mandatory verification steps for AI models to ensure correct Prisma client configurati...
examples/prisma-astro-docs-ai-prompts-prisma-astro-ai-model-response-template.textA text-based instruction template defining mandatory coding patterns and constraints for AI models when generating Astro and Prisma implementation code.Exact payloads, commands, or snippets shown in A text-based instruction template defining mandatory coding patterns and constraints for AI models when generating As...
examples/prisma-astro-docs-ai-prompts-prisma-astro-generate-no-engine-command.bashA bash command to generate the Prisma client without the query engine for use in an Astro project.Exact payloads, commands, or snippets shown in A bash command to generate the Prisma client without the query engine for use in an Astro project.
examples/prisma-astro-docs-ai-prompts-prisma-astro-db-studio-command.bashA bash command to run Prisma Studio within an Astro project environment.Exact payloads, commands, or snippets shown in A bash command to run Prisma Studio within an Astro project environment.
examples/prisma-astro-docs-ai-prompts-prisma-astro-dev-command.bashThe bash command used to run the Astro development server in a project integrated with Prisma.Exact payloads, commands, or snippets shown in The bash command used to run the Astro development server in a project integrated with Prisma.

What This Skill Covers

  • Astro + Prisma (/docs/ai/prompts/astro)
  • Main sections: Overview of implementing Prisma with Astro, 🚨 CRITICAL INSTRUCTIONS FOR AI LANGUAGE MODELS 🚨, ABSOLUTE REQUIREMENTS FOR AI CODE GENERATION, CORRECT INSTALLATION, CORRECT PRISMA INITIALIZATION.

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/ai/prompts/astro