4,960,752 AI resources indexedWorking toward the world’s largest AI resource index.

Prisma Database Sub-Skill

Handles all Prisma ORM tasks in a Turborepo monorepo: initial setup, PrismaClient singleton, schema model generation, migrations, seeding, soft delete pattern, pagination helpers. Trigger for: "setup prisma", "add prisma model", "create migration", "seed database", "add soft delete", "add paginat...

Installable skillMITBy raihansharifrimonUpdated Oct 31, 2026
INTENDED FOROpenClawInstall in a listed agent.

instructions.md

---
name: prisma-database-388f08625f34
description: >
  Handles all Prisma ORM tasks in a Turborepo monorepo: initial setup, PrismaClient singleton,
  schema model generation, migrations, seeding, soft delete pattern, pagination helpers.
  Trigger for: "setup prisma", "add prisma model", "create migration", "seed database",
  "add soft delete", "add pagination", "setup database package", "init prisma".
---

# Prisma Database Sub-Skill

Reads: `../../references/project.config.md` · `../../references/conventions.md`

Package location: `packages/database/`

## Preflight

Print before any action:
```
✅ Prisma Preflight
task: {task} | pkg: packages/database | pm: {package_manager}
```

## Task Router

| User asks | Reference |
|---|---|
| Setup Prisma, init, install, client package | `references/setup.md` |
| Add/define a model, schema field | `references/schema.md` |
| Create, run, reset, rollback migration | `references/migrations.md` |
| Seed database, seed file, seed script | `references/seed.md` |
| Shared PrismaClient singleton | `references/client.md` |
| Soft delete pattern | `references/soft-delete.md` |
| Pagination, cursor, offset | `references/pagination.md` |

Load only the reference file needed — not all at once.

## Resume

"resume prisma [task]" → identify what's missing → continue from that step.

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.