prisma
Prisma ORM — schema DSL, migrations, Prisma Client, Studio, edge deployment.
от skeletorflet★ 48 звёзд на GitHub
Установить prisma в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
prisma
Schema DSL (schema.prisma)
- Models:
model User { id Int @id @default(autoincrement()) }with field types, attributes, default values. - Enums:
enum Role { USER ADMIN }used as field types. - Relations:
@relationwithfields: [authorId] references: [id]for one-to-many, many-to-many. - Attributes:
@unique,@index,@default(now()),@updatedAt.
Migrations
prisma migrate dev— generate + apply migration;prisma migrate deploy— apply in CI/prod.prisma migrate reset— drop + recreate;prisma migrate status— check drift.- Use
prisma migrate resolveto fix migration history conflicts.
Prisma Client
new PrismaClient()— instantiate;prisma.user.findMany()— CRUD.- Filtering:
where: { email: { contains: "example.com" } }; sorting:orderBy: { name: "asc" }; pagination:take: 10, skip: 20. - Include/nested reads:
include: { posts: true }; select specific fields.
Prisma Studio
npx prisma studio— GUI for browsing/editing data.
Extensions & Edge
- Zod schemas auto-generated via
prisma-zodfor validation. @prisma/clientworks on Edge (Neon, Cloudflare D1) via@prisma/adapter-neonor@prisma/adapter-pg.- Policy/permission layer:
@prisma/extension-policyor middleware middleware hooks. - Connection pooling with PgBouncer for serverless.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл prisma?
Prisma ORM — schema DSL, migrations, Prisma Client, Studio, edge deployment.
Как установить скилл prisma?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prisma запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…