[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-prisma-prisma-postgres":3,"mdc--ur4dvo-key":37,"related-repo-prisma-prisma-postgres":1097,"related-org-prisma-prisma-postgres":1197},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"prisma-postgres","manage Prisma Postgres databases","Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db\u002Fcreate-pg\u002Fcreate-postgres, or integrating programmatic provisioning with service tokens or OAuth.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"prisma","Prisma","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fprisma.png",[12,16,19,20,23],{"name":13,"slug":14,"type":15},"CLI","cli","tag",{"name":17,"slug":18,"type":15},"Database","database",{"name":9,"slug":8,"type":15},{"name":21,"slug":22,"type":15},"PostgreSQL","postgresql",{"name":24,"slug":25,"type":15},"SDK","sdk",44,"https:\u002F\u002Fgithub.com\u002Fprisma\u002Fskills","2026-07-17T05:31:52.398028","MIT",3,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],null,"https:\u002F\u002Fgithub.com\u002Fprisma\u002Fskills\u002Ftree\u002FHEAD\u002Fprisma-postgres","---\nname: prisma-postgres\ndescription: Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db\u002Fcreate-pg\u002Fcreate-postgres, or integrating programmatic provisioning with service tokens or OAuth.\nlicense: MIT\nmetadata:\n  author: prisma\n  version: \"7.7.0\"\n---\n\n# Prisma Postgres\n\nGuidance for creating, managing, and integrating Prisma Postgres across interactive and programmatic workflows.\n\n## When to Apply\n\nReference this skill when:\n- Setting up Prisma Postgres from Prisma Console\n- Provisioning instant temporary databases with `create-db`\n- Linking an existing local project with `prisma postgres link`\n- Managing Prisma Postgres resources via Management API\n- Using `@prisma\u002Fmanagement-api-sdk` in TypeScript\u002FJavaScript\n- Handling claim URLs, connection strings, regions, and auth flows\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | CLI Provisioning | CRITICAL | `create-db-cli` |\n| 2 | Management API | CRITICAL | `management-api` |\n| 3 | Management API SDK | HIGH | `management-api-sdk` |\n| 4 | Console and Connections | HIGH | `console-and-connections` |\n\n## Quick Reference\n\n- `create-db-cli` - instant databases and current CLI flags (`--ttl`, `--copy`, `--quiet`, `--open`)\n- `management-api` - service token and OAuth API workflows\n- `management-api-sdk` - typed SDK usage with token storage\n- `console-and-connections` - Console operations, `prisma postgres link`, direct TCP connections, and serverless-driver choices\n\n## Core Workflows\n\n### 1. Console-first workflow\n\nUse Prisma Console for manual setup and operations:\n\n- Open `https:\u002F\u002Fconsole.prisma.io`\n- Create\u002Fselect workspace and project\n- Use Studio in the project sidebar to view\u002Fedit data\n- Retrieve direct connection details from the project UI\n\n### 2. Quick provisioning with create-db\n\nUse `create-db` when you need a database immediately:\n\n```bash\nnpx create-db@latest\n```\n\nAliases:\n\n```bash\nnpx create-pg@latest\nnpx create-postgres@latest\n```\n\nFor app integrations, you can also use the programmatic API (`create()` \u002F `regions()`) from the `create-db` npm package.\n\nTemporary databases auto-delete after ~24 hours unless claimed.\n\n### 2b. Persistent databases with the Platform CLI\n\nFor databases that belong to a Project (not throwaway `create-db` databases), use `@prisma\u002Fcli`:\n\n```bash\nnpx -y @prisma\u002Fcli@latest database create main --branch main\nnpx -y @prisma\u002Fcli@latest database list --json\nnpx -y @prisma\u002Fcli@latest database connection create db_123\nnpx -y @prisma\u002Fcli@latest database usage db_123\nnpx -y @prisma\u002Fcli@latest database backup list db_123\n```\n\n`database create` and `database connection create` print a one-time connection URL; store it immediately. Destructive commands (`remove`, `restore`) require exact `--confirm \u003Cid>`.\n\n### 3. Link an existing local project\n\nUse `prisma postgres link` when the database already exists and you want to wire a local project to it:\n\n```bash\nprisma postgres link\n```\n\nFor CI or other non-interactive environments:\n\n```bash\nprisma postgres link --api-key \"\u003Cyour-api-key>\" --database \"db_...\"\n```\n\nThis flow updates your local `.env` with `DATABASE_URL`, then you can run `prisma generate` and `prisma migrate dev`.\n\n### 4. Programmatic provisioning with Management API\n\nUse API endpoints on:\n\n```text\nhttps:\u002F\u002Fapi.prisma.io\u002Fv1\n```\n\nExplore the schema and endpoints using:\n\n- OpenAPI docs: `https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fdoc`\n- Swagger Editor: `https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fswagger-editor`\n\nAuth options:\n\n- Service token (workspace server-to-server)\n- OAuth 2.0 (act on behalf of users)\n\n### 5. Type-safe integration with Management API SDK\n\nInstall and use:\n\n```bash\nnpm install @prisma\u002Fmanagement-api-sdk\n```\n\nUse `createManagementApiClient` for existing tokens, or `createManagementApiSdk` for OAuth + token refresh.\n\n## Rule Files\n\nDetailed guidance lives in:\n\n```\nreferences\u002Fconsole-and-connections.md\nreferences\u002Fcreate-db-cli.md\nreferences\u002Fmanagement-api.md\nreferences\u002Fmanagement-api-sdk.md\n```\n\n## How to Use\n\nStart with `references\u002Fcreate-db-cli.md` for fast setup, then switch to `references\u002Fmanagement-api.md` or `references\u002Fmanagement-api-sdk.md` when you need programmatic provisioning.\n",{"data":38,"body":41},{"name":4,"description":6,"license":29,"metadata":39},{"author":8,"version":40},"7.7.0",{"type":42,"children":43},"root",[44,52,58,65,70,126,132,276,282,362,368,375,380,409,415,427,456,461,493,521,526,532,552,725,767,773,784,808,813,876,911,917,922,932,937,962,967,980,986,991,1016,1036,1042,1047,1056,1062,1091],{"type":45,"tag":46,"props":47,"children":48},"element","h1",{"id":4},[49],{"type":50,"value":51},"text","Prisma Postgres",{"type":45,"tag":53,"props":54,"children":55},"p",{},[56],{"type":50,"value":57},"Guidance for creating, managing, and integrating Prisma Postgres across interactive and programmatic workflows.",{"type":45,"tag":59,"props":60,"children":62},"h2",{"id":61},"when-to-apply",[63],{"type":50,"value":64},"When to Apply",{"type":45,"tag":53,"props":66,"children":67},{},[68],{"type":50,"value":69},"Reference this skill when:",{"type":45,"tag":71,"props":72,"children":73},"ul",{},[74,80,92,103,108,121],{"type":45,"tag":75,"props":76,"children":77},"li",{},[78],{"type":50,"value":79},"Setting up Prisma Postgres from Prisma Console",{"type":45,"tag":75,"props":81,"children":82},{},[83,85],{"type":50,"value":84},"Provisioning instant temporary databases with ",{"type":45,"tag":86,"props":87,"children":89},"code",{"className":88},[],[90],{"type":50,"value":91},"create-db",{"type":45,"tag":75,"props":93,"children":94},{},[95,97],{"type":50,"value":96},"Linking an existing local project with ",{"type":45,"tag":86,"props":98,"children":100},{"className":99},[],[101],{"type":50,"value":102},"prisma postgres link",{"type":45,"tag":75,"props":104,"children":105},{},[106],{"type":50,"value":107},"Managing Prisma Postgres resources via Management API",{"type":45,"tag":75,"props":109,"children":110},{},[111,113,119],{"type":50,"value":112},"Using ",{"type":45,"tag":86,"props":114,"children":116},{"className":115},[],[117],{"type":50,"value":118},"@prisma\u002Fmanagement-api-sdk",{"type":50,"value":120}," in TypeScript\u002FJavaScript",{"type":45,"tag":75,"props":122,"children":123},{},[124],{"type":50,"value":125},"Handling claim URLs, connection strings, regions, and auth flows",{"type":45,"tag":59,"props":127,"children":129},{"id":128},"rule-categories-by-priority",[130],{"type":50,"value":131},"Rule Categories by Priority",{"type":45,"tag":133,"props":134,"children":135},"table",{},[136,165],{"type":45,"tag":137,"props":138,"children":139},"thead",{},[140],{"type":45,"tag":141,"props":142,"children":143},"tr",{},[144,150,155,160],{"type":45,"tag":145,"props":146,"children":147},"th",{},[148],{"type":50,"value":149},"Priority",{"type":45,"tag":145,"props":151,"children":152},{},[153],{"type":50,"value":154},"Category",{"type":45,"tag":145,"props":156,"children":157},{},[158],{"type":50,"value":159},"Impact",{"type":45,"tag":145,"props":161,"children":162},{},[163],{"type":50,"value":164},"Prefix",{"type":45,"tag":166,"props":167,"children":168},"tbody",{},[169,197,223,250],{"type":45,"tag":141,"props":170,"children":171},{},[172,178,183,188],{"type":45,"tag":173,"props":174,"children":175},"td",{},[176],{"type":50,"value":177},"1",{"type":45,"tag":173,"props":179,"children":180},{},[181],{"type":50,"value":182},"CLI Provisioning",{"type":45,"tag":173,"props":184,"children":185},{},[186],{"type":50,"value":187},"CRITICAL",{"type":45,"tag":173,"props":189,"children":190},{},[191],{"type":45,"tag":86,"props":192,"children":194},{"className":193},[],[195],{"type":50,"value":196},"create-db-cli",{"type":45,"tag":141,"props":198,"children":199},{},[200,205,210,214],{"type":45,"tag":173,"props":201,"children":202},{},[203],{"type":50,"value":204},"2",{"type":45,"tag":173,"props":206,"children":207},{},[208],{"type":50,"value":209},"Management API",{"type":45,"tag":173,"props":211,"children":212},{},[213],{"type":50,"value":187},{"type":45,"tag":173,"props":215,"children":216},{},[217],{"type":45,"tag":86,"props":218,"children":220},{"className":219},[],[221],{"type":50,"value":222},"management-api",{"type":45,"tag":141,"props":224,"children":225},{},[226,231,236,241],{"type":45,"tag":173,"props":227,"children":228},{},[229],{"type":50,"value":230},"3",{"type":45,"tag":173,"props":232,"children":233},{},[234],{"type":50,"value":235},"Management API SDK",{"type":45,"tag":173,"props":237,"children":238},{},[239],{"type":50,"value":240},"HIGH",{"type":45,"tag":173,"props":242,"children":243},{},[244],{"type":45,"tag":86,"props":245,"children":247},{"className":246},[],[248],{"type":50,"value":249},"management-api-sdk",{"type":45,"tag":141,"props":251,"children":252},{},[253,258,263,267],{"type":45,"tag":173,"props":254,"children":255},{},[256],{"type":50,"value":257},"4",{"type":45,"tag":173,"props":259,"children":260},{},[261],{"type":50,"value":262},"Console and Connections",{"type":45,"tag":173,"props":264,"children":265},{},[266],{"type":50,"value":240},{"type":45,"tag":173,"props":268,"children":269},{},[270],{"type":45,"tag":86,"props":271,"children":273},{"className":272},[],[274],{"type":50,"value":275},"console-and-connections",{"type":45,"tag":59,"props":277,"children":279},{"id":278},"quick-reference",[280],{"type":50,"value":281},"Quick Reference",{"type":45,"tag":71,"props":283,"children":284},{},[285,325,335,345],{"type":45,"tag":75,"props":286,"children":287},{},[288,293,295,301,303,309,310,316,317,323],{"type":45,"tag":86,"props":289,"children":291},{"className":290},[],[292],{"type":50,"value":196},{"type":50,"value":294}," - instant databases and current CLI flags (",{"type":45,"tag":86,"props":296,"children":298},{"className":297},[],[299],{"type":50,"value":300},"--ttl",{"type":50,"value":302},", ",{"type":45,"tag":86,"props":304,"children":306},{"className":305},[],[307],{"type":50,"value":308},"--copy",{"type":50,"value":302},{"type":45,"tag":86,"props":311,"children":313},{"className":312},[],[314],{"type":50,"value":315},"--quiet",{"type":50,"value":302},{"type":45,"tag":86,"props":318,"children":320},{"className":319},[],[321],{"type":50,"value":322},"--open",{"type":50,"value":324},")",{"type":45,"tag":75,"props":326,"children":327},{},[328,333],{"type":45,"tag":86,"props":329,"children":331},{"className":330},[],[332],{"type":50,"value":222},{"type":50,"value":334}," - service token and OAuth API workflows",{"type":45,"tag":75,"props":336,"children":337},{},[338,343],{"type":45,"tag":86,"props":339,"children":341},{"className":340},[],[342],{"type":50,"value":249},{"type":50,"value":344}," - typed SDK usage with token storage",{"type":45,"tag":75,"props":346,"children":347},{},[348,353,355,360],{"type":45,"tag":86,"props":349,"children":351},{"className":350},[],[352],{"type":50,"value":275},{"type":50,"value":354}," - Console operations, ",{"type":45,"tag":86,"props":356,"children":358},{"className":357},[],[359],{"type":50,"value":102},{"type":50,"value":361},", direct TCP connections, and serverless-driver choices",{"type":45,"tag":59,"props":363,"children":365},{"id":364},"core-workflows",[366],{"type":50,"value":367},"Core Workflows",{"type":45,"tag":369,"props":370,"children":372},"h3",{"id":371},"_1-console-first-workflow",[373],{"type":50,"value":374},"1. Console-first workflow",{"type":45,"tag":53,"props":376,"children":377},{},[378],{"type":50,"value":379},"Use Prisma Console for manual setup and operations:",{"type":45,"tag":71,"props":381,"children":382},{},[383,394,399,404],{"type":45,"tag":75,"props":384,"children":385},{},[386,388],{"type":50,"value":387},"Open ",{"type":45,"tag":86,"props":389,"children":391},{"className":390},[],[392],{"type":50,"value":393},"https:\u002F\u002Fconsole.prisma.io",{"type":45,"tag":75,"props":395,"children":396},{},[397],{"type":50,"value":398},"Create\u002Fselect workspace and project",{"type":45,"tag":75,"props":400,"children":401},{},[402],{"type":50,"value":403},"Use Studio in the project sidebar to view\u002Fedit data",{"type":45,"tag":75,"props":405,"children":406},{},[407],{"type":50,"value":408},"Retrieve direct connection details from the project UI",{"type":45,"tag":369,"props":410,"children":412},{"id":411},"_2-quick-provisioning-with-create-db",[413],{"type":50,"value":414},"2. Quick provisioning with create-db",{"type":45,"tag":53,"props":416,"children":417},{},[418,420,425],{"type":50,"value":419},"Use ",{"type":45,"tag":86,"props":421,"children":423},{"className":422},[],[424],{"type":50,"value":91},{"type":50,"value":426}," when you need a database immediately:",{"type":45,"tag":428,"props":429,"children":434},"pre",{"className":430,"code":431,"language":432,"meta":433,"style":433},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx create-db@latest\n","bash","",[435],{"type":45,"tag":86,"props":436,"children":437},{"__ignoreMap":433},[438],{"type":45,"tag":439,"props":440,"children":443},"span",{"class":441,"line":442},"line",1,[444,450],{"type":45,"tag":439,"props":445,"children":447},{"style":446},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[448],{"type":50,"value":449},"npx",{"type":45,"tag":439,"props":451,"children":453},{"style":452},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[454],{"type":50,"value":455}," create-db@latest\n",{"type":45,"tag":53,"props":457,"children":458},{},[459],{"type":50,"value":460},"Aliases:",{"type":45,"tag":428,"props":462,"children":464},{"className":430,"code":463,"language":432,"meta":433,"style":433},"npx create-pg@latest\nnpx create-postgres@latest\n",[465],{"type":45,"tag":86,"props":466,"children":467},{"__ignoreMap":433},[468,480],{"type":45,"tag":439,"props":469,"children":470},{"class":441,"line":442},[471,475],{"type":45,"tag":439,"props":472,"children":473},{"style":446},[474],{"type":50,"value":449},{"type":45,"tag":439,"props":476,"children":477},{"style":452},[478],{"type":50,"value":479}," create-pg@latest\n",{"type":45,"tag":439,"props":481,"children":483},{"class":441,"line":482},2,[484,488],{"type":45,"tag":439,"props":485,"children":486},{"style":446},[487],{"type":50,"value":449},{"type":45,"tag":439,"props":489,"children":490},{"style":452},[491],{"type":50,"value":492}," create-postgres@latest\n",{"type":45,"tag":53,"props":494,"children":495},{},[496,498,504,506,512,514,519],{"type":50,"value":497},"For app integrations, you can also use the programmatic API (",{"type":45,"tag":86,"props":499,"children":501},{"className":500},[],[502],{"type":50,"value":503},"create()",{"type":50,"value":505}," \u002F ",{"type":45,"tag":86,"props":507,"children":509},{"className":508},[],[510],{"type":50,"value":511},"regions()",{"type":50,"value":513},") from the ",{"type":45,"tag":86,"props":515,"children":517},{"className":516},[],[518],{"type":50,"value":91},{"type":50,"value":520}," npm package.",{"type":45,"tag":53,"props":522,"children":523},{},[524],{"type":50,"value":525},"Temporary databases auto-delete after ~24 hours unless claimed.",{"type":45,"tag":369,"props":527,"children":529},{"id":528},"_2b-persistent-databases-with-the-platform-cli",[530],{"type":50,"value":531},"2b. Persistent databases with the Platform CLI",{"type":45,"tag":53,"props":533,"children":534},{},[535,537,542,544,550],{"type":50,"value":536},"For databases that belong to a Project (not throwaway ",{"type":45,"tag":86,"props":538,"children":540},{"className":539},[],[541],{"type":50,"value":91},{"type":50,"value":543}," databases), use ",{"type":45,"tag":86,"props":545,"children":547},{"className":546},[],[548],{"type":50,"value":549},"@prisma\u002Fcli",{"type":50,"value":551},":",{"type":45,"tag":428,"props":553,"children":555},{"className":430,"code":554,"language":432,"meta":433,"style":433},"npx -y @prisma\u002Fcli@latest database create main --branch main\nnpx -y @prisma\u002Fcli@latest database list --json\nnpx -y @prisma\u002Fcli@latest database connection create db_123\nnpx -y @prisma\u002Fcli@latest database usage db_123\nnpx -y @prisma\u002Fcli@latest database backup list db_123\n",[556],{"type":45,"tag":86,"props":557,"children":558},{"__ignoreMap":433},[559,601,630,663,692],{"type":45,"tag":439,"props":560,"children":561},{"class":441,"line":442},[562,566,571,576,581,586,591,596],{"type":45,"tag":439,"props":563,"children":564},{"style":446},[565],{"type":50,"value":449},{"type":45,"tag":439,"props":567,"children":568},{"style":452},[569],{"type":50,"value":570}," -y",{"type":45,"tag":439,"props":572,"children":573},{"style":452},[574],{"type":50,"value":575}," @prisma\u002Fcli@latest",{"type":45,"tag":439,"props":577,"children":578},{"style":452},[579],{"type":50,"value":580}," database",{"type":45,"tag":439,"props":582,"children":583},{"style":452},[584],{"type":50,"value":585}," create",{"type":45,"tag":439,"props":587,"children":588},{"style":452},[589],{"type":50,"value":590}," main",{"type":45,"tag":439,"props":592,"children":593},{"style":452},[594],{"type":50,"value":595}," --branch",{"type":45,"tag":439,"props":597,"children":598},{"style":452},[599],{"type":50,"value":600}," main\n",{"type":45,"tag":439,"props":602,"children":603},{"class":441,"line":482},[604,608,612,616,620,625],{"type":45,"tag":439,"props":605,"children":606},{"style":446},[607],{"type":50,"value":449},{"type":45,"tag":439,"props":609,"children":610},{"style":452},[611],{"type":50,"value":570},{"type":45,"tag":439,"props":613,"children":614},{"style":452},[615],{"type":50,"value":575},{"type":45,"tag":439,"props":617,"children":618},{"style":452},[619],{"type":50,"value":580},{"type":45,"tag":439,"props":621,"children":622},{"style":452},[623],{"type":50,"value":624}," list",{"type":45,"tag":439,"props":626,"children":627},{"style":452},[628],{"type":50,"value":629}," --json\n",{"type":45,"tag":439,"props":631,"children":632},{"class":441,"line":30},[633,637,641,645,649,654,658],{"type":45,"tag":439,"props":634,"children":635},{"style":446},[636],{"type":50,"value":449},{"type":45,"tag":439,"props":638,"children":639},{"style":452},[640],{"type":50,"value":570},{"type":45,"tag":439,"props":642,"children":643},{"style":452},[644],{"type":50,"value":575},{"type":45,"tag":439,"props":646,"children":647},{"style":452},[648],{"type":50,"value":580},{"type":45,"tag":439,"props":650,"children":651},{"style":452},[652],{"type":50,"value":653}," connection",{"type":45,"tag":439,"props":655,"children":656},{"style":452},[657],{"type":50,"value":585},{"type":45,"tag":439,"props":659,"children":660},{"style":452},[661],{"type":50,"value":662}," db_123\n",{"type":45,"tag":439,"props":664,"children":666},{"class":441,"line":665},4,[667,671,675,679,683,688],{"type":45,"tag":439,"props":668,"children":669},{"style":446},[670],{"type":50,"value":449},{"type":45,"tag":439,"props":672,"children":673},{"style":452},[674],{"type":50,"value":570},{"type":45,"tag":439,"props":676,"children":677},{"style":452},[678],{"type":50,"value":575},{"type":45,"tag":439,"props":680,"children":681},{"style":452},[682],{"type":50,"value":580},{"type":45,"tag":439,"props":684,"children":685},{"style":452},[686],{"type":50,"value":687}," usage",{"type":45,"tag":439,"props":689,"children":690},{"style":452},[691],{"type":50,"value":662},{"type":45,"tag":439,"props":693,"children":695},{"class":441,"line":694},5,[696,700,704,708,712,717,721],{"type":45,"tag":439,"props":697,"children":698},{"style":446},[699],{"type":50,"value":449},{"type":45,"tag":439,"props":701,"children":702},{"style":452},[703],{"type":50,"value":570},{"type":45,"tag":439,"props":705,"children":706},{"style":452},[707],{"type":50,"value":575},{"type":45,"tag":439,"props":709,"children":710},{"style":452},[711],{"type":50,"value":580},{"type":45,"tag":439,"props":713,"children":714},{"style":452},[715],{"type":50,"value":716}," backup",{"type":45,"tag":439,"props":718,"children":719},{"style":452},[720],{"type":50,"value":624},{"type":45,"tag":439,"props":722,"children":723},{"style":452},[724],{"type":50,"value":662},{"type":45,"tag":53,"props":726,"children":727},{},[728,734,736,742,744,750,751,757,759,765],{"type":45,"tag":86,"props":729,"children":731},{"className":730},[],[732],{"type":50,"value":733},"database create",{"type":50,"value":735}," and ",{"type":45,"tag":86,"props":737,"children":739},{"className":738},[],[740],{"type":50,"value":741},"database connection create",{"type":50,"value":743}," print a one-time connection URL; store it immediately. Destructive commands (",{"type":45,"tag":86,"props":745,"children":747},{"className":746},[],[748],{"type":50,"value":749},"remove",{"type":50,"value":302},{"type":45,"tag":86,"props":752,"children":754},{"className":753},[],[755],{"type":50,"value":756},"restore",{"type":50,"value":758},") require exact ",{"type":45,"tag":86,"props":760,"children":762},{"className":761},[],[763],{"type":50,"value":764},"--confirm \u003Cid>",{"type":50,"value":766},".",{"type":45,"tag":369,"props":768,"children":770},{"id":769},"_3-link-an-existing-local-project",[771],{"type":50,"value":772},"3. Link an existing local project",{"type":45,"tag":53,"props":774,"children":775},{},[776,777,782],{"type":50,"value":419},{"type":45,"tag":86,"props":778,"children":780},{"className":779},[],[781],{"type":50,"value":102},{"type":50,"value":783}," when the database already exists and you want to wire a local project to it:",{"type":45,"tag":428,"props":785,"children":787},{"className":430,"code":786,"language":432,"meta":433,"style":433},"prisma postgres link\n",[788],{"type":45,"tag":86,"props":789,"children":790},{"__ignoreMap":433},[791],{"type":45,"tag":439,"props":792,"children":793},{"class":441,"line":442},[794,798,803],{"type":45,"tag":439,"props":795,"children":796},{"style":446},[797],{"type":50,"value":8},{"type":45,"tag":439,"props":799,"children":800},{"style":452},[801],{"type":50,"value":802}," postgres",{"type":45,"tag":439,"props":804,"children":805},{"style":452},[806],{"type":50,"value":807}," link\n",{"type":45,"tag":53,"props":809,"children":810},{},[811],{"type":50,"value":812},"For CI or other non-interactive environments:",{"type":45,"tag":428,"props":814,"children":816},{"className":430,"code":815,"language":432,"meta":433,"style":433},"prisma postgres link --api-key \"\u003Cyour-api-key>\" --database \"db_...\"\n",[817],{"type":45,"tag":86,"props":818,"children":819},{"__ignoreMap":433},[820],{"type":45,"tag":439,"props":821,"children":822},{"class":441,"line":442},[823,827,831,836,841,847,852,857,862,866,871],{"type":45,"tag":439,"props":824,"children":825},{"style":446},[826],{"type":50,"value":8},{"type":45,"tag":439,"props":828,"children":829},{"style":452},[830],{"type":50,"value":802},{"type":45,"tag":439,"props":832,"children":833},{"style":452},[834],{"type":50,"value":835}," link",{"type":45,"tag":439,"props":837,"children":838},{"style":452},[839],{"type":50,"value":840}," --api-key",{"type":45,"tag":439,"props":842,"children":844},{"style":843},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[845],{"type":50,"value":846}," \"",{"type":45,"tag":439,"props":848,"children":849},{"style":452},[850],{"type":50,"value":851},"\u003Cyour-api-key>",{"type":45,"tag":439,"props":853,"children":854},{"style":843},[855],{"type":50,"value":856},"\"",{"type":45,"tag":439,"props":858,"children":859},{"style":452},[860],{"type":50,"value":861}," --database",{"type":45,"tag":439,"props":863,"children":864},{"style":843},[865],{"type":50,"value":846},{"type":45,"tag":439,"props":867,"children":868},{"style":452},[869],{"type":50,"value":870},"db_...",{"type":45,"tag":439,"props":872,"children":873},{"style":843},[874],{"type":50,"value":875},"\"\n",{"type":45,"tag":53,"props":877,"children":878},{},[879,881,887,889,895,897,903,904,910],{"type":50,"value":880},"This flow updates your local ",{"type":45,"tag":86,"props":882,"children":884},{"className":883},[],[885],{"type":50,"value":886},".env",{"type":50,"value":888}," with ",{"type":45,"tag":86,"props":890,"children":892},{"className":891},[],[893],{"type":50,"value":894},"DATABASE_URL",{"type":50,"value":896},", then you can run ",{"type":45,"tag":86,"props":898,"children":900},{"className":899},[],[901],{"type":50,"value":902},"prisma generate",{"type":50,"value":735},{"type":45,"tag":86,"props":905,"children":907},{"className":906},[],[908],{"type":50,"value":909},"prisma migrate dev",{"type":50,"value":766},{"type":45,"tag":369,"props":912,"children":914},{"id":913},"_4-programmatic-provisioning-with-management-api",[915],{"type":50,"value":916},"4. Programmatic provisioning with Management API",{"type":45,"tag":53,"props":918,"children":919},{},[920],{"type":50,"value":921},"Use API endpoints on:",{"type":45,"tag":428,"props":923,"children":927},{"className":924,"code":926,"language":50,"meta":433},[925],"language-text","https:\u002F\u002Fapi.prisma.io\u002Fv1\n",[928],{"type":45,"tag":86,"props":929,"children":930},{"__ignoreMap":433},[931],{"type":50,"value":926},{"type":45,"tag":53,"props":933,"children":934},{},[935],{"type":50,"value":936},"Explore the schema and endpoints using:",{"type":45,"tag":71,"props":938,"children":939},{},[940,951],{"type":45,"tag":75,"props":941,"children":942},{},[943,945],{"type":50,"value":944},"OpenAPI docs: ",{"type":45,"tag":86,"props":946,"children":948},{"className":947},[],[949],{"type":50,"value":950},"https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fdoc",{"type":45,"tag":75,"props":952,"children":953},{},[954,956],{"type":50,"value":955},"Swagger Editor: ",{"type":45,"tag":86,"props":957,"children":959},{"className":958},[],[960],{"type":50,"value":961},"https:\u002F\u002Fapi.prisma.io\u002Fv1\u002Fswagger-editor",{"type":45,"tag":53,"props":963,"children":964},{},[965],{"type":50,"value":966},"Auth options:",{"type":45,"tag":71,"props":968,"children":969},{},[970,975],{"type":45,"tag":75,"props":971,"children":972},{},[973],{"type":50,"value":974},"Service token (workspace server-to-server)",{"type":45,"tag":75,"props":976,"children":977},{},[978],{"type":50,"value":979},"OAuth 2.0 (act on behalf of users)",{"type":45,"tag":369,"props":981,"children":983},{"id":982},"_5-type-safe-integration-with-management-api-sdk",[984],{"type":50,"value":985},"5. Type-safe integration with Management API SDK",{"type":45,"tag":53,"props":987,"children":988},{},[989],{"type":50,"value":990},"Install and use:",{"type":45,"tag":428,"props":992,"children":994},{"className":430,"code":993,"language":432,"meta":433,"style":433},"npm install @prisma\u002Fmanagement-api-sdk\n",[995],{"type":45,"tag":86,"props":996,"children":997},{"__ignoreMap":433},[998],{"type":45,"tag":439,"props":999,"children":1000},{"class":441,"line":442},[1001,1006,1011],{"type":45,"tag":439,"props":1002,"children":1003},{"style":446},[1004],{"type":50,"value":1005},"npm",{"type":45,"tag":439,"props":1007,"children":1008},{"style":452},[1009],{"type":50,"value":1010}," install",{"type":45,"tag":439,"props":1012,"children":1013},{"style":452},[1014],{"type":50,"value":1015}," @prisma\u002Fmanagement-api-sdk\n",{"type":45,"tag":53,"props":1017,"children":1018},{},[1019,1020,1026,1028,1034],{"type":50,"value":419},{"type":45,"tag":86,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":50,"value":1025},"createManagementApiClient",{"type":50,"value":1027}," for existing tokens, or ",{"type":45,"tag":86,"props":1029,"children":1031},{"className":1030},[],[1032],{"type":50,"value":1033},"createManagementApiSdk",{"type":50,"value":1035}," for OAuth + token refresh.",{"type":45,"tag":59,"props":1037,"children":1039},{"id":1038},"rule-files",[1040],{"type":50,"value":1041},"Rule Files",{"type":45,"tag":53,"props":1043,"children":1044},{},[1045],{"type":50,"value":1046},"Detailed guidance lives in:",{"type":45,"tag":428,"props":1048,"children":1051},{"className":1049,"code":1050,"language":50},[925],"references\u002Fconsole-and-connections.md\nreferences\u002Fcreate-db-cli.md\nreferences\u002Fmanagement-api.md\nreferences\u002Fmanagement-api-sdk.md\n",[1052],{"type":45,"tag":86,"props":1053,"children":1054},{"__ignoreMap":433},[1055],{"type":50,"value":1050},{"type":45,"tag":59,"props":1057,"children":1059},{"id":1058},"how-to-use",[1060],{"type":50,"value":1061},"How to Use",{"type":45,"tag":53,"props":1063,"children":1064},{},[1065,1067,1073,1075,1081,1083,1089],{"type":50,"value":1066},"Start with ",{"type":45,"tag":86,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":50,"value":1072},"references\u002Fcreate-db-cli.md",{"type":50,"value":1074}," for fast setup, then switch to ",{"type":45,"tag":86,"props":1076,"children":1078},{"className":1077},[],[1079],{"type":50,"value":1080},"references\u002Fmanagement-api.md",{"type":50,"value":1082}," or ",{"type":45,"tag":86,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":50,"value":1088},"references\u002Fmanagement-api-sdk.md",{"type":50,"value":1090}," when you need programmatic provisioning.",{"type":45,"tag":1092,"props":1093,"children":1094},"style",{},[1095],{"type":50,"value":1096},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1098,"total":1196},[1099,1115,1131,1146,1160,1174,1188],{"slug":1100,"name":1100,"fn":1101,"description":1102,"org":1103,"tags":1104,"stars":26,"repoUrl":27,"updatedAt":1114},"prisma-cli","run Prisma CLI commands","Prisma ORM CLI commands reference covering init, generate, migrate, db, dev, studio, validate, format, debug, and mcp. Use for ORM\u002Fdatabase CLI workflows, not Prisma Compute app deployment. For Prisma Compute, `@prisma\u002Fcli app deploy`, `compute:deploy`, `create-prisma --deploy`, apps, deployments, logs, or domains, use the `prisma-compute` skill instead. Triggers on \"prisma init\", \"prisma generate\", \"prisma migrate\", \"prisma db\", \"prisma studio\", \"prisma mcp\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1105,1106,1107,1110,1113],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":1108,"slug":1109,"type":15},"Migration","migration",{"name":1111,"slug":1112,"type":15},"ORM","orm",{"name":9,"slug":8,"type":15},"2026-04-06T18:48:29.140467",{"slug":1116,"name":1116,"fn":1117,"description":1118,"org":1119,"tags":1120,"stars":26,"repoUrl":27,"updatedAt":1130},"prisma-client-api","write database queries with Prisma Client","Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on \"prisma query\", \"findMany\", \"create\", \"update\", \"delete\", \"$transaction\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1121,1124,1125,1126,1127],{"name":1122,"slug":1123,"type":15},"API Development","api-development",{"name":17,"slug":18,"type":15},{"name":1111,"slug":1112,"type":15},{"name":9,"slug":8,"type":15},{"name":1128,"slug":1129,"type":15},"TypeScript","typescript","2026-04-06T18:48:31.666695",{"slug":1132,"name":1132,"fn":1133,"description":1134,"org":1135,"tags":1136,"stars":26,"repoUrl":27,"updatedAt":1145},"prisma-compute","deploy and host Prisma applications","Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma\u002Fcli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, `auth workspace`, Compute apps\u002Fdeployments\u002Fbuild logs\u002Fdomains, `@prisma\u002Fcli agent install`, `@prisma\u002Fcli feedback`, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom\u002Fprebuilt artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1137,1140,1141,1142],{"name":1138,"slug":1139,"type":15},"Deployment","deployment",{"name":1111,"slug":1112,"type":15},{"name":9,"slug":8,"type":15},{"name":1143,"slug":1144,"type":15},"Serverless","serverless","2026-07-17T05:31:53.370495",{"slug":1147,"name":1147,"fn":1148,"description":1149,"org":1150,"tags":1151,"stars":26,"repoUrl":27,"updatedAt":1159},"prisma-database-setup","configure Prisma with database providers","Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Use when setting up a new project, changing databases, or troubleshooting connection issues. Triggers on \"configure postgres\", \"connect to mysql\", \"setup mongodb\", \"sqlite setup\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1152,1153,1156,1157,1158],{"name":17,"slug":18,"type":15},{"name":1154,"slug":1155,"type":15},"MySQL","mysql",{"name":1111,"slug":1112,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:48:34.192852",{"slug":1161,"name":1161,"fn":1162,"description":1163,"org":1164,"tags":1165,"stars":26,"repoUrl":27,"updatedAt":1173},"prisma-driver-adapter-implementation","implement Prisma driver adapters","Required reference for Prisma v7 driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter\u002FTransaction interfaces. Contains critical contract details not inferable from code examples — including the transaction lifecycle protocol, error mapping requirements, and verification checklist. Existing implementations do not replace this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1166,1167,1170,1171,1172],{"name":17,"slug":18,"type":15},{"name":1168,"slug":1169,"type":15},"Engineering","engineering",{"name":1111,"slug":1112,"type":15},{"name":9,"slug":8,"type":15},{"name":1128,"slug":1129,"type":15},"2026-04-06T18:48:35.478693",{"slug":1175,"name":1175,"fn":1176,"description":1177,"org":1178,"tags":1179,"stars":26,"repoUrl":27,"updatedAt":1187},"prisma-mongodb-upgrade","migrate Prisma MongoDB projects to v6","Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when \"upgrade to prisma 7\" comes up in a project with provider = \"mongodb\", or when evaluating a move to Prisma Next. Triggers on \"upgrade prisma mongodb\", \"prisma 7 mongodb\", \"mongodb prisma migration\", \"prisma next mongodb\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1180,1181,1182,1185,1186],{"name":17,"slug":18,"type":15},{"name":1108,"slug":1109,"type":15},{"name":1183,"slug":1184,"type":15},"MongoDB","mongodb",{"name":1111,"slug":1112,"type":15},{"name":9,"slug":8,"type":15},"2026-07-11T05:35:03.668013",{"slug":4,"name":4,"fn":5,"description":6,"org":1189,"tags":1190,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1191,1192,1193,1194,1195],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},9,{"items":1198,"total":1354},[1199,1214,1227,1240,1253,1267,1283,1294,1308,1319,1330,1346],{"slug":1200,"name":1200,"fn":1201,"description":1202,"org":1203,"tags":1204,"stars":1211,"repoUrl":1212,"updatedAt":1213},"prisma-next","guide Prisma Next project setup and usage","Route a vague Prisma Next prompt to the right specific skill. Use for \"help me with Prisma Next\", \"what is Prisma Next\", \"explain Prisma Next\", \"I'm new to PN\", \"where do I start\", \"what can I do with Prisma Next\", \"what can I do next with Prisma\", \"just ran createprisma\", \"tour of Prisma Next\", \"Prisma Next overview\", and comparison questions like \"Prisma Next vs Prisma 7\", \"PN vs Drizzle\", \"PN vs Kysely\", \"PN vs TypeORM\". Do NOT use when the prompt clearly matches a workflow skill — adoption \u002F quickstart \u002F first-touch orientation \u002F brownfield introspection, schema \u002F contract editing, migration authoring (db update \u002F migration plan \u002F migrate), migration review on deploy \u002F concurrent migrations, queries \u002F db.orm \u002F db.sql \u002F TypedSQL, Supabase \u002F RLS \u002F role binding, runtime \u002F db.ts \u002F middleware wiring, build \u002F Vite plugin \u002F Next.js plugin, debug \u002F structured error envelopes \u002F PN-* error codes, or feedback \u002F bug report \u002F feature request — load that sibling skill directly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1205,1206,1209,1210],{"name":17,"slug":18,"type":15},{"name":1207,"slug":1208,"type":15},"Next.js","next-js",{"name":9,"slug":8,"type":15},{"name":1128,"slug":1129,"type":15},415,"https:\u002F\u002Fgithub.com\u002Fprisma\u002Fprisma-next","2026-07-17T05:32:04.322957",{"slug":1215,"name":1215,"fn":1216,"description":1217,"org":1218,"tags":1219,"stars":1211,"repoUrl":1212,"updatedAt":1226},"prisma-next-build","integrate Prisma Next into build systems","Wire Prisma Next into the project's build system with the right build-tool plugin — Vite today via @prisma-next\u002Fvite-plugin-contract-emit (Vite 7 \u002F 8); Next.js \u002F Webpack \u002F esbuild \u002F Rollup \u002F Turbopack are named as gaps rather than fabricated. Always offers the Vite plugin proactively when the project is using Vite. Use for vite plugin, vite-plugin, vite.config.ts, prismaVitePlugin, contract emit on save, HMR, hot reload contract, dev server, Next.js plugin, next plugin, withPrismaNext, webpack plugin, esbuild plugin, rollup plugin, build integration, dev server plugin, vite 7, vite 8.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1220,1221,1222,1223],{"name":1138,"slug":1139,"type":15},{"name":1207,"slug":1208,"type":15},{"name":9,"slug":8,"type":15},{"name":1224,"slug":1225,"type":15},"Vite","vite","2026-07-02T07:31:36.108254",{"slug":1228,"name":1228,"fn":1229,"description":1230,"org":1231,"tags":1232,"stars":1211,"repoUrl":1212,"updatedAt":1239},"prisma-next-contract","edit Prisma Next data contracts and models","Edit the Prisma Next data contract — add models, fields, relations, indexes, enums, value objects (composite types), type aliases, namespaces (Postgres schemas), cross-contract foreign keys (cross-space FK), polymorphic types (`@@discriminator` \u002F `@@base`), use extension namespaces (`pgvector.Vector(...)`, `cipherstash.EncryptedString(...)`), wire `prisma-next.config.ts` with `defineConfig` from the `@prisma-next\u002F\u003Ctarget>\u002Fconfig` façade, and run `prisma-next contract emit`. Use for schema, models, fields, attributes, soft delete, paranoid, scopes, validations, callbacks, prisma schema, PSL, contract.prisma, contract.ts, contract.json, contract.d.ts, `@prisma-next\u002Fpostgres\u002Fconfig`, `@prisma-next\u002Fpostgres\u002Fcontract-builder`, `@prisma-next\u002Fpostgres\u002Fcontrol`, `@prisma-next\u002Fmongo\u002Fconfig`, `@prisma-next\u002Fmongo\u002Fcontract-builder`, `extensions:`, pgvector, cipherstash, postgis, paradedb, supabase, `@prisma-next\u002Fextension-supabase`, `@@control`, control policy, managed, tolerated, external, observed.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1233,1236,1237,1238],{"name":1234,"slug":1235,"type":15},"Data Modeling","data-modeling",{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},{"name":1128,"slug":1129,"type":15},"2026-07-30T05:30:10.426962",{"slug":1241,"name":1241,"fn":1242,"description":1243,"org":1244,"tags":1245,"stars":1211,"repoUrl":1212,"updatedAt":1252},"prisma-next-debug","debug and recover from Prisma Next errors","Read a Prisma Next structured error envelope and route to the right recovery — code, domain, severity, why, fix, meta. Use for error, exception, my emit failed, my query won't typecheck, my query crashed, my migration won't apply, MIGRATION.HASH_MISMATCH, BUDGET.ROWS_EXCEEDED, BUDGET.TIME_EXCEEDED, RUNTIME.ABORTED, PLAN.HASH_MISMATCH, CONTRACT.MARKER_MISSING, PN-RUN-3001, PN-RUN-3002, PN-RUN-3030, PN-MIG-2001, PN-CLI-4011, PN-SCHEMA-0001, drift, capability missing, planner conflict, prisma studio, EXPLAIN, query log, db.end, db.close, script won't exit, hangs, close connection, pool.end, client is closed.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1246,1247,1250,1251],{"name":17,"slug":18,"type":15},{"name":1248,"slug":1249,"type":15},"Debugging","debugging",{"name":1207,"slug":1208,"type":15},{"name":9,"slug":8,"type":15},"2026-07-24T05:37:10.436314",{"slug":1254,"name":1254,"fn":1255,"description":1256,"org":1257,"tags":1258,"stars":1211,"repoUrl":1212,"updatedAt":1266},"prisma-next-feedback","report Prisma Next issues and feedback","Hand a Prisma Next question or report off to the team — file a GitHub issue (bug or feature request), or route Q&A \u002F design discussion \u002F direct-team-contact to the Prisma Discord at pris.ly\u002Fdiscord. Use for bug, bug report, file an issue, report a bug, feature request, missing feature, this should be a feature, file this, this is a bug, this is broken, surprising behaviour, this doesn't work, file feedback, send feedback, capability gap, file via prisma-next-feedback, ask the team, talk to the team, talk to the Prisma team, talk to Prisma, Discord, Prisma Discord, Q&A, design feedback, is this the intended way, how should I do X, extension author question, extension author needs help.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1259,1262,1265],{"name":1260,"slug":1261,"type":15},"Documentation","documentation",{"name":1263,"slug":1264,"type":15},"GitHub","github",{"name":9,"slug":8,"type":15},"2026-07-02T07:31:34.870809",{"slug":1268,"name":1268,"fn":1269,"description":1270,"org":1271,"tags":1272,"stars":1211,"repoUrl":1212,"updatedAt":1282},"prisma-next-migration-review","review and resolve Prisma Next migrations","Review what Prisma Next migrations will run on merge or deploy, render the migration graph, resolve concurrent \u002F diamond-convergence conflicts, and configure environment refs for CI. Use for \"what migrations are going to run\", \"what runs on deploy\", merge conflict, diamond convergence, concurrent migrations, migration status, ref management, staging, production, MIGRATION.DIVERGED, MIGRATION.NO_MARKER, MIGRATION.MARKER_NOT_IN_HISTORY, prisma migrate status, prisma migrate diff, prisma migrate resolve.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1273,1276,1279,1280,1281],{"name":1274,"slug":1275,"type":15},"CI\u002FCD","ci-cd",{"name":1277,"slug":1278,"type":15},"Code Review","code-review",{"name":17,"slug":18,"type":15},{"name":1108,"slug":1109,"type":15},{"name":9,"slug":8,"type":15},"2026-07-24T05:37:11.422323",{"slug":1284,"name":1284,"fn":1285,"description":1286,"org":1287,"tags":1288,"stars":1211,"repoUrl":1212,"updatedAt":1293},"prisma-next-migrations","author and manage Prisma Next migrations","Author Prisma Next migrations — choose db update vs migration plan, edit the framework-rendered migration.ts (replace placeholder sentinels with dataTransform closures), recover from MIGRATION.HASH_MISMATCH or PN-MIG-2001 unfilled placeholder. Use for prisma migrate dev, prisma migrate deploy, prisma db push, db update, db update --dry-run, migration plan, migrate, migration new, migration show, db verify, db sign, data migration, this.dataTransform, dataTransform, placeholder, generated migration.ts, edit migration.ts, MIGRATION.HASH_MISMATCH, schema drift.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1289,1290,1291,1292],{"name":17,"slug":18,"type":15},{"name":1108,"slug":1109,"type":15},{"name":9,"slug":8,"type":15},{"name":1128,"slug":1129,"type":15},"2026-07-24T05:37:13.469138",{"slug":1295,"name":1295,"fn":1296,"description":1297,"org":1298,"tags":1299,"stars":1211,"repoUrl":1212,"updatedAt":1307},"prisma-next-queries","write Prisma Next queries for database operations","Write Prisma Next queries for Postgres, SQLite, or Mongo — pick a lane (Postgres\u002FSQLite `db.orm.\u003CModel>` + `db.sql.\u003Ctable>`; Mongo `db.orm.\u003Croot>` + `db.query.from(...)` pipeline builder), filter \u002F project \u002F sort \u002F paginate, eager-load with `.include(...)`, Postgres\u002FSQLite `db.transaction(...)`, Postgres\u002FSQLite ORM `.aggregate(...)`, Mongo aggregations via query builder, namespace-aware accessors (`db.orm.\u003Cns>.\u003CModel>`, `db.sql.\u003Cns>.\u003Ctable>`). Triggers: query, where, match, select, project, orderBy, take, skip, include, lookup, first, all, count, aggregate, group, create, update, delete, upsert, returning, transaction, db.close, script teardown, variant, polymorphism, drizzle-style, kysely-style. Notes: `.all()` is a Thenable (just `await` it), iterators are single-use (`RUNTIME.ITERATOR_CONSUMED`), Postgres `count` is `number` while sum\u002Favg\u002Fmin\u002Fmax are `number | null`, ranges use chained `.where()` or `and(...)` (no `.between(...)`).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1300,1301,1302,1303,1304],{"name":17,"slug":18,"type":15},{"name":1207,"slug":1208,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":1305,"slug":1306,"type":15},"SQL","sql","2026-07-17T05:32:03.35373",{"slug":1309,"name":1309,"fn":1310,"description":1311,"org":1312,"tags":1313,"stars":1211,"repoUrl":1212,"updatedAt":1318},"prisma-next-quickstart","adopt Prisma Next in projects","Adopt Prisma Next into a new project, onto an existing database, or as the first move after a bootstrap tool dropped you into a scaffold. Use for \"what can I do with Prisma Next\", \"what can I do next with Prisma\", \"where do I start\", \"what should I do first\", \"just ran createprisma\", \"createprisma\", \"npx createprisma\", \"npx create-prisma\", \"first steps\", \"first query\", \"I have a scaffolded Prisma Next project what now\"; for `pnpm dlx prisma-next init` greenfield setup; and for `prisma-next contract infer` + `db sign` against an existing database. Also covers the connect-write-read first-arc orientation, the day-to-day commands (`contract emit`, `db init`, `db update`, `migration plan`, `migrate`, `db schema`, `db verify`), and routing to `prisma-next-contract` \u002F `prisma-next-queries` \u002F `prisma-next-runtime` for the next move. Flags: --target, --authoring, --schema-path, --probe-db, --output.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1314,1315,1316,1317],{"name":17,"slug":18,"type":15},{"name":1111,"slug":1112,"type":15},{"name":9,"slug":8,"type":15},{"name":1128,"slug":1129,"type":15},"2026-07-24T05:37:12.462072",{"slug":1320,"name":1320,"fn":1321,"description":1322,"org":1323,"tags":1324,"stars":1211,"repoUrl":1212,"updatedAt":1329},"prisma-next-runtime","configure Prisma Next runtime and database connections","Wire the Prisma Next runtime — `db.ts` setup using `postgres\u003CContract>(...)` from `@prisma-next\u002Fpostgres\u002Fruntime`, `sqlite\u003CContract>(...)` from `@prisma-next\u002Fsqlite\u002Fruntime`, or `mongo\u003CContract>(...)` from `@prisma-next\u002Fmongo\u002Fruntime`; middleware composition (telemetry from `@prisma-next\u002Fmiddleware-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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1325,1326,1327,1328],{"name":17,"slug":18,"type":15},{"name":1207,"slug":1208,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T05:32:05.347316",{"slug":1331,"name":1331,"fn":1332,"description":1333,"org":1334,"tags":1335,"stars":1211,"repoUrl":1212,"updatedAt":1345},"prisma-next-supabase","integrate Prisma with Supabase","Use Prisma Next with a Supabase project via `@prisma-next\u002Fextension-supabase` — wire `extensions: [supabasePack]`, declare cross-space FKs to `supabase:auth.AuthUser`, author RLS policies (`policy_select` \u002F `policy_update` \u002F `@@rls`, `auth.uid()` predicates), build `db.ts` with the `supabase()` factory, bind roles per request (`asUser(jwt)` \u002F `asAnon()` \u002F `asServiceRole()`), query `auth.*` \u002F `storage.*` via the `db.asServiceRole().supabase` admin root, and validate JWTs (`jwksUrl` for current projects \u002F `jwtSecret` for legacy HS256). Use for supabase, RLS, row level security, policy, role binding, anon, authenticated, service_role, auth.users, auth.uid(), JWT, JWKS, SUPABASE_JWKS_URL, SUPABASE_JWT_SECRET, SUPABASE.JWT_INVALID, SUPABASE.CONFIG_INVALID, RoleBoundDb, session pooler, supabase:auth.AuthUser, @prisma-next\u002Fextension-supabase.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1336,1339,1340,1341,1342],{"name":1337,"slug":1338,"type":15},"Auth","auth",{"name":1111,"slug":1112,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":1343,"slug":1344,"type":15},"Supabase","supabase","2026-07-30T05:30:11.065251",{"slug":1100,"name":1100,"fn":1101,"description":1102,"org":1347,"tags":1348,"stars":26,"repoUrl":27,"updatedAt":1114},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1349,1350,1351,1352,1353],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":1108,"slug":1109,"type":15},{"name":1111,"slug":1112,"type":15},{"name":9,"slug":8,"type":15},21]