rule
use hash constructors
Use coreHash() and profileHash() constructors instead of 'as never' casts for branded hash types
Set up
Skills are installed by placing their folder where your agent loads skills.
The download comes from github.com/prisma/prisma-next itself, not from our server, so what you get is exactly what its author published. The ZIP holds the whole collection; take the folder .agents/rules/use-hash-constructors.mdc out of it for use hash constructors.
Part of the collection prisma/prisma-next.
Copy the text of use-hash-constructors.mdc into the instructions file your agent reads (CLAUDE.md, AGENTS.md, .cursor/rules, …). Written for AI coding agents in general (from where the project keeps it; we have not run it).