neon-postgres by sickn33/antigravity-awesome-skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill neon-postgres为 Neon 配置 Prisma 以使用连接池。
使用两个连接字符串:
DATABASE_URL: 用于 Prisma Client 的连接池连接DIRECT_URL: 用于 Prisma Migrate 的直接连接连接池连接使用 PgBouncer,支持高达 10K 个连接。执行迁移(DDL 操作)时需要直接连接。
在边缘/无服务器环境中,将 Drizzle ORM 与 Neon 的无服务器 HTTP 驱动程序结合使用。
有两种驱动程序选项:
neon-http: 通过 HTTP 执行单次查询(最适合一次性查询)neon-serverless: 使用 WebSocket 处理事务和会话Neon 通过 PgBouncer 提供内置的连接池功能。
关键限制:
应用程序使用连接池端点,迁移操作使用直接连接。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 问题 | 严重性 | 解决方案 |
|---|---|---|
| 问题 | 高 | 查看文档 |
| 问题 | 高 | 查看文档 |
| 问题 | 高 | 查看文档 |
| 问题 | 中 | 查看文档 |
| 问题 | 中 | 查看文档 |
| 问题 | 低 | 查看文档 |
| 问题 | 中 | 查看文档 |
| 问题 | 高 | 查看文档 |
此技能适用于执行概述中描述的工作流或操作。
每周安装量
392
代码仓库
GitHub 星标数
27.6K
首次出现
2026年1月19日
安全审计
安装于
claude-code319
opencode305
gemini-cli302
antigravity287
codex281
cursor279
Configure Prisma for Neon with connection pooling.
Use two connection strings:
The pooled connection uses PgBouncer for up to 10K connections. Direct connection required for migrations (DDL operations).
Use Drizzle ORM with Neon's serverless HTTP driver for edge/serverless environments.
Two driver options:
Neon provides built-in connection pooling via PgBouncer.
Key limits:
Use pooled endpoint for application, direct for migrations.
| Issue | Severity | Solution |
|---|---|---|
| Issue | high | See docs |
| Issue | high | See docs |
| Issue | high | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
| Issue | low | See docs |
| Issue | medium | See docs |
| Issue | high | See docs |
This skill is applicable to execute the workflow or actions described in the overview.
Weekly Installs
392
Repository
GitHub Stars
27.6K
First Seen
Jan 19, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code319
opencode305
gemini-cli302
antigravity287
codex281
cursor279