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, priority rules, and verification checklist for implementing adapters against @prisma/driver-adapter-utils. ## Core Features & Use Cases - Contract Implementation: Guides implementation of SqlDriverAdapterFactory, SqlDriverAdapter, and Transaction interfaces, including query/execute methods and result mapping to ColumnTypeEnum. - Transaction & Savepoint Protocol: Enforces one dedicated connection per transaction, lifecycle-only commit/rollback hooks, and connection-local savepoint methods instead of adapter-global depth tracking. - Error Mapping: Preserves originalCode and originalMessage in DriverAdapterError so unmapped errors surface as useful P2039 failures. - Use Case: You are adding a new database driver to Prisma 7. Use this Skill to implement the adapter, wire up nested transactions via savepoints, map driver errors, and validate shadow-database behavior for Migrate. ## Quick Start Ask the AI to implement a Prisma 7 SQL driver adapter for your database driver following the transaction, savepoint, and error-mapping contract in this Skill.