Skip to main content
Back to registry

prisma-driver-adapter-implementation

prisma/skills

This skill provides everything needed to implement a Prisma ORM v7 driver adapter for any database.

Installs553
Install command
npx skills add https://github.com/prisma/skills --skill prisma-driver-adapter-implementation
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
This skill provides everything needed to implement a Prisma ORM v7 driver adapter for any database. Import from @prisma/driver-adapter-utils : Critical : commit() and rollback() are lifecycle hooks only . They must NOT issue SQL. Prisma sends COMMIT / ROLLBACK via executeRaw on the transaction object. Convert Prisma argument values to driver-native types: Convert driver result values to Prisma-expected types: When the driver doesn't provide type metadata, infer from JS values: Map driver errors to MappedError for Prisma to handle correctly: Test the adapter directly with the raw database driver: Test the full integration: Before considering the adapter complete: - Set safeIntegers: true when opening the database to get bigint for large integers - Only SERIALIZABLE isolation level is valid - executeScript : split on ; and run each statement individually - Boolean values: store as 0/1, return as boolean - All standard isolation levels are valid - For connection pooling (PgBouncer), use prepare: false - Transactions require a dedicated connection ( reserve() pattern) - executeScript : use multi-statement execution ( .simple() in some drivers) - int8 columns may return as string (already stringified by driver) - numeric columns return as string to preserve precision - Supports READ UNCOMMITTED , READ COMMITTED , REPEATABLE READ , SERIALIZABLE - Use ? placeholders for parameters -...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does prisma-driver-adapter-implementation do?

This skill provides everything needed to implement a Prisma ORM v7 driver adapter for any database.

Is prisma-driver-adapter-implementation good?

prisma-driver-adapter-implementation does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does prisma-driver-adapter-implementation work with?

prisma-driver-adapter-implementation currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, amp, github-copilot.

What are alternatives to prisma-driver-adapter-implementation?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install prisma-driver-adapter-implementation?

npx skills add https://github.com/prisma/skills --skill prisma-driver-adapter-implementation

Related skills

More from prisma/skills

Related skills

Alternatives in Software Engineering