prisma-driver-adapter-implementation

prisma-driver-adapter-implementation is a skill for Claude Code, Codex from nitrocloudofficial/nitrostack. It costs 71 tokens per session (4,416 once invoked), scanned A, original, Apache-2.0.

An implementation guide for Prisma ORM v7 database-driver adapters. An adapter connects Prisma Client to a particular database driver and must follow rules for queries, transactions, connections, and errors.

In plain words
What is it for?
Use it when adding a database driver, implementing an adapter, or modifying Prisma’s SqlDriverAdapter, transaction, or migration-related interfaces.
Why use it?
It documents contract details that may not be obvious from examples, helping prevent incorrect adapter behavior and transaction-lifecycle bugs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when adding a database driver, implementing an adapter, or modifying Prisma’s SqlDriverAdapter, transaction, or migration-related interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nitrocloudofficial/nitrostack/prisma-driver-adapter-implementation
About the project

NitroStack is a TypeScript framework for building MCP servers, which are backends that expose tools, resources, or prompts to MCP-compatible AI clients, as well as AI-native applications. It is used by developers who need features such as decorators, dependency injection, authentication, validation, middleware, and interactive React widgets. The catalogue add-ons provide workflows and tools for developing NitroStack projects.

nitrocloudofficial/nitrostack · 2,567 stars · on GitHub · nitrostack.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nitrocloudofficial/nitrostack --skill prisma-driver-adapter-implementation
Clone the repo
git clone --depth 1 https://github.com/nitrocloudofficial/nitrostack

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prisma-driver-adapter-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/prisma-driver-adapter-implementation/github.svg)](https://agentmods.dev/skills/nitrocloudofficial/nitrostack/prisma-driver-adapter-implementation)
Your own site
<a href="https://agentmods.dev/skills/nitrocloudofficial/nitrostack/prisma-driver-adapter-implementation"><img src="https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/prisma-driver-adapter-implementation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prisma-driver-adapter-implementation

Your own site · 80×15
<a href="https://agentmods.dev/skills/nitrocloudofficial/nitrostack/prisma-driver-adapter-implementation"><img src="https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/prisma-driver-adapter-implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,416 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.04416
Opus 5.5 $0.00028 $0.01766
Sonnet 5.5 $0.00014 $0.00883
Haiku 4.5 $0.00007 $0.00442

Measured 2mo ago against content hash b70fb834f889, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prisma-driver-adapter-implementation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

sample-apps/Ekalavya/.agents/skills/prisma-driver-adapter-implementation/SKILL.md · 639 lines

How it starts

The opening of the file, as written. The whole thing — 639 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Prisma 7 Driver Adapter Implementation Guide

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

Architecture Overview

┌─────────────────────────────────────────────────────────────────┐
│                         PrismaClient                            │
│                    (requires adapter factory)                   │
└─────────────────────────────────────────────────────────────────┘
                                │
                                ▼
┌─────────────────────────────────────────────────────────────────┐
│            SqlMigrationAwareDriverAdapterFactory                │
│   ┌─────────────────────┐    ┌─────────────────────────────┐    │
│   │ connect()           │    │ connectToShadowDb()         │    │
│   │ → SqlDriverAdapter  │    │ → SqlDriverAdapter          │    │
│   └─────────────────────┘    └─────────────────────────────┘    │
└─────────────────────────────────────────────────────────────────┘
                                │
                                ▼
┌─────────────────────────────────────────────────────────────────┐
│                      SqlDriverAdapter                           │
│  ┌──────────────┐ ┌──────────────┐ ┌──────────────────────────┐ │
│  │ queryRaw()   │ │ executeRaw() │ │ startTransaction()       │ │
│  │ → ResultSet  │ │ → number     │ │ → Transaction            │ │
│  └──────────────┘ └──────────────┘ └──────────────────────────┘ │
│  ┌──────────────┐ ┌──────────────┐ ┌──────────────────────────┐ │
│  │executeScript │ │ dispose()    │ │ getConnectionInfo()      │ │
│  └──────────────┘ └──────────────┘ └──────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘
                                │
                                ▼
┌─────────────────────────────────────────────────────────────────┐
│                        Transaction                              │
│  Extends SqlQueryable + commit() + rollback() + options         │
│  (lifecycle hooks only — Prisma sends SQL via executeRaw)       │
└─────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 639 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 639 lines · 71 tokens per session scan A b70fb834f889

Subscribe to this mod's changes

prisma-driver-adapter-implementation is a skill published in the GitHub repository nitrocloudofficial/nitrostack (2,567 stars, last pushed 18d ago), licensed Apache-2.0. It adds 71 tokens to every session and 4,416 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

prisma-driver-adapter-implementation compared with skills from other repositories

prisma-driver-adapter-implementation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prisma-driver-adapter-implementationnitrocloudofficial/nitrostackSkill2.6k18d agoApache-2.0A71Claude Code, Codex
chromaNousResearch/hermes-agentSkill261ktodayMITA12Claude Code, Codex
embeddingsruvnet/rufloSkill81ktodayMITA62Claude Code
postgresql-table-designwshobson/agentsSkill42kyesterdayMITA37Claude Code
cqrs-implementationwshobson/agentsSkill42kyesterdayMITA35Claude Code
event-store-designwshobson/agentsSkill42kyesterdayMITA33Claude Code
projection-patternswshobson/agentsSkill42kyesterdayMITA36Claude Code