Frameworks

Best PostgreSQL Agent Skills

155 PostgreSQL skills for AI coding assistants — ranked by popularity.

This collection provides modular skill sets for AI coding agents to handle PostgreSQL tasks more effectively. If you use Claude Code, Cursor, or similar tools, these files act as specialized instructions to improve accuracy in database operations. Whether you are normalizing data schemas, writing Row-Level Security policies, or performing complex SQL query optimization, these agents gain the necessary context to avoid common errors. The library covers core PostgreSQL administration through the psql terminal, schema design principles, and modern ORM integrations like Drizzle. Developers can rely on these patterns to enforce best practices derived from Supabase documentation and standard performance tuning methods. Use these files to standardize how your AI handles database architecture, indexing strategies, and security configuration. By offloading these technical patterns to your agent, you spend less time correcting generated code and more time building application logic.

Top PostgreSQL skills

sql-optimization-patterns

wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

64220

drizzle-orm

EpicenterHQ

Drizzle ORM patterns for type branding and custom types. Use when working with Drizzle column definitions, branded types, or custom type conversions.

32190

postgres-patterns

affaan-m

PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.

20119

postgresql-table-design

wshobson

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features

30109

supabase-mcp-integration

manutej

Comprehensive Supabase integration covering authentication, database operations, realtime subscriptions, storage, and MCP server patterns for building production-ready backends with PostgreSQL, Auth, and real-time capabilities

13124

supabase-rls-policy-generator

hopeoverture

This skill should be used when the user requests to generate, create, or add Row-Level Security (RLS) policies for Supabase databases in multi-tenant or role-based applications. It generates comprehensive RLS policies using auth.uid(), auth.jwt() claims, and role-based access patterns. Trigger terms include RLS, row level security, supabase security, generate policies, auth policies, multi-tenant security, role-based access, database security policies, supabase permissions, tenant isolation.

11109

sql-queries

anthropics

Write correct, performant SQL across all major data warehouse dialects (Snowflake, BigQuery, Databricks, PostgreSQL, etc.). Use when writing queries, optimizing slow SQL, translating between dialects, or building complex analytical queries with CTEs, window functions, or aggregations.

1888

add-neon-docs

neondatabase-labs

Use this skill when the user asks to add documentation, add docs, add references, or install documentation about Neon. Adds Neon best practices reference links to project AI documentation (CLAUDE.md, AGENTS.md, or Cursor rules). Does not install packages or modify code.

795

moai-domain-database

modu-ai

Manage and query domain-specific data efficiently, enabling streamlined access to information and insights.

1178

hybrid-search-implementation

wshobson

Combine vector and keyword search for improved retrieval. Use when implementing RAG systems, building search engines, or when neither approach alone provides sufficient recall.

876

event-store-design

wshobson

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

565

springboot-patterns

affaan-m

Spring Boot 架构模式、REST API 设计、分层服务、数据访问、缓存、异步处理和日志记录。适用于 Java Spring Boot 后端工作。

1147

database-design

davila7

Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.

648

vector-database-engineer

sickn33

Expert in vector databases, embedding strategies, and semantic search implementation. Masters Pinecone, Weaviate, Qdrant, Milvus, and pgvector for RAG applications, recommendation systems, and similar

846

dotnet-architect

sickn33

Expert .NET backend architect specializing in C#, ASP.NET Core, Entity Framework, Dapper, and enterprise application patterns. Masters async/await, dependency injection, caching strategies, and performance optimization. Use PROACTIVELY for .NET API development, code review, or architecture decisions.

1241

sqlmap-database-penetration-testing

davila7

This skill should be used when the user asks to "automate SQL injection testing," "enumerate database structure," "extract database credentials using sqlmap," "dump tables and columns from a vulnerable database," or "perform automated database penetration testing." It provides comprehensive guidance for using SQLMap to detect and exploit SQL injection vulnerabilities.

449

backend-development

skillcreatorai

Backend API design, database architecture, microservices patterns, and test-driven development. Use for designing APIs, database schemas, or backend system architecture.

1731

snowflake-semanticview

github

Create, alter, and validate Snowflake semantic views using Snowflake CLI (snow). Use when asked to build or troubleshoot semantic views/semantic layer definitions with CREATE/ALTER SEMANTIC VIEW, to validate semantic-view DDL against Snowflake via CLI, or to guide Snowflake CLI installation and connection setup.

542

postgresql

sickn33

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features

937

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

supabase-postgres-best-practices

davila7

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

439

database-schema-designer

davila7

Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.

628

supabase-common-errors

jeremylongshore

Execute diagnose and fix Supabase common errors and exceptions. Use when encountering Supabase errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "supabase error", "fix supabase", "supabase not working", "debug supabase".

430

supabase-policy-guardrails

jeremylongshore

Implement Supabase lint rules, policy enforcement, and automated guardrails. Use when setting up code quality rules for Supabase integrations, implementing pre-commit hooks, or configuring CI policy checks for Supabase best practices. Trigger with phrases like "supabase policy", "supabase lint", "supabase guardrails", "supabase best practices check", "supabase eslint".

331

How to choose a PostgreSQL skill

Select a skill based on the specific phase of your development lifecycle. Choose design-oriented skills when you are starting a new schema or mapping data relationships. If you are mid-development, pick optimization or ORM-specific files to debug query performance or implement type-safe column definitions. Review the contributor's focus; some skills prioritize performance tuning, while others emphasize security and infrastructure like RLS policies. Always check the scope to ensure the skill covers the specific abstraction layer—whether raw SQL, terminal interaction, or managed platforms like Supabase—that your project requires.

More PostgreSQL skills

fuzzy-matching
dadbodgeoff · 8 installs
pgvector-semantic-search
timescale · 4 installs
supabase-ci-integration
jeremylongshore · 3 installs
design-postgres-tables
timescale · 3 installs
epic-database
epicweb-dev · 3 installs
sql-pro
sickn33 · 3 installs
sql-research
tidyverse · 3 installs
database-migrations-sql-migrations
sickn33 · 3 installs
supabase-performance-tuning
jeremylongshore · 4 installs
database-documentation-gen
jeremylongshore · 2 installs
postgres-hybrid-text-search
timescale · 1 installs
aws-aurora
alinaqi · 1 installs
data-safety-auditor
ananddtyagi · 3 installs
analyzing-query-performance
jeremylongshore · 1 installs
find-hypertable-candidates
timescale · 1 installs
postgresql-syntax-reference
pgschema · 1 installs
whodb
clidey · 1 installs
databases
mrgoonie · 1 installs
analytics-pipeline
dadbodgeoff · 1 installs
dust-hive
dust-tt · 1 installs
h3-pg
postgis · 1 installs
row-level-security
dadbodgeoff · 1 installs
schema-designer
clidey · 1 installs
sql-translation
tidyverse · 1 installs
timescaledb
2025Emma · 1 installs
migrate-postgres-tables-to-hypertables
timescale · 1 installs
prisma-connection-pool-exhaustion
blader · 1 installs
setup-timescaledb-hypertables
timescale · 0 installs
supabase
alinaqi · 1 installs
create-module
mx-space · 1 installs
local-cluster-manager
multigres · 2 installs
neon-instagres
davila7 · 1 installs
supabase-data-handling
jeremylongshore · 1 installs
supabase-known-pitfalls
jeremylongshore · 1 installs
supabase-rate-limits
jeremylongshore · 1 installs
test-with-postgres
storj · 1 installs
transaction-correctness
tursodatabase · 1 installs
community-feed
dadbodgeoff · 1 installs
local-env
dailydotdev · 1 installs
managing-database-sharding
jeremylongshore · 1 installs
railway-database
davila7 · 1 installs
supabase-incident-runbook
jeremylongshore · 1 installs
supabase-upgrade-migration
jeremylongshore · 1 installs
supabase-webhooks-events
jeremylongshore · 1 installs
token-integration-analyzer
trailofbits · 1 installs
backend-dev
marmelab · 1 installs
database-optimizer
sickn33 · 1 installs
evernote-data-handling
jeremylongshore · 1 installs
managing-database-tests
jeremylongshore · 1 installs
monitoring-database-transactions
jeremylongshore · 1 installs
postgres-pro
Jeffallan · 0 installs
replit-data-handling
jeremylongshore · 1 installs
supabase-advanced-troubleshooting
jeremylongshore · 1 installs
supabase-load-scale
jeremylongshore · 1 installs
using-neon
davila7 · 1 installs
comparing-database-schemas
jeremylongshore · 1 installs
crdb-change
oxidecomputer · 1 installs
database-schema
alinaqi · 1 installs
implementing-database-caching
jeremylongshore · 1 installs
managing-database-replication
jeremylongshore · 1 installs
neon-postgres
davila7 · 1 installs
plain-optimize
dropseed · 1 installs
supabase-cost-tuning
jeremylongshore · 0 installs
supabase-enterprise-rbac
jeremylongshore · 1 installs
supabase-local-dev-loop
jeremylongshore · 0 installs
supabase-migration-deep-dive
jeremylongshore · 1 installs
supabase-multi-env-setup
jeremylongshore · 1 installs
supabase-observability
jeremylongshore · 0 installs
ideogram-data-handling
jeremylongshore · 0 installs
azure-postgres
Tyler-R-Kendrick · 0 installs
pgvector-search
edneymatias · 0 installs
database-schema-design
RepairYourTech · 0 installs
import-d1-database
townofus-pl · 0 installs
token-data-sources
justinchuby · 0 installs
database-designer
moshesham · 0 installs
Validate with Database
diegosouzapw · 0 installs
database-patterns
jacexh · 0 installs
data-sql
nholder88 · 0 installs
db-query
jishono · 0 installs
audit
senda-labs · 0 installs
environment-setup
studentdotai · 0 installs
alembic-best-practices
baekenough · 0 installs
alwib-backend
Tsuev · 0 installs
qruiq-google-auth
qruiqai · 0 installs
hiddenroom-supabase
cuvo1903-ctrl · 0 installs
branch-isolation
Peadarpol · 0 installs
Prisma & Database Architect
lst97 · 0 installs
ss14-migrations
mixed-soup · 0 installs
database-design
Harmitx7 · 0 installs
migrate-down
kalbasit · 0 installs
altinity-expert-clickhouse-metrics
ntk148v · 0 installs
manage-infra
jpmolinamatute · 0 installs
database-migration
Dokhacgiakhoa · 0 installs
product-map
esxr · 0 installs
schema-design
pwang347 · 0 installs
supabase-schema-change
omrilevi1994 · 0 installs

+35 more — browse all skills.

Frequently asked

How do these skills affect my agent's performance?
These files provide domain-specific instructions that ground the AI in PostgreSQL best practices. By including these in your project, the agent has immediate access to proven patterns for schema design and query optimization. This reduces hallucinated syntax errors and ensures the generated code aligns with your performance and security requirements.
Can I use multiple PostgreSQL skills at the same time?
Yes. These skills are modular by design. You can combine a schema design skill with a Supabase-specific integration or an RLS policy generator to handle different parts of your stack. Ensure the instructions do not overlap significantly to prevent the agent from receiving conflicting guidance during a single task.

Skills for other frameworks

Search skills

Search the agent skills registry