# Prisma

> Prisma is an Agent Skill for development published in the elie222/inbox-zero repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

How to use Prisma

- Skill name: `prisma`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/elie222/inbox-zero/blob/HEAD/.claude/skills/prisma/SKILL.md
- Repository: elie222/inbox-zero (11,638 GitHub stars when collected)

## SKILL.md

# Prisma Usage

We use PostgreSQL with Prisma 7.

## Imports

```typescript
// 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`

---

Source: https://www.openparable.com/skill/development/prisma (OpenParable). Cite the canonical URL above.
