LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

prisma-driver-adapter-implementation - Prisma SQL Driver Adapter Implementation Guide

Provides rules and patterns for implementing Prisma ORM 7 SQL driver adapters, handling transactions, savepoints, result mapping, and database error mapping.

Tags

Updated: 2026-09-24

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Implement SQL driver adapter interfaces
  • Manage transaction lifecycle and connections
  • Handle nested transaction savepoints
  • Map query arguments and result metadata
  • Execute database migration scripts
  • Map driver errors to DriverAdapterError
  • Manage shadow database lifecycle

Inputs

  • Prisma driver adapter utils package
  • Target database driver connection or pool
  • SQL queries and argument types
  • Migration SQL scripts

Outputs

  • SqlDriverAdapter instance
  • Transaction instance
  • Mapped SqlResultSet object
  • Wrapped DriverAdapterError instance
  • Isolated shadow database connection

Requirements

  • Node.js runtime environment
  • Prisma ORM 7
  • @prisma/driver-adapter-utils package
  • Compatible SQL database driver

Source

  • Spec: SKILL.md
prisma
driver-adapter
sql
database
orm
typescript
Implement SQL driver adapter interfaces
Manage transaction lifecycle and connections
Handle nested transaction savepoints
Map query arguments and result metadata
Prisma driver adapter utils package
Target database driver connection or pool
SQL queries and argument types
SqlDriverAdapter instance
Transaction instance
Mapped SqlResultSet object