CommunityCodierung & Entwicklunggithub.com

prisma/prisma-database-setup

Anleitungen zur Konfiguration von Prisma mit verschiedenen Datenbankanbietern (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Verwenden Sie dies beim Einrichten eines neuen Projekts, beim Wechsel der Datenbank oder zur Fehlerbehebung bei Verbindungsproblemen.

Was ist prisma-database-setup?

Dieses Skill bietet eine umfassende Anleitung zur Konfiguration von Prisma mit verschiedenen Datenbankanbietern wie PostgreSQL, MySQL, SQLite und MongoDB. Es ist ideal für Entwickler, die ein neues Projekt starten, die Datenbank wechseln oder Verbindungsprobleme beheben möchten. Der Skill unterstützt gängige Entwicklungsumgebungen und KI-Agentenplattformen und bietet klare, schrittweise Anweisungen, einschließlich der Einrichtung von Datenbank-URLs und Treibern. Durch die Verwendung dieses Skills können Entwickler die Einrichtungszeit verkürzen und häufige Fehler vermeiden, indem sie auf bewährte Konfigurationen und Skripte zurückgreifen.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/prisma/skills/tree/main/skills/prisma-database-setup

Installed? Explore more Codierung & Entwicklung skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht prisma-database-setup?

Anleitungen zur Konfiguration von Prisma mit verschiedenen Datenbankanbietern (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Verwenden Sie dies beim Einrichten eines neuen Projekts, beim Wechsel der Datenbank oder zur Fehlerbehebung bei Verbindungsproblemen. Auslöser: "configure postgres", "connect to mysql", "setup mongodb", "sqlite setup".

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

prisma/prisma-cli

Prisma ORM CLI commands reference covering init, generate, migrate, db, dev, studio, validate, format, debug, and mcp. Use for ORM/database CLI workflows, not Prisma Compute app deployment. For Prisma Compute, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, apps, deployments, logs, or domains, use the `prisma-compute` skill instead. Triggers on "prisma init", "prisma generate", "prisma migrate", "prisma db", "prisma studio", "prisma mcp".

prisma/prisma-client-api

Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".

prisma/prisma-compute

Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, Compute auth/workspaces, apps/deployments/build logs/domains, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts.

prisma/prisma-driver-adapter-implementation

Required reference for Prisma v7 driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter/Transaction interfaces. Contains critical contract details not inferable from code examples — including the transaction lifecycle protocol, error mapping requirements, and verification checklist. Existing implementations do not replace this skill.

prisma/prisma-mongodb-upgrade

Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma Next. Triggers on "upgrade prisma mongodb", "prisma 7 mongodb", "mongodb prisma migration", "prisma next mongodb".

prisma/prisma-postgres

Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db/create-pg/create-postgres, or integrating programmatic provisioning with service tokens or OAuth.

prisma/prisma-postgres-setup

Set up a new Prisma Postgres database and connect it to a local project using the Management API. Use when asked to "set up a database", "create a Prisma Postgres project", "get a connection string", "connect my app to Prisma Postgres", or "provision a database".

prisma/prisma-upgrade-v7

Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or migrating existing projects. Triggers on "upgrade to prisma 7", "prisma 7 migration", "prisma-client generator", "driver adapter required".

Verwandte Skills