Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentAvançado

Prisma 7 Driver Adapter Implementation Guide

porprisma·prisma· v1.0.0 · atualizado em 2026-04-10
80
Score

Required reference for Prisma v7 driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter/Transaction interfaces. Contains critical contract details not inferable from code examples — including the transaction lifecycle protocol, error mapping requirements, and verification checklist. Existing implementations do not replace this skill.

prismadriver-adapterdatabase-driverormsqltypescriptdatabase-integration
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdprisma-driver-adapter-implementation/workflow
1
Set up the project: — Initialize a new TypeScript project and install the necessary dependencies, including `@prisma/driver-adapter-utils`.
2
Implement the Queryable base class: — Create a class that implements the `SqlQueryable` interface, handling `queryRaw` and `executeRaw` methods.
3
Implement the Transaction class: — Create a class that implements the `Transaction` interface, ensuring proper handling of `commit` and `rollback` lifecycle hooks.
4
Implement the Adapter class: — Create a class that implements the `SqlDriverAdapter` interface, handling `executeScript`, `startTransaction`, `getConnectionInfo`, and `dispose` methods.
5
Implement the Factory class: — Create a class that implements the `SqlMigrationAwareDriverAdapterFactory` interface, providing `connect` and `connectToShadowDb` methods.
6
Implement Argument and Row Mapping: — Create functions to convert Prisma argument values to driver-native types and driver result values to Prisma-expected types.
7
Implement Error Handling: — Implement error mapping to convert driver-specific errors to Prisma's `DriverAdapterError`.
8
Write Tests: — Write unit tests and E2E tests to verify the adapter's functionality.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Similar aPrisma Database Setup
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
80
Similar aPrisma Client API Reference
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
82
Similar aPrisma CLI Reference
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
80

Árvore do Skill

Prisma 7 Driver Adapter Implementation Guide
prisma-driver-adapter-implementation
Fases Cognitivas5
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.ACT
5.REFLECT
Triggers8
implement a prisma driver adaptermodify a prisma driver adapteradd a database driver to prismawork with prisma's SqlDriverAdapter interfaceimplement a custom database adapter for prismacreate a prisma v7 driver adapterbuild a database connector for prismadevelop a prisma database adapter

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download prisma-driver-adapter-implementation
$ synaptic skills detail prisma-driver-adapter-implementation
$ synaptic skills live prisma-driver-adapter-implementation

Dependências

@prisma/driver-adapter-utils

Links

GitHub Repository