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 provides the exact contract, lifecycle rules, and verification checklist needed to implement adapters that behave correctly with Prisma ORM 7. ## 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, correct commit/rollback lifecycle hooks, and connection-local savepoint handling. - Error & Result Mapping: Preserves original database error codes for useful P2039 fallbacks and maps column types, arguments, and native types without silent corruption. - Use Case: When adding a new database driver to Prisma, use this Skill to implement the adapter, wire nested transactions, and validate behavior against the verification checklist before running Prisma Client integration tests. ## Quick Start Ask the AI to implement a Prisma driver adapter for your database following this guide, including transaction lifecycle, savepoints, and error mapping.