What problem does it solve? Building a Prisma SQL driver adapter is error-prone: type-compatible code can still corrupt values, leak connections, or break transactions. This Skill provides the exact contract, priority rules, and verification checklist needed to implement adapters that behave correctly under Prisma ORM 7. ## Core Features & Use Cases - Contract Implementation: Guides implementation of SqlDriverAdapterFactory, SqlDriverAdapter, Transaction, and optional savepoint hooks with correct lifecycle semantics. - Error & Result Mapping: Shows how to map driver values, column metadata, and database errors into DriverAdapterError while preserving original codes for P2039 fallbacks. - Transaction Safety: Enforces one dedicated connection per transaction, lifecycle-only commit/rollback hooks, and isolated shadow databases for migrations. - Use Case: When adding a new database driver to Prisma, follow this guide to implement queryRaw, executeRaw, startTransaction, and connectToShadowDb, then validate against the included checklist before running Prisma Client integration tests. ## Quick Start Ask the AI to implement a Prisma SQL driver adapter for your database driver following the transaction and error-mapping rules in this guide.