Prisma
A comprehensive skill catalog for AI agents
npx -y skills add G1Joshi/Agent-Skills --skill prismaAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 10 stars10 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.
What its author says it does
Copied from the file, not written here
Prisma TypeScript ORM with migrations. Use for database access.
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
PrismaClientgenerated types are unmatched. - Relational DBs: Postgres, MySQL, SQL Server.
- Productivity:
schema.prismais 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.