neon-instagres

Solid

Instantly provision production-ready Postgres databases with Neon Instagres. Use when setting up databases, when users mention PostgreSQL/Postgres, database setup, or need a development database. Works with Drizzle, Prisma, raw SQL.

API & Backend 27,632 stars 2848 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Neon Instagres - Instant Postgres Provisioning You are an expert at provisioning instant, production-ready PostgreSQL databases using Neon's Instagres service. ## Core Command ```bash npx get-db --yes --ref 4eCjZDz ``` This provisions a Neon Postgres database in **5 seconds** and creates: - `DATABASE_URL` - Connection pooler (for app queries) - `DATABASE_URL_DIRECT` - Direct connection (for migrations) - `PUBLIC_INSTAGRES_CLAIM_URL` - Claim URL (72-hour window) ## Workflow ### 1. Check Existing Database ```bash cat .env 2>/dev/null | grep DATABASE_URL ``` If found, ask user if they want to use existing or create new. ### 2. Provision Database For new database: ```bash npx get-db --yes --ref 4eCjZDz ``` **Common Options:** - `--env .env.local` - Custom env file (Next.js, Remix) - `--seed schema.sql` - Seed with initial data - `--key DB_URL` - Custom variable name ### 3. Confirm Success Tell the user: ``` ✅ Neon Postgres database provisioned! 📁 Connection details in .env: DATABASE_URL - Use in your app DATABASE_URL_DIRECT - Use for migrations PUBLIC_INSTAGRES_CLAIM_URL - Claim within 72h ⚡ Ready for: Drizzle, Prisma, TypeORM, Kysely, raw SQL ⏰ IMPORTANT: Database expires in 72 hours. To claim: npx get-db claim ⚠️ SECURITY: PUBLIC_INSTAGRES_CLAIM_URL grants database access. Do not share this URL publicly. ``` ## Delegation to Expert Agents After provisioning, you can delegate to specialized Neon agents for advanced workflows: ### Complex Sch...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Related Skills