跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/davila7/claude-code-templates/prisma-expert

Prisma Expert Skill for One-to-Many Relations

Review Prisma relation fields against the stored foreign key and verify the mapping with a local query.

中文

Install in Claude Code

Use your project's pinned Prisma version, existing schema, and a throwaway database. Keep the existing generator and connection setup.

  1. Get the complete `cli-tool/components/skills/development/prisma-expert` directory from the pinned GitHub commit.
  2. Copy it into the target project's `.claude/skills/`. Check `.claude/skills/prisma-expert/SKILL.md`, start Claude Code at the project root, and call `/prisma-expert`.

Example task

Create order O1 with two OrderItem rows. Query O1 with include items and assert both use orderId O1. Run prisma validate against the same schema.

What to check

The schema validates and the query returns exactly two matching line items.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Is every Prisma relation field stored directly in the database?

The relation field describes the relationship for Prisma. A scalar field such as orderId generally holds the foreign key.

Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯