codingby elie222
Prisma Usage
elie222/prisma
How to use Prisma
What it changes
Passed 23 of 23 test cases with the skill, and 4 of 23 without it.
Without skill17%
With skill100%
Checks it passed that the model alone missed
- Identifies Prisma 7 as the ORM major version
- Imports Prisma from '@/generated/prisma/client'
- Imports the client instance from '@/utils/prisma'
and 15 more in the full report
19 fixed4 passed either way0 still failing0 broke
- Pass-rate lift
- +83 pp
- Tokens
- -27%
- Agent turns
- 0%
- Response time
- -37%
Model gemini-3.6-flashMeasured 8/29/2026v123 of 23 cases passed with skill
See it in action
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptConstruct the top-level import section for a feature module that needs the `prisma` client, the `Rule` model type, and the `ActionType` enum.
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| Imports ActionType from '@/generated/prisma/enums' | Missed | Passed |
|---|
| Imports the model type from the generated client path | Passed | Passed |
|---|
| Imports the default database client from the project utils directory | Passed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md21 linessingle file
Prisma Usage
We use PostgreSQL with Prisma 7.
Imports
// Prisma client instance
import prisma from "@/utils/prisma";
// Enums (NOT from @prisma/client)
import { ActionType, SystemType } from "@/generated/prisma/enums";
// Types (NOT from @prisma/client)
import type { Rule, PrismaClient } from "@/generated/prisma/client";
import { Prisma } from "@/generated/prisma/client";
Never import from @prisma/client — always use @/generated/prisma/enums and @/generated/prisma/client.
Schema: apps/web/prisma/schema.prisma
Track record
Benchmark
23 / 23
test cases passed, vs 4 / 23 without
Adoption
- Users
- 0
- Times used
- 0
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/10/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
ImportedLicense NOASSERTIONImported 8/10/2026Version v1