[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-neon-neon-serverless":3,"mdc-qukzo5-key":37,"related-repo-neon-neon-serverless":789,"related-org-neon-neon-serverless":863},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":27,"repoUrl":28,"updatedAt":29,"license":30,"forks":31,"topics":32,"repo":33,"sourceUrl":35,"mdContent":36},"neon-serverless","configure Neon serverless driver","Configures Neon Serverless Driver for Next.js, Vercel Edge Functions, AWS Lambda, and other serverless environments. Installs @neondatabase\u002Fserverless, sets up environment variables, and creates working API route examples with TypeScript types. Use when users need to connect their application to Neon, fetch or query data from a Neon database, integrate Neon with Next.js or serverless frameworks, or set up database access in edge\u002Fserverless environments where traditional PostgreSQL clients don't work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"neon","Neon","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fneon.png","neondatabase",[13,15,18,21,24],{"name":9,"slug":8,"type":14},"tag",{"name":16,"slug":17,"type":14},"Database","database",{"name":19,"slug":20,"type":14},"PostgreSQL","postgresql",{"name":22,"slug":23,"type":14},"Serverless","serverless",{"name":25,"slug":26,"type":14},"Edge Functions","edge-functions",86,"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fai-rules","2026-04-06T18:38:54.97085",null,12,[],{"repoUrl":28,"stars":27,"forks":31,"topics":34,"description":30},[],"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fai-rules\u002Ftree\u002FHEAD\u002Fneon-plugin\u002Fskills\u002Fneon-serverless","---\nname: neon-serverless\ndescription: Configures Neon Serverless Driver for Next.js, Vercel Edge Functions, AWS Lambda, and other serverless environments. Installs @neondatabase\u002Fserverless, sets up environment variables, and creates working API route examples with TypeScript types. Use when users need to connect their application to Neon, fetch or query data from a Neon database, integrate Neon with Next.js or serverless frameworks, or set up database access in edge\u002Fserverless environments where traditional PostgreSQL clients don't work.\nallowed-tools: [\"bash\"]\n---\n\n# Neon Serverless Skill\n\nConfigures the Neon Serverless Driver for optimal performance in serverless and edge computing environments.\n\n## When to Use\n\n- Setting up connections for edge functions (Vercel Edge, Cloudflare Workers)\n- Configuring serverless APIs (AWS Lambda, Google Cloud Functions)\n- Optimizing for low-latency database access\n- Implementing connection pooling for high-throughput apps\n\n**Not recommended for:** Complex multi-statement transactions (use WebSocket Pool), persistent servers (use native PostgreSQL drivers), or offline-first applications.\n\n## Code Generation Rules\n\nWhen generating TypeScript\u002FJavaScript code:\n- BEFORE generating import statements, check tsconfig.json for path aliases (compilerOptions.paths)\n- If path aliases exist (e.g., \"@\u002F*\": [\".\u002Fsrc\u002F*\"]), use them (e.g., import { x } from '@\u002Flib\u002Futils')\n- If NO path aliases exist or unsure, ALWAYS use relative imports (e.g., import { x } from '..\u002F..\u002F..\u002Flib\u002Futils')\n- Verify imports match the project's configuration\n- Default to relative imports - they always work regardless of configuration\n\n## Reference Documentation\n\n**Primary Resource:** See `[neon-serverless.mdc](https:\u002F\u002Fraw.githubusercontent.com\u002Fneondatabase-labs\u002Fai-rules\u002Fmain\u002Fneon-serverless.mdc)` in project root for comprehensive guidelines including:\n- Installation and compatibility requirements\n- HTTP vs WebSocket adapter selection\n- Connection pooling strategies\n- Query optimization patterns\n- Error handling and troubleshooting\n\n## Quick Setup\n\n### Installation\n```bash\nnpm install @neondatabase\u002Fserverless\n```\n\n### Connection Patterns\n\n**HTTP Client** (recommended for edge\u002Fserverless):\n```typescript\nimport { neon } from '@neondatabase\u002Fserverless';\nconst sql = neon(process.env.DATABASE_URL!);\nconst rows = await sql`SELECT * FROM users WHERE id = ${userId}`;\n```\n\n**WebSocket Pool** (for Node.js long-lived connections):\n```typescript\nimport { Pool } from '@neondatabase\u002Fserverless';\nconst pool = new Pool({ connectionString: process.env.DATABASE_URL! });\nconst result = await pool.query('SELECT * FROM users WHERE id = $1', [userId]);\n```\n\nSee `templates\u002F` for complete examples:\n- `templates\u002Fhttp-connection.ts` - HTTP client setup\n- `templates\u002Fwebsocket-pool.ts` - WebSocket pool configuration\n\n## Validation\n\nUse `scripts\u002Fvalidate-connection.ts` to test your database connection before deployment.\n\n## Related Skills\n\n- **neon-auth** - Add authentication\n- **neon-js** - Full SDK with auth + data API\n- **neon-drizzle** - For ORM with serverless connections\n- **neon-toolkit** - For ephemeral database testing\n\n---\n\n**Want best practices in your project?** Run `neon-plugin:add-neon-docs` with parameter `SKILL_NAME=\"neon-serverless\"` to add reference links.\n",{"data":38,"body":41},{"name":4,"description":6,"allowed-tools":39},[40],"bash",{"type":42,"children":43},"root",[44,53,59,66,91,102,108,113,149,155,174,202,208,215,247,253,263,442,452,647,660,685,691,704,710,753,757,783],{"type":45,"tag":46,"props":47,"children":49},"element","h1",{"id":48},"neon-serverless-skill",[50],{"type":51,"value":52},"text","Neon Serverless Skill",{"type":45,"tag":54,"props":55,"children":56},"p",{},[57],{"type":51,"value":58},"Configures the Neon Serverless Driver for optimal performance in serverless and edge computing environments.",{"type":45,"tag":60,"props":61,"children":63},"h2",{"id":62},"when-to-use",[64],{"type":51,"value":65},"When to Use",{"type":45,"tag":67,"props":68,"children":69},"ul",{},[70,76,81,86],{"type":45,"tag":71,"props":72,"children":73},"li",{},[74],{"type":51,"value":75},"Setting up connections for edge functions (Vercel Edge, Cloudflare Workers)",{"type":45,"tag":71,"props":77,"children":78},{},[79],{"type":51,"value":80},"Configuring serverless APIs (AWS Lambda, Google Cloud Functions)",{"type":45,"tag":71,"props":82,"children":83},{},[84],{"type":51,"value":85},"Optimizing for low-latency database access",{"type":45,"tag":71,"props":87,"children":88},{},[89],{"type":51,"value":90},"Implementing connection pooling for high-throughput apps",{"type":45,"tag":54,"props":92,"children":93},{},[94,100],{"type":45,"tag":95,"props":96,"children":97},"strong",{},[98],{"type":51,"value":99},"Not recommended for:",{"type":51,"value":101}," Complex multi-statement transactions (use WebSocket Pool), persistent servers (use native PostgreSQL drivers), or offline-first applications.",{"type":45,"tag":60,"props":103,"children":105},{"id":104},"code-generation-rules",[106],{"type":51,"value":107},"Code Generation Rules",{"type":45,"tag":54,"props":109,"children":110},{},[111],{"type":51,"value":112},"When generating TypeScript\u002FJavaScript code:",{"type":45,"tag":67,"props":114,"children":115},{},[116,121,134,139,144],{"type":45,"tag":71,"props":117,"children":118},{},[119],{"type":51,"value":120},"BEFORE generating import statements, check tsconfig.json for path aliases (compilerOptions.paths)",{"type":45,"tag":71,"props":122,"children":123},{},[124,126,132],{"type":51,"value":125},"If path aliases exist (e.g., \"@\u002F*\": ",{"type":45,"tag":127,"props":128,"children":129},"span",{},[130],{"type":51,"value":131},"\".\u002Fsrc\u002F*\"",{"type":51,"value":133},"), use them (e.g., import { x } from '@\u002Flib\u002Futils')",{"type":45,"tag":71,"props":135,"children":136},{},[137],{"type":51,"value":138},"If NO path aliases exist or unsure, ALWAYS use relative imports (e.g., import { x } from '..\u002F..\u002F..\u002Flib\u002Futils')",{"type":45,"tag":71,"props":140,"children":141},{},[142],{"type":51,"value":143},"Verify imports match the project's configuration",{"type":45,"tag":71,"props":145,"children":146},{},[147],{"type":51,"value":148},"Default to relative imports - they always work regardless of configuration",{"type":45,"tag":60,"props":150,"children":152},{"id":151},"reference-documentation",[153],{"type":51,"value":154},"Reference Documentation",{"type":45,"tag":54,"props":156,"children":157},{},[158,163,165,172],{"type":45,"tag":95,"props":159,"children":160},{},[161],{"type":51,"value":162},"Primary Resource:",{"type":51,"value":164}," See ",{"type":45,"tag":166,"props":167,"children":169},"code",{"className":168},[],[170],{"type":51,"value":171},"[neon-serverless.mdc](https:\u002F\u002Fraw.githubusercontent.com\u002Fneondatabase-labs\u002Fai-rules\u002Fmain\u002Fneon-serverless.mdc)",{"type":51,"value":173}," in project root for comprehensive guidelines including:",{"type":45,"tag":67,"props":175,"children":176},{},[177,182,187,192,197],{"type":45,"tag":71,"props":178,"children":179},{},[180],{"type":51,"value":181},"Installation and compatibility requirements",{"type":45,"tag":71,"props":183,"children":184},{},[185],{"type":51,"value":186},"HTTP vs WebSocket adapter selection",{"type":45,"tag":71,"props":188,"children":189},{},[190],{"type":51,"value":191},"Connection pooling strategies",{"type":45,"tag":71,"props":193,"children":194},{},[195],{"type":51,"value":196},"Query optimization patterns",{"type":45,"tag":71,"props":198,"children":199},{},[200],{"type":51,"value":201},"Error handling and troubleshooting",{"type":45,"tag":60,"props":203,"children":205},{"id":204},"quick-setup",[206],{"type":51,"value":207},"Quick Setup",{"type":45,"tag":209,"props":210,"children":212},"h3",{"id":211},"installation",[213],{"type":51,"value":214},"Installation",{"type":45,"tag":216,"props":217,"children":221},"pre",{"className":218,"code":219,"language":40,"meta":220,"style":220},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @neondatabase\u002Fserverless\n","",[222],{"type":45,"tag":166,"props":223,"children":224},{"__ignoreMap":220},[225],{"type":45,"tag":127,"props":226,"children":229},{"class":227,"line":228},"line",1,[230,236,242],{"type":45,"tag":127,"props":231,"children":233},{"style":232},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[234],{"type":51,"value":235},"npm",{"type":45,"tag":127,"props":237,"children":239},{"style":238},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[240],{"type":51,"value":241}," install",{"type":45,"tag":127,"props":243,"children":244},{"style":238},[245],{"type":51,"value":246}," @neondatabase\u002Fserverless\n",{"type":45,"tag":209,"props":248,"children":250},{"id":249},"connection-patterns",[251],{"type":51,"value":252},"Connection Patterns",{"type":45,"tag":54,"props":254,"children":255},{},[256,261],{"type":45,"tag":95,"props":257,"children":258},{},[259],{"type":51,"value":260},"HTTP Client",{"type":51,"value":262}," (recommended for edge\u002Fserverless):",{"type":45,"tag":216,"props":264,"children":268},{"className":265,"code":266,"language":267,"meta":220,"style":220},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { neon } from '@neondatabase\u002Fserverless';\nconst sql = neon(process.env.DATABASE_URL!);\nconst rows = await sql`SELECT * FROM users WHERE id = ${userId}`;\n","typescript",[269],{"type":45,"tag":166,"props":270,"children":271},{"__ignoreMap":220},[272,323,386],{"type":45,"tag":127,"props":273,"children":274},{"class":227,"line":228},[275,281,287,293,298,303,308,313,318],{"type":45,"tag":127,"props":276,"children":278},{"style":277},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[279],{"type":51,"value":280},"import",{"type":45,"tag":127,"props":282,"children":284},{"style":283},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[285],{"type":51,"value":286}," {",{"type":45,"tag":127,"props":288,"children":290},{"style":289},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[291],{"type":51,"value":292}," neon",{"type":45,"tag":127,"props":294,"children":295},{"style":283},[296],{"type":51,"value":297}," }",{"type":45,"tag":127,"props":299,"children":300},{"style":277},[301],{"type":51,"value":302}," from",{"type":45,"tag":127,"props":304,"children":305},{"style":283},[306],{"type":51,"value":307}," '",{"type":45,"tag":127,"props":309,"children":310},{"style":238},[311],{"type":51,"value":312},"@neondatabase\u002Fserverless",{"type":45,"tag":127,"props":314,"children":315},{"style":283},[316],{"type":51,"value":317},"'",{"type":45,"tag":127,"props":319,"children":320},{"style":283},[321],{"type":51,"value":322},";\n",{"type":45,"tag":127,"props":324,"children":326},{"class":227,"line":325},2,[327,333,338,343,348,353,358,363,367,372,377,382],{"type":45,"tag":127,"props":328,"children":330},{"style":329},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[331],{"type":51,"value":332},"const",{"type":45,"tag":127,"props":334,"children":335},{"style":289},[336],{"type":51,"value":337}," sql ",{"type":45,"tag":127,"props":339,"children":340},{"style":283},[341],{"type":51,"value":342},"=",{"type":45,"tag":127,"props":344,"children":346},{"style":345},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[347],{"type":51,"value":292},{"type":45,"tag":127,"props":349,"children":350},{"style":289},[351],{"type":51,"value":352},"(process",{"type":45,"tag":127,"props":354,"children":355},{"style":283},[356],{"type":51,"value":357},".",{"type":45,"tag":127,"props":359,"children":360},{"style":289},[361],{"type":51,"value":362},"env",{"type":45,"tag":127,"props":364,"children":365},{"style":283},[366],{"type":51,"value":357},{"type":45,"tag":127,"props":368,"children":369},{"style":289},[370],{"type":51,"value":371},"DATABASE_URL",{"type":45,"tag":127,"props":373,"children":374},{"style":283},[375],{"type":51,"value":376},"!",{"type":45,"tag":127,"props":378,"children":379},{"style":289},[380],{"type":51,"value":381},")",{"type":45,"tag":127,"props":383,"children":384},{"style":283},[385],{"type":51,"value":322},{"type":45,"tag":127,"props":387,"children":389},{"class":227,"line":388},3,[390,394,399,403,408,413,418,423,428,433,438],{"type":45,"tag":127,"props":391,"children":392},{"style":329},[393],{"type":51,"value":332},{"type":45,"tag":127,"props":395,"children":396},{"style":289},[397],{"type":51,"value":398}," rows ",{"type":45,"tag":127,"props":400,"children":401},{"style":283},[402],{"type":51,"value":342},{"type":45,"tag":127,"props":404,"children":405},{"style":277},[406],{"type":51,"value":407}," await",{"type":45,"tag":127,"props":409,"children":410},{"style":345},[411],{"type":51,"value":412}," sql",{"type":45,"tag":127,"props":414,"children":415},{"style":283},[416],{"type":51,"value":417},"`",{"type":45,"tag":127,"props":419,"children":420},{"style":238},[421],{"type":51,"value":422},"SELECT * FROM users WHERE id = ",{"type":45,"tag":127,"props":424,"children":425},{"style":283},[426],{"type":51,"value":427},"${",{"type":45,"tag":127,"props":429,"children":430},{"style":289},[431],{"type":51,"value":432},"userId",{"type":45,"tag":127,"props":434,"children":435},{"style":283},[436],{"type":51,"value":437},"}`",{"type":45,"tag":127,"props":439,"children":440},{"style":283},[441],{"type":51,"value":322},{"type":45,"tag":54,"props":443,"children":444},{},[445,450],{"type":45,"tag":95,"props":446,"children":447},{},[448],{"type":51,"value":449},"WebSocket Pool",{"type":51,"value":451}," (for Node.js long-lived connections):",{"type":45,"tag":216,"props":453,"children":455},{"className":265,"code":454,"language":267,"meta":220,"style":220},"import { Pool } from '@neondatabase\u002Fserverless';\nconst pool = new Pool({ connectionString: process.env.DATABASE_URL! });\nconst result = await pool.query('SELECT * FROM users WHERE id = $1', [userId]);\n",[456],{"type":45,"tag":166,"props":457,"children":458},{"__ignoreMap":220},[459,499,582],{"type":45,"tag":127,"props":460,"children":461},{"class":227,"line":228},[462,466,470,475,479,483,487,491,495],{"type":45,"tag":127,"props":463,"children":464},{"style":277},[465],{"type":51,"value":280},{"type":45,"tag":127,"props":467,"children":468},{"style":283},[469],{"type":51,"value":286},{"type":45,"tag":127,"props":471,"children":472},{"style":289},[473],{"type":51,"value":474}," Pool",{"type":45,"tag":127,"props":476,"children":477},{"style":283},[478],{"type":51,"value":297},{"type":45,"tag":127,"props":480,"children":481},{"style":277},[482],{"type":51,"value":302},{"type":45,"tag":127,"props":484,"children":485},{"style":283},[486],{"type":51,"value":307},{"type":45,"tag":127,"props":488,"children":489},{"style":238},[490],{"type":51,"value":312},{"type":45,"tag":127,"props":492,"children":493},{"style":283},[494],{"type":51,"value":317},{"type":45,"tag":127,"props":496,"children":497},{"style":283},[498],{"type":51,"value":322},{"type":45,"tag":127,"props":500,"children":501},{"class":227,"line":325},[502,506,511,515,520,524,529,534,540,545,550,554,558,562,566,570,574,578],{"type":45,"tag":127,"props":503,"children":504},{"style":329},[505],{"type":51,"value":332},{"type":45,"tag":127,"props":507,"children":508},{"style":289},[509],{"type":51,"value":510}," pool ",{"type":45,"tag":127,"props":512,"children":513},{"style":283},[514],{"type":51,"value":342},{"type":45,"tag":127,"props":516,"children":517},{"style":283},[518],{"type":51,"value":519}," new",{"type":45,"tag":127,"props":521,"children":522},{"style":345},[523],{"type":51,"value":474},{"type":45,"tag":127,"props":525,"children":526},{"style":289},[527],{"type":51,"value":528},"(",{"type":45,"tag":127,"props":530,"children":531},{"style":283},[532],{"type":51,"value":533},"{",{"type":45,"tag":127,"props":535,"children":537},{"style":536},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[538],{"type":51,"value":539}," connectionString",{"type":45,"tag":127,"props":541,"children":542},{"style":283},[543],{"type":51,"value":544},":",{"type":45,"tag":127,"props":546,"children":547},{"style":289},[548],{"type":51,"value":549}," process",{"type":45,"tag":127,"props":551,"children":552},{"style":283},[553],{"type":51,"value":357},{"type":45,"tag":127,"props":555,"children":556},{"style":289},[557],{"type":51,"value":362},{"type":45,"tag":127,"props":559,"children":560},{"style":283},[561],{"type":51,"value":357},{"type":45,"tag":127,"props":563,"children":564},{"style":289},[565],{"type":51,"value":371},{"type":45,"tag":127,"props":567,"children":568},{"style":283},[569],{"type":51,"value":376},{"type":45,"tag":127,"props":571,"children":572},{"style":283},[573],{"type":51,"value":297},{"type":45,"tag":127,"props":575,"children":576},{"style":289},[577],{"type":51,"value":381},{"type":45,"tag":127,"props":579,"children":580},{"style":283},[581],{"type":51,"value":322},{"type":45,"tag":127,"props":583,"children":584},{"class":227,"line":388},[585,589,594,598,602,607,611,616,620,624,629,633,638,643],{"type":45,"tag":127,"props":586,"children":587},{"style":329},[588],{"type":51,"value":332},{"type":45,"tag":127,"props":590,"children":591},{"style":289},[592],{"type":51,"value":593}," result ",{"type":45,"tag":127,"props":595,"children":596},{"style":283},[597],{"type":51,"value":342},{"type":45,"tag":127,"props":599,"children":600},{"style":277},[601],{"type":51,"value":407},{"type":45,"tag":127,"props":603,"children":604},{"style":289},[605],{"type":51,"value":606}," pool",{"type":45,"tag":127,"props":608,"children":609},{"style":283},[610],{"type":51,"value":357},{"type":45,"tag":127,"props":612,"children":613},{"style":345},[614],{"type":51,"value":615},"query",{"type":45,"tag":127,"props":617,"children":618},{"style":289},[619],{"type":51,"value":528},{"type":45,"tag":127,"props":621,"children":622},{"style":283},[623],{"type":51,"value":317},{"type":45,"tag":127,"props":625,"children":626},{"style":238},[627],{"type":51,"value":628},"SELECT * FROM users WHERE id = $1",{"type":45,"tag":127,"props":630,"children":631},{"style":283},[632],{"type":51,"value":317},{"type":45,"tag":127,"props":634,"children":635},{"style":283},[636],{"type":51,"value":637},",",{"type":45,"tag":127,"props":639,"children":640},{"style":289},[641],{"type":51,"value":642}," [userId])",{"type":45,"tag":127,"props":644,"children":645},{"style":283},[646],{"type":51,"value":322},{"type":45,"tag":54,"props":648,"children":649},{},[650,652,658],{"type":51,"value":651},"See ",{"type":45,"tag":166,"props":653,"children":655},{"className":654},[],[656],{"type":51,"value":657},"templates\u002F",{"type":51,"value":659}," for complete examples:",{"type":45,"tag":67,"props":661,"children":662},{},[663,674],{"type":45,"tag":71,"props":664,"children":665},{},[666,672],{"type":45,"tag":166,"props":667,"children":669},{"className":668},[],[670],{"type":51,"value":671},"templates\u002Fhttp-connection.ts",{"type":51,"value":673}," - HTTP client setup",{"type":45,"tag":71,"props":675,"children":676},{},[677,683],{"type":45,"tag":166,"props":678,"children":680},{"className":679},[],[681],{"type":51,"value":682},"templates\u002Fwebsocket-pool.ts",{"type":51,"value":684}," - WebSocket pool configuration",{"type":45,"tag":60,"props":686,"children":688},{"id":687},"validation",[689],{"type":51,"value":690},"Validation",{"type":45,"tag":54,"props":692,"children":693},{},[694,696,702],{"type":51,"value":695},"Use ",{"type":45,"tag":166,"props":697,"children":699},{"className":698},[],[700],{"type":51,"value":701},"scripts\u002Fvalidate-connection.ts",{"type":51,"value":703}," to test your database connection before deployment.",{"type":45,"tag":60,"props":705,"children":707},{"id":706},"related-skills",[708],{"type":51,"value":709},"Related Skills",{"type":45,"tag":67,"props":711,"children":712},{},[713,723,733,743],{"type":45,"tag":71,"props":714,"children":715},{},[716,721],{"type":45,"tag":95,"props":717,"children":718},{},[719],{"type":51,"value":720},"neon-auth",{"type":51,"value":722}," - Add authentication",{"type":45,"tag":71,"props":724,"children":725},{},[726,731],{"type":45,"tag":95,"props":727,"children":728},{},[729],{"type":51,"value":730},"neon-js",{"type":51,"value":732}," - Full SDK with auth + data API",{"type":45,"tag":71,"props":734,"children":735},{},[736,741],{"type":45,"tag":95,"props":737,"children":738},{},[739],{"type":51,"value":740},"neon-drizzle",{"type":51,"value":742}," - For ORM with serverless connections",{"type":45,"tag":71,"props":744,"children":745},{},[746,751],{"type":45,"tag":95,"props":747,"children":748},{},[749],{"type":51,"value":750},"neon-toolkit",{"type":51,"value":752}," - For ephemeral database testing",{"type":45,"tag":754,"props":755,"children":756},"hr",{},[],{"type":45,"tag":54,"props":758,"children":759},{},[760,765,767,773,775,781],{"type":45,"tag":95,"props":761,"children":762},{},[763],{"type":51,"value":764},"Want best practices in your project?",{"type":51,"value":766}," Run ",{"type":45,"tag":166,"props":768,"children":770},{"className":769},[],[771],{"type":51,"value":772},"neon-plugin:add-neon-docs",{"type":51,"value":774}," with parameter ",{"type":45,"tag":166,"props":776,"children":778},{"className":777},[],[779],{"type":51,"value":780},"SKILL_NAME=\"neon-serverless\"",{"type":51,"value":782}," to add reference links.",{"type":45,"tag":784,"props":785,"children":786},"style",{},[787],{"type":51,"value":788},"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":790,"total":862},[791,803,814,829,840,848],{"slug":792,"name":792,"fn":793,"description":794,"org":795,"tags":796,"stars":27,"repoUrl":28,"updatedAt":802},"add-neon-docs","add Neon docs to project AI docs","Use this skill when the user asks to add documentation, add docs, add references, or install documentation about Neon. Adds Neon best practices reference links to project AI documentation (CLAUDE.md, AGENTS.md, or Cursor rules). Does not install packages or modify code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[797,798,801],{"name":16,"slug":17,"type":14},{"name":799,"slug":800,"type":14},"Documentation","documentation",{"name":9,"slug":8,"type":14},"2026-04-06T18:38:53.722898",{"slug":720,"name":720,"fn":804,"description":805,"org":806,"tags":807,"stars":27,"repoUrl":28,"updatedAt":813},"set up Neon Auth for apps","Sets up Neon Auth for your application. Configures authentication, creates auth routes, and generates UI components. Use when adding authentication to Next.js, React SPA, or Node.js projects.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[808,811,812],{"name":809,"slug":810,"type":14},"Auth","auth",{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},"2026-04-06T18:38:52.386193",{"slug":740,"name":740,"fn":815,"description":816,"org":817,"tags":818,"stars":27,"repoUrl":28,"updatedAt":828},"set up Drizzle ORM with Neon","Creates a fully functional Drizzle ORM setup with a provisioned Neon database. Installs dependencies, provisions database credentials, configures connections, generates schemas, and runs migrations. Results in working code that can immediately connect to and query the database. Use when creating new projects with Drizzle, adding ORM to existing applications, or modifying database schemas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[819,820,823,824,827],{"name":16,"slug":17,"type":14},{"name":821,"slug":822,"type":14},"Drizzle","drizzle",{"name":9,"slug":8,"type":14},{"name":825,"slug":826,"type":14},"ORM","orm",{"name":19,"slug":20,"type":14},"2026-04-06T18:38:56.217495",{"slug":730,"name":730,"fn":830,"description":831,"org":832,"tags":833,"stars":27,"repoUrl":28,"updatedAt":839},"set up the Neon JS SDK for auth and queries","Sets up the full Neon JS SDK with unified auth and PostgREST-style database queries. Configures auth client, data client, and type generation. Use when building apps that need both authentication and database access in one SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[834,835,836,837],{"name":809,"slug":810,"type":14},{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":838,"slug":267,"type":14},"TypeScript","2026-04-06T18:38:51.116041",{"slug":4,"name":4,"fn":5,"description":6,"org":841,"tags":842,"stars":27,"repoUrl":28,"updatedAt":29},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[843,844,845,846,847],{"name":16,"slug":17,"type":14},{"name":25,"slug":26,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":22,"slug":23,"type":14},{"slug":750,"name":750,"fn":849,"description":850,"org":851,"tags":852,"stars":27,"repoUrl":28,"updatedAt":861},"create ephemeral Neon databases for testing","Creates and manages ephemeral Neon databases for testing, CI\u002FCD pipelines, and isolated development environments. Use when building temporary databases for automated tests or rapid prototyping.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[853,856,857,858],{"name":854,"slug":855,"type":14},"CI\u002FCD","cicd",{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":859,"slug":860,"type":14},"Testing","testing","2026-04-06T18:38:57.490782",6,{"items":864,"total":999},[865,878,884,890,898,905,913,920,932,951,969,986],{"slug":866,"name":866,"fn":867,"description":868,"org":869,"tags":870,"stars":875,"repoUrl":876,"updatedAt":877},"neon-postgres","build apps with Neon serverless Postgres","Guides and best practices for working with Neon Serverless Postgres. Covers setup, connection methods and drivers, pooled vs direct connections, branching, autoscaling, scale-to-zero, instant restore, read replicas, connection pooling, IP allow lists, and logical replication. Use when users ask about \"Neon setup\", \"connect to Neon\", \"Neon project\", \"DATABASE_URL\", \"serverless Postgres\", \"Neon CLI\", \"neon\", \"Neon MCP\", \"Neon Auth\", \"@neondatabase\u002Fserverless\", \"@neondatabase\u002Fneon-js\", \"scale to zero\", \"Neon autoscaling\", \"Neon read replica\", or \"Neon connection pooling\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[871,872,873,874],{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":22,"slug":23,"type":14},321,"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fwebsite","2026-07-27T06:08:14.168734",{"slug":792,"name":792,"fn":793,"description":794,"org":879,"tags":880,"stars":27,"repoUrl":28,"updatedAt":802},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[881,882,883],{"name":16,"slug":17,"type":14},{"name":799,"slug":800,"type":14},{"name":9,"slug":8,"type":14},{"slug":720,"name":720,"fn":804,"description":805,"org":885,"tags":886,"stars":27,"repoUrl":28,"updatedAt":813},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[887,888,889],{"name":809,"slug":810,"type":14},{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"slug":740,"name":740,"fn":815,"description":816,"org":891,"tags":892,"stars":27,"repoUrl":28,"updatedAt":828},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[893,894,895,896,897],{"name":16,"slug":17,"type":14},{"name":821,"slug":822,"type":14},{"name":9,"slug":8,"type":14},{"name":825,"slug":826,"type":14},{"name":19,"slug":20,"type":14},{"slug":730,"name":730,"fn":830,"description":831,"org":899,"tags":900,"stars":27,"repoUrl":28,"updatedAt":839},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[901,902,903,904],{"name":809,"slug":810,"type":14},{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":838,"slug":267,"type":14},{"slug":4,"name":4,"fn":5,"description":6,"org":906,"tags":907,"stars":27,"repoUrl":28,"updatedAt":29},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[908,909,910,911,912],{"name":16,"slug":17,"type":14},{"name":25,"slug":26,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":22,"slug":23,"type":14},{"slug":750,"name":750,"fn":849,"description":850,"org":914,"tags":915,"stars":27,"repoUrl":28,"updatedAt":861},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[916,917,918,919],{"name":854,"slug":855,"type":14},{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":859,"slug":860,"type":14},{"slug":921,"name":921,"fn":922,"description":923,"org":924,"tags":925,"stars":929,"repoUrl":930,"updatedAt":931},"claimable-postgres","provision temporary Postgres databases","Provision instant temporary Postgres databases via Claimable Postgres by Neon (neon.new) with no login, signup, or credit card. Supports REST API, CLI, and SDK. Use when users ask for a quick Postgres environment, a throwaway DATABASE_URL for prototyping\u002Ftests, or \"just give me a DB now\". Triggers include: \"quick postgres\", \"temporary postgres\", \"no signup database\", \"no credit card database\", \"instant DATABASE_URL\", \"npx neon-new\", \"neon.new\", \"neon.new API\", \"claimable postgres API\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[926,927,928],{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},81,"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fagent-skills","2026-07-27T06:07:56.160588",{"slug":8,"name":8,"fn":933,"description":934,"org":935,"tags":936,"stars":929,"repoUrl":930,"updatedAt":950},"build applications on the Neon platform","Overview of the Neon platform for apps and agents, spanning Postgres, Auth, the Data API, Object Storage, Compute Functions, and the AI Gateway. Start here to route to the right Neon skill, set up the CLI or MCP server, and follow the branch-first workflow. Use when \"Neon\" is mentioned, or when any of its individual capabilities are the trigger: \"object storage\" or \"S3\", \"buckets\", \"serverless functions\", \"AI gateway\", \"call an LLM\", \"postgres\", \"database\", or \"backend\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[937,940,943,944,945,946,947],{"name":938,"slug":939,"type":14},"AI Infrastructure","ai-infrastructure",{"name":941,"slug":942,"type":14},"Authentication","authentication",{"name":16,"slug":17,"type":14},{"name":9,"slug":8,"type":14},{"name":19,"slug":20,"type":14},{"name":22,"slug":23,"type":14},{"name":948,"slug":949,"type":14},"Storage","storage","2026-07-27T06:08:01.383115",{"slug":952,"name":952,"fn":953,"description":954,"org":955,"tags":956,"stars":929,"repoUrl":930,"updatedAt":968},"neon-ai-gateway","call LLMs via Neon AI Gateway","One API and one credential for frontier and open-source LLMs, built into your Neon branch and powered by Databricks. Use when a user wants to call an LLM, add AI\u002Fchat\u002Fan agent to their app, route between model providers (OpenAI, Anthropic, Google\u002FGemini, Meta, Alibaba, DeepSeek), or avoid juggling separate provider API keys and accounts — especially when they already use Neon and want AI requests to branch with their project. Works with the OpenAI SDK, Anthropic SDK, google-genai, the Vercel AI SDK, and Mastra by changing only the base URL. Triggers include \"call an LLM\", \"add AI to my app\", \"chat completion\", \"model routing\", \"LLM proxy\u002Fgateway\", \"one API for all models\", \"use Claude\u002FGPT\u002FGemini\", \"AI SDK\", \"Mastra agent\", \"Neon AI Gateway\", and \"log\u002Frate-limit AI calls\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[957,958,961,964,967],{"name":938,"slug":939,"type":14},{"name":959,"slug":960,"type":14},"API Development","api-development",{"name":962,"slug":963,"type":14},"Databricks","databricks",{"name":965,"slug":966,"type":14},"LLM","llm",{"name":9,"slug":8,"type":14},"2026-07-27T06:08:00.288175",{"slug":970,"name":970,"fn":971,"description":972,"org":973,"tags":974,"stars":929,"repoUrl":930,"updatedAt":985},"neon-functions","deploy serverless functions on Neon","Long-running, serverless Node.js HTTP functions deployed onto your Neon branch, with DATABASE_URL injected automatically and compute that runs next to your data. Use when a user wants to host an API, an AI agent with long streaming responses, a WebSocket or server-sent-events (SSE) server, a webhook handler, a Discord bot, an MCP server, or any request\u002Fresponse workload that risks timing out on short, lambda-style serverless functions — and wants it to branch with their database. Triggers include \"serverless function\", \"deploy an API\", \"long-running function\", \"streaming agent\", \"SSE server\", \"WebSocket server\", \"webhook handler\", \"MCP server\", \"run code next to my database\", \"function that won't time out\", \"Neon Functions\", and \"Neon Compute\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[975,976,979,980,981,984],{"name":959,"slug":960,"type":14},{"name":977,"slug":978,"type":14},"Backend","backend",{"name":25,"slug":26,"type":14},{"name":9,"slug":8,"type":14},{"name":982,"slug":983,"type":14},"Node.js","node-js",{"name":22,"slug":23,"type":14},"2026-07-27T06:07:59.147675",{"slug":987,"name":987,"fn":988,"description":989,"org":990,"tags":991,"stars":929,"repoUrl":930,"updatedAt":998},"neon-object-storage","manage Neon object storage","S3-compatible object storage that branches with your Neon project, so files and the database stay in sync across every branch. Use when a user wants object storage, a bucket, blob\u002Ffile storage, or somewhere to put uploads, images, documents, avatars, or user-generated files for their app or agent — especially when they already use (or are setting up) Neon Postgres and don't want to add a separate storage provider like AWS S3, Cloudflare R2, or Supabase Storage. Triggers include \"object storage\", \"bucket\", \"blob storage\", \"file storage\", \"store uploads\u002Fimages\u002Ffiles\", \"S3-compatible storage\", \"presigned URL\", \"where do I put files\", \"Neon Object Storage\", \"Neon Storage\", and \"storage that branches with my database\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[992,993,996,997],{"name":16,"slug":17,"type":14},{"name":994,"slug":995,"type":14},"File Storage","file-storage",{"name":9,"slug":8,"type":14},{"name":948,"slug":949,"type":14},"2026-07-27T06:07:57.150892",19]