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 needed to implement adapters that behave correctly under Prisma ORM 7. ## Core Features & Use Cases - Adapter Contract Implementation: Guides implementation of SqlDriverAdapterFactory, SqlDriverAdapter, Transaction, and SqlMigrationAwareDriverAdapterFactory with correct query, script, and lifecycle semantics. - Transaction & Savepoint Protocol: Enforces one dedicated connection per transaction, commit/rollback as cleanup hooks, and connection-local savepoint handling for nested transactions. - Error & Result Mapping: Preserves original database error codes and messages for useful P2039 fallbacks, and maps column types, arguments, and native types without silent value corruption. - Use Case: You are writing a new database driver adapter for Prisma 7 and need to support interactive transactions, shadow databases for Migrate, and structured constraint errors without leaking pooled connections. ## Quick Start Ask the AI to implement a Prisma 7 SQL driver adapter for your database driver following the transaction, savepoint, and error-mapping rules in this Skill.