What problem does it solve? Building a Prisma driver adapter is a protocol-boundary task where type-compatible code can still corrupt values, leak connections, or break transactions. This Skill provides the exact contract, lifecycle rules, and verification checklist needed to implement or modify Prisma ORM 7 SQL driver adapters correctly. ## Core Features & Use Cases - Adapter Contract Implementation: Guides implementation of SqlDriverAdapterFactory, SqlDriverAdapter, Transaction, and migration-aware shadow database factories. - Transaction & Savepoint Protocol: Enforces one dedicated connection per transaction, lifecycle-only commit/rollback hooks, and connection-local savepoint handling. - Error & Result Mapping: Preserves original database error codes for useful P2039 fallbacks and maps column types, arguments, and result metadata without silent corruption. - Use Case: When adding a new database driver to Prisma or debugging P2039 errors, transaction leaks, or shadow-database failures in an existing adapter, follow this guide to implement and verify the adapter against the target @prisma/driver-adapter-utils version. ## Quick Start Ask the AI to implement a Prisma driver adapter for your database driver following the transaction, savepoint, and error-mapping rules in this guide.