Borrowing it
Nothing to install: this file belongs to Aniket-a14/SRA. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Aniket-a14/SRA/main/.agents/skills/prisma-database-setup/SKILL.mdgit clone --depth 1 https://github.com/Aniket-a14/SRAWrote 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.
[](https://agentmods.dev/skills/aniket-a14/sra/prisma-database-setup)<a href="https://agentmods.dev/skills/aniket-a14/sra/prisma-database-setup"><img src="https://agentmods.dev/badge/skills/aniket-a14/sra/prisma-database-setup/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.
<a href="https://agentmods.dev/skills/aniket-a14/sra/prisma-database-setup"><img src="https://agentmods.dev/badge/skills/aniket-a14/sra/prisma-database-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.01452 |
| Opus 5.5 | $0.00027 | $0.00581 |
| Sonnet 5.5 | $0.00013 | $0.00290 |
| Haiku 4.5 | $0.00007 | $0.00145 |
Grade A, and why
prisma-database-setup 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.
This is a copy
100% identical to prisma-database-setup — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prisma Database Setup
Comprehensive guides for configuring Prisma ORM with various database providers.
When to Apply
Reference this skill when:
- Initializing a new Prisma project
- Switching database providers
- Configuring connection strings and environment variables
- Troubleshooting database connection issues
- Setting up database-specific features
- Generating and instantiating Prisma Client
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Provider Guides | CRITICAL | provider names |
| 2 | Prisma Postgres | HIGH | prisma-postgres |
| 3 | Client Setup | CRITICAL | prisma-client-setup |
System Prerequisites
- Node.js 20.19.0+
- TypeScript 5.4.0+
Bun Runtime
If you're using Bun, run Prisma CLI commands with bunx --bun prisma ... so Prisma uses the Bun runtime instead of falling back to Node.js.
Supported Databases
| Database | Provider String | Notes |
|---|---|---|
| PostgreSQL | postgresql |
Default, full feature support |
| MySQL | mysql |
Widespread support, some JSON diffs |
| SQLite | sqlite |
Local file-based, no enum/scalar lists |
| MongoDB | mongodb |
Mongo-specific workflow; do not apply SQL driver-adapter guidance |
| SQL Server | sqlserver |
Microsoft ecosystem |
| CockroachDB | cockroachdb |
Distributed SQL, Postgres-compatible |
| Prisma Postgres | postgresql |
Managed serverless database |
Configuration Files
Your configuration shape depends on the provider and Prisma major version:
- All providers use
prisma/schema.prisma. - Prisma 7 SQL setups typically use
prisma.config.tsfor datasource URLs. - MongoDB projects should stay on Prisma 6.x, keep
url = env("DATABASE_URL")in the schema, and continue using the classic MongoDB setup.
Driver Adapters
The standard SQL workflow uses a driver adapter. Choose the adapter and driver for your database and pass the adapter to PrismaClient.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 193 lines · 67 tokens per session scan A 0763c2b684ff
prisma-database-setup is a skill published in the GitHub repository Aniket-a14/SRA (25 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 1,452 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to prisma-database-setup, differing in 0 lines, and is treated as a copy.
prisma-database-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prisma-database-setupAniket-a14/SRA | Skill | 25 | today | Apache-2.0 | A | 67 | Claude Code, Codex |
| system-design-data-architectureHoangNguyen0403/agent-skills-standard | Skill | 598 | yesterday | MIT | A | 60 | Claude Code, Codex |
| payloadpayloadcms/payload | Skill | 46k | today | MIT | A | 43 | Claude Code, Codex |
| trigger-convextriggerdotdev/trigger.dev | Skill | 17k | today | Apache-2.0 | A | 93 | Claude Code, Codex |
| saas-builderixartz/SaaS-Boilerplate | Skill | 7.5k | yesterday | MIT | A | 75 | Claude Code, Codex |
| trigger-realtime-and-frontendtriggerdotdev/trigger.dev | Skill | 17k | today | Apache-2.0 | A | 148 | Claude Code, Codex |
| sanity-live-cache-componentssanity-io/next-sanity | Skill | 955 | today | MIT | A | 155 | Claude Code, Codex |