Write queries in the right database lane.
Write Prisma Next query code for data access, relation loading, transactions, and aggregation using the appropriate database lane.
When to use it
Use when implementing data reads or mutations, relation loading, pagination, filtering, transactions, or aggregation.
It changes how the agent writes database queries by checking the project's runtime target and choosing the appropriate query lane.
What you provide
The database must be up to date and the Prisma Next data contract must already be emitted before using this query guidance.
Delegates Supabase role binding to this skill before applying the query guidance to the returned RoleBoundDb; installation requirements are unstated.
No additional actions listed.