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 Reference: Defines the SqlDriverAdapterFactory, SqlDriverAdapter, Transaction, and migration-aware factory interfaces with implementation examples. - Transaction & Savepoint Protocol: Enforces one dedicated connection per transaction, lifecycle-only commit/rollback hooks, and connection-local savepoint handling. - Error & Result Mapping: Maps driver values and column metadata to Prisma types and preserves original database error codes for useful P2039 fallbacks. - Use Case: When adding a new database driver adapter for Prisma, follow the verification checklist to validate concurrent transactions, shadow database isolation, and dispose ownership before running Prisma Client integration tests. ## Quick Start Ask the AI to implement a Prisma driver adapter for your database following the transaction, savepoint, and error-mapping rules in this guide.