prisma-code-review

prisma-code-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 50 tokens per session (1,006 once invoked), scanned A, original, MIT.

A review checklist for Prisma database schemas, migrations, and queries, checking possible data loss, repeated related reads, and unsafe SQL written by hand.

In plain words
What is it for?
Use it to review a Prisma schema change, migration, query, or planned database update without connecting to production.
Why use it?
It helps detect database changes or queries that could lose data, perform poorly, or bypass safer query handling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to review a Prisma schema change, migration, query, or planned database update without connecting to production.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/prisma-code-review
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 beel-collab/presets.dev --skill prisma-code-review
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

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-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/prisma-code-review/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/prisma-code-review)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/prisma-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/prisma-code-review/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-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/prisma-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/prisma-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,006 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.
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.00050 $0.01006
Opus 5.5 $0.00020 $0.00402
Sonnet 5.5 $0.00010 $0.00201
Haiku 4.5 $0.00005 $0.00101

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

Security

Grade A, and why

prisma-code-review 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 17d 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.

antigravity/prisma/prisma-code-review/SKILL.md · 86 lines

How it starts

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

Prisma Code Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/prisma-code-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

Prisma Code Review

Shared skill prisma-code-review for Prisma. Codex and Antigravity CLI both read .agents/skills/prisma-code-review/SKILL.md. Install this one file. Codex calls it with $prisma-code-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a Prisma schema change, a migration, a query, or "is this safe to migrate".

When to leave it

Stop if the user asks you to apply the migration to production or to reset a shared database. Review the files. Do not connect to production.

Steps

  1. Read the installed Prisma major. If the diff bumps to 8 while the app is on 7, that is a high finding unless the user asked for the RC. npm latest being an RC is not approval.
  2. Read the new migration. A destructive drop, a required column without a default or backfill, or an edit to an old migration folder is a high finding.
  3. Confirm no script points the shadow database or migrate dev at a production URL.
  4. Review queries in the diff for per-row findUnique, unbounded findMany, and raw SQL built with string concatenation. Each is a finding, high when user input is concatenated.
  5. Check that writes which must be atomic sit in a transaction, and that the transaction does not wrap a slow third-party call.
  6. Do not run a migrate command. If a local disposable test exists and the user asked to run it, record the output. Otherwise write not run.

Output

Read the full file on GitHub · 86 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. 17d ago First seen · 86 lines · 50 tokens per session scan A b2ee86783e19

Subscribe to this mod's changes

prisma-code-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 6d ago), licensed MIT. It adds 50 tokens to every session and 1,006 once invoked, about $0.0002 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-11-13.

Related

prisma-code-review compared with skills from other repositories

prisma-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prisma-code-reviewbeel-collab/presets.devSkill36d agoMITA50Claude Code, Codex
code-reviewsammcj/agentic-codingSkill1743d agoApache-2.0A20Claude Code, Codex
self-reviewsammcj/agentic-codingSkill1743d agoApache-2.0A24Claude Code
databasemiles990/claude-software-skillsSkill2610mo agoMITA14Claude Code, Codex
Database PatternsAmariahAK/atlarix-skillsSkill02mo agoApache-2.0A2Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code