What problem does it solve? Building a Prisma SQL driver adapter is error-prone: type-compatible code can still corrupt values, leak connections, break transactions, or lose original database error details. This Skill encodes the exact Prisma ORM 7 adapter contract so implementations handle transactions, savepoints, result mapping, and error preservation correctly. ## Core Features & Use Cases - Adapter Contract Implementation: Guides implementation of SqlDriverAdapterFactory, SqlDriverAdapter, Transaction, and SqlMigrationAwareDriverAdapterFactory against the installed @prisma/driver-adapter-utils version. - Transaction & Savepoint Protocol: Enforces one dedicated connection per transaction, lifecycle-only commit/rollback hooks, and connection-local savepoint handling. - Result and Error Mapping: Covers column type mapping, argument binding, and DriverAdapterError conversion that preserves originalCode and originalMessage for useful P2039 errors. - Use Case: When adding a new database driver to Prisma, use this Skill to implement queryRaw, executeRaw, startTransaction, and shadow database support, then verify against the included checklist. ## Quick Start Ask the AI to implement a Prisma driver adapter for your database following this guide, including transaction handling and error mapping.