prisma-driver-adapter-implementation
Installation
SKILL.md
Prisma SQL Driver Adapter Implementation
Use this guide with the exact @prisma/driver-adapter-utils version installed by the target Prisma release. Driver adapters are a protocol boundary: type-compatible code can still corrupt values, leak connections, or break transactions.
When to Apply
- Implementing
SqlDriverAdapterFactory,SqlMigrationAwareDriverAdapterFactory,SqlDriverAdapter, orTransaction - Adding nested-transaction/savepoint support
- Mapping driver values, column metadata, bind arguments, or database errors
- Debugging
P2039, transaction leaks, shadow-database failures, or adapter-specific query behavior
Contract snapshot
interface SqlDriverAdapterFactory extends AdapterInfo {
connect(): Promise<SqlDriverAdapter>
}