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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-astro-docs-ai-prompts-workflow-guide.md | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.text | A 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.bash | A 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.bash | A 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.bash | The 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
- 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/ai/prompts/astro