agentsclimarketplace

Prisma

Skill G1Joshi/Agent-Skills/skills/frameworks/prisma

Prisma TypeScript ORM with migrations. Use for database access.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill prisma

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.1 KB, 260 tokens by cl100k_base, as published. Nobody here has run it

Prisma

Prisma 6 (2025) adds multi-schema support and Edge support (Cloudflare Workers) via driver adapters. It is known for its type-safe client.

When to Use

  • TypeScript: The PrismaClient generated types are unmatched.
  • Relational DBs: Postgres, MySQL, SQL Server.
  • Productivity: schema.prisma is an easy-to-read source of truth.

Core Concepts

Schema (schema.prisma)

Defines models and relationships.

Prisma Client

Auto-generated query builder. prisma.user.findMany().

Migrate

Declarative migrations. prisma migrate dev.

Best Practices (2025)

Do:

  • Use Driver Adapters: For serverless/edge environments (@prisma/adapter-neon).
  • Use relationMode = "prisma": If utilizing PlanetScale or Vitess.
  • Check generated SQL: Use $on('query') to verify performance.

Don't:

  • Don't N+1: Be careful with nested reads inside loops. Use include.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.