database

Automate PostgreSQL schema design, migrations, and performance tuning with Prisma, pgvector, and pgbouncer.

14|2|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/seanchiuai/openclaude --skill database-seanchiuai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/seanchiuai/openclaude/tree/main/.claude/skills/database
Command: npx skills add https://github.com/seanchiuai/openclaude --skill database-seanchiuai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PostgreSQL databases often require careful orchestration of schema design, migrations, and performance tuning when using Prisma ORM, vector embeddings, and pooled connections, which can lead to inconsistencies and deployment delays.

Core Features & Use Cases

  • Schema conventions and migration workflows for Prisma-driven PostgreSQL databases, including RLS policy guidelines.
  • Embeddings support with pgvector for vector similarity and search, with guidance on indexing and performance considerations.
  • Robust connection management using pgbouncer, with clear separation of DATABASE URLs and safe fallback behavior.

Quick Start

Install and configure PostgreSQL, set up Prisma migrations, and validate your schema changes in a local development environment.

Frequently Asked Questions about database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Prisma migrations with PostgreSQL and row-level security policies?

Prisma migrations with PostgreSQL require defined schema conventions and explicit row-level security (RLS) policy guidelines to ensure controlled data access. This workflow automates schema design and applies RLS policies during migration deployments to maintain consistency.

What is the best way to implement vector similarity search using pgvector and Prisma?

Vector similarity search using pgvector involves creating embeddings and applying appropriate indexing for performance optimization. This approach provides guidance on indexing strategies and performance considerations specifically for embedding-based searches within a Prisma-managed PostgreSQL database.

How do I manage PostgreSQL connection pooling with pgbouncer across development and production environments?

PostgreSQL connection pooling with pgbouncer requires clear separation of DATABASE URLs and safe fallback behavior to manage connections across environments. This setup ensures controlled connection management from development through production deployments.

Does Prisma ORM support pgvector embeddings and automated schema upgrades?

Prisma ORM supports pgvector embeddings and automated schema upgrades through orchestrated migration workflows. This integration handles schema design, vector similarity search, and performance tuning without causing deployment delays or inconsistencies.

Why do my PostgreSQL schema migrations cause deployment delays and inconsistencies?

PostgreSQL schema migrations cause deployment delays when schema design, vector embeddings, and pooled connections lack careful orchestration. Establishing defined schema conventions and migration workflows prevents these deployment bottlenecks and inconsistencies.