npx skills add ...
npx skills add neondatabase/ai-rules --skill neon-toolkit
Creates and manages ephemeral Neon databases for testing, CI/CD pipelines, and isolated development environments. Use when building temporary databases for automated tests or rapid prototyping.
npx skills add neondatabase/ai-rules --skill neon-toolkit
Automates creation, management, and cleanup of temporary Neon databases using the Neon Toolkit.
Not recommended for: Production databases, shared team environments, local-only development (use Docker), or free tier accounts (requires paid projects).
When generating TypeScript/JavaScript code:
Primary Resource: See [neon-toolkit.mdc](https://raw.githubusercontent.com/neondatabase-labs/ai-rules/main/neon-toolkit.mdc) in project root for comprehensive guidelines including:
templates/toolkit-workflow.ts - Complete ephemeral database workflowscripts/create-ephemeral-db.ts - Create a temporary databasescripts/destroy-ephemeral-db.ts - Clean up ephemeral databaseWant best practices in your project? Run neon-plugin:add-neon-docs with parameter SKILL_NAME="neon-toolkit" to add reference links.
const db = await neon.createEphemeralDatabase();
// Run tests with fresh database
await db.delete();export NEON_API_KEY=${{ secrets.NEON_API_KEY }}
npm test # Uses ephemeral database