Prisma
DevelopmentprismaPrisma 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
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/elie222/inbox-zero/blob/HEAD/.claude/skills/prisma/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/prisma, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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