بنقرة واحدة
prisma
How to use Prisma
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
How to use Prisma
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guidelines for testing the application with Vitest, including unit tests, integration tests (emulator), AI tests, and eval suites for LLM features
Cursor Cloud VM setup and service startup instructions for local development
Guidelines for implementing LLM (Language Model) functionality in the application
Simplify and refine recently modified code for clarity, consistency, and maintainability while preserving exact behavior. Use when asked to simplify, polish, refactor lightly, or clean up current-session changes before review or PR.
Commit changes and open a pull request with safe metadata
Review prompt and tool-description changes in a branch or PR. Use when asked to audit system prompts, prompt builders, tool descriptions, prompt inputs, or nearby evals/tests; summarize what changed; identify guidance that feels eval-shaped or too heavy for product use; and find repeated instructions between the main prompt and tool descriptions.
| name | prisma |
| description | How to use Prisma |
We use PostgreSQL with Prisma 7.
// 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