neon-postgres
Implement Neon Postgres Database Patterns
๋ํ ๋ค์์์ ์ฌ์ฉํ ์ ์์ต๋๋ค: Asmayaseen
Developers struggle with serverless database connection management and ORM configuration. This skill provides proven patterns for Neon Postgres with Prisma and Drizzle integration.
์คํฌ ZIP ๋ค์ด๋ก๋
Claude์์ ์ ๋ก๋
์ค์ โ ๊ธฐ๋ฅ โ ์คํฌ โ ์คํฌ ์ ๋ก๋๋ก ์ด๋
ํ ๊ธ์ ์ผ๊ณ ์ฌ์ฉ ์์
ํ ์คํธํด ๋ณด๊ธฐ
"neon-postgres" ์ฌ์ฉ ์ค์ ๋๋ค. Configure Prisma for Neon Postgres
์์ ๊ฒฐ๊ณผ:
Prisma datasource configured with dual connection strings: DATABASE_URL for pooled runtime connections (PgBouncer) and DIRECT_URL for direct migration operations. Schema includes proper provider and url settings.
"neon-postgres" ์ฌ์ฉ ์ค์ ๋๋ค. Set up Drizzle with Neon serverless driver
์์ ๊ฒฐ๊ณผ:
Drizzle instance initialized with neon-serverless driver, enabling WebSocket-based sessions for transactions. HTTP driver available for simple queries in edge environments.
๋ณด์ ๊ฐ์ฌ
์์ Static analysis flagged 4 patterns that are all false positives. The skill contains documentation-only content with no executable code. Environment variable references are configuration examples, not actual env access. Cryptographic algorithm warnings are pattern-matching errors on unrelated text.
ํ์ง ์ ์
๋ง๋ค ์ ์๋ ๊ฒ
Full-Stack Developer Setting Up New Project
Configure database connections for a new Next.js project using Prisma with Neon Postgres, including proper separation of pooled and direct connections.
Edge Application Database Integration
Implement Drizzle ORM with Neon serverless driver for edge runtime compatibility in serverless functions.
Database Migration Workflow
Set up safe migration workflows using direct connections while maintaining pooled connections for application runtime.
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
Help me configure a Neon Postgres connection string for my application. I need to understand the difference between pooled and direct connections.
Generate a Prisma schema configuration for Neon Postgres with proper datasource setup for both DATABASE_URL and DIRECT_URL environment variables.
Show me how to configure Drizzle ORM with the Neon serverless driver for use in Vercel Edge Functions, including transaction support.
Analyze my application connection patterns and recommend optimal PgBouncer pooling settings for Neon Postgres given my expected concurrent user load.
๋ชจ๋ฒ ์ฌ๋ก
- Always use pooled connections for application runtime and direct connections for migrations
- Reserve 7 connections for Neon superuser operations when calculating pool limits
- Use database branching for isolated development and testing environments
ํผํ๊ธฐ
- Using direct connection strings for application runtime connections
- Exceeding connection pool limits without proper error handling
- Running migrations against pooled connections instead of direct connections
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
What is the difference between pooled and direct connections in Neon?
How many connections can Neon handle?
Can I use Neon with serverless edge functions?
What is database branching in Neon?
Do I need both Prisma and Drizzle?
How do I handle connection errors in serverless environments?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
์์ฑ์
sickn33๋ผ์ด์ ์ค
MIT
๋ฆฌํฌ์งํ ๋ฆฌ
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/neon-postgres์ฐธ์กฐ
main
ํ์ผ ๊ตฌ์กฐ
๐ SKILL.md