/devkit-stack:postgresfrom devkit-stack
Postgres best practices and schema design - query and index performance, connection pooling, RLS and privileges, locking, data access patterns, monitoring, plus PostgreSQL table design (data types, constraints, indexing, partitioning, JSONB). Use when writing, reviewing or optimizing SQL queries, designing or migrating a Postgres schema, or tuning database configuration.
Ships in devkit-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Two parts:
rules/, from Supabase's Postgres guide) — one file per rule, prioritized by impact, each with the incorrect and correct SQL.Pick the categories that match the task and read only those rule files. Each rule file contains: why it matters, an incorrect SQL example, a correct SQL example, optional EXPLAIN output or metrics, and Supabase-specific notes when applicable. Category definitions: rules/_sections.md.
query-, CRITICAL)conn-, CRITICAL)security-, CRITICAL)schema-, HIGH)lock-, MEDIUM-HIGH)data-, MEDIUM)monitor-, LOW-MEDIUM)advanced-, LOW)references/schema-design.md (opens in a new tab)rules/_sections.md (opens in a new tab)rules/advanced-full-text-search.md (opens in a new tab)rules/advanced-jsonb-indexing.md (opens in a new tab)rules/conn-idle-timeout.md (opens in a new tab)rules/conn-limits.md (opens in a new tab)rules/conn-pooling.md (opens in a new tab)rules/conn-prepared-statements.md (opens in a new tab)rules/data-batch-inserts.md (opens in a new tab)rules/data-n-plus-one.md (opens in a new tab)rules/data-pagination.md (opens in a new tab)rules/data-upsert.md (opens in a new tab)rules/lock-advisory.md (opens in a new tab)rules/lock-deadlock-prevention.md (opens in a new tab)rules/lock-short-transactions.md (opens in a new tab)rules/lock-skip-locked.md (opens in a new tab)rules/monitor-explain-analyze.md (opens in a new tab)rules/monitor-pg-stat-statements.md (opens in a new tab)rules/monitor-vacuum-analyze.md (opens in a new tab)rules/query-composite-indexes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub chacal88/devkit --plugin devkit-stack6 skills in this plugin
/neon-postgresPatterns for Neon serverless Postgres - pooled vs direct connections, Prisma and Drizzle integration, the serverless driver, database branching for preview environments and CI. Use when the project uses Neon, or when the user mentions serverless Postgres, database branching, per-preview databases, or Neon connection pooling./react-performancePerformance rules for React and Next.js from Vercel - eliminating waterfalls, bundle size, server-side rendering and caching, client data fetching, re-renders, rendering and JavaScript hot paths. Use when writing React components or Next.js pages, implementing data fetching, optimizing bundle size or load time, or reviewing React code for performance issues./Other plugins' skills for the same job