Wire the Prisma Next runtime — db.ts setup using postgres<Contract>(...) from @prisma-next/postgres/runtime, sqlite<Contract>(...) from @prisma-next/sqlite/runtime, or mongo<Contract>(...) from @prisma-next/mongo/runtime; middleware composition (telemetry from @prisma-next/middleware-telemetry; lints and budgets), DATABASE_URL config, per-environment branching, switching between Postgres, SQLite, and Mongo façades. Use for db.ts, postgres(), sqlite(), mongo(), middleware, telemetry, lints, budgets, DATABASE_URL, .env, connection pool, poolOptions, dev vs prod config, transactions, db.transaction, read replicas, multi-database, script won't exit, hangs, close connection, db.end, db.close, pool.end, [Symbol.asyncDispose], await using.
$npx -y skills add prisma/prisma-next --skill prisma-next-runtimeInstalls into the current project.
Run `npx skills use "https://github.com/prisma/prisma-next" --skill "prisma/prisma-next/prisma-next-runtime"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/prisma/prisma-next" that are relevant to the current task. Run `npx skills add "https://github.com/prisma/prisma-next"` and select the relevant skills, then follow their instructions.