Tags

Best Database Skills for AI Agents

396 Database skills for AI coding assistants — ranked by popularity.

This collection provides targeted skill files for AI agents like Claude Code, Cursor, and Codex, focused specifically on database management and backend integration. Whether you are scaffolding a schema with Drizzle, optimizing SQL query performance, or setting up a full-stack project with Supabase or Payload CMS, these files define the context and patterns your agent needs to succeed. These skills are for developers who want to reduce boilerplate and improve coding accuracy in database-heavy applications. By importing these configs, you allow your agent to understand complex tools like Entity Framework Core, Qdrant vector search, or the psql interactive terminal. You will find specific guidance for type branding in Drizzle, building REST or gRPC services with .NET, and writing efficient PostgreSQL migrations. This is a practical resource for automating routine database operations and ensuring your agent adheres to specific structural standards across your repository.

Top Database skills

drizzle

lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

238873

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

supabase-developer

daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

95185

payload

payloadcms

Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

73206

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

qdrant-vector-search

zechenzhangAGI

High-performance vector similarity search engine for RAG and semantic search. Use when building production RAG systems requiring fast nearest neighbor search, hybrid search with filtering, or scalable vector storage with Rust-powered performance.

18161

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

snowflake-connections

sfc-gh-dflippo

Configuring Snowflake connections using connections.toml (for Snowflake CLI, Streamlit, Snowpark) or profiles.yml (for dbt) with multiple authentication methods (SSO, key pair, username/password, OAuth), managing multiple environments, and overriding settings with environment variables. Use this skill when setting up Snowflake CLI, Streamlit apps, dbt, or any tool requiring Snowflake authentication and connection management.

7130

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

agentdb-memory-patterns

ruvnet

Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.

9107

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

agentdb-advanced-features

ruvnet

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.

798

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

senior-data-engineer

davila7

World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data architectures, building data pipelines, optimizing data workflows, or implementing data governance.

2179

moai-domain-database

modu-ai

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

1178

django-pro

sickn33

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.

2066

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

sqlite-inspector

mikopbx

Проверка консистентности данных в SQLite баз данных MikoPBX после операций REST API. Использовать при валидации результатов API, отладке проблем с данными, проверке связей внешних ключей или инспектировании CDR записей для тестирования.

568

powerbi-modeling

github

Power BI semantic modeling assistant for building optimized data models. Use when working with Power BI semantic models, creating measures, designing star schemas, configuring relationships, implementing RLS, or optimizing model performance. Triggers on queries about DAX calculations, table relationships, dimension/fact table design, naming conventions, model documentation, cardinality, cross-filter direction, calculation groups, and data model best practices. Always connects to the active model first using power-bi-modeling MCP tools to understand the data structure before providing guidance.

1161

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

firebase

davila7

Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers Firebase Authentication, Firestore, Realtime Database, Cloud Functions, Cloud Storage, and Firebase Hosting. Key insight: Firebase is optimized for read-heavy, denormalized data. I

2050

agentdb-performance-optimization

ruvnet

Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.

656

How to choose a Database skill

Select a skill based on the specific stack you are using in your project. Check the metadata to see if the skill aligns with your framework, such as Drizzle ORM for TypeScript or Entity Framework for .NET. Look for the scope of the file; some offer general terminal guidance like psql, while others are purpose-built for specialized tasks like RAG via Qdrant. Prioritize skills that match your specific coding patterns, and review the recent commit history to ensure the definitions remain compatible with current versions of your chosen database technology.

More Database skills

senior-backend
davila7 · 14 installs
database-design
davila7 · 6 installs
vector-database-engineer
sickn33 · 8 installs
sqlmap-database-penetration-testing
davila7 · 4 installs
redis-inspect
civitai · 6 installs
backend-development
skillcreatorai · 17 installs
snowflake-semanticview
github · 5 installs
postgresql
sickn33 · 9 installs
prisma-expert
davila7 · 12 installs
generating-database-seed-data
jeremylongshore · 10 installs
supabase-postgres-best-practices
davila7 · 4 installs
neo4j-cypher-guide
tomasonjo · 6 installs
convex-backend
CloudAI-X · 8 installs
data-quality-frameworks
wshobson · 6 installs
database-schema-designer
davila7 · 6 installs
fuzzy-matching
dadbodgeoff · 8 installs
query-writing
langchain-ai · 7 installs
data-engineer
sickn33 · 3 installs
database-migration
wshobson · 3 installs
laravel-specialist
Jeffallan · 12 installs
pgvector-semantic-search
timescale · 4 installs
clickhouse-io
affaan-m · 6 installs
design-postgres-tables
timescale · 3 installs
epic-database
epicweb-dev · 3 installs
sql-pro
sickn33 · 3 installs
jpa-patterns
affaan-m · 3 installs
chroma
davila7 · 2 installs
googlesheets-automation
sickn33 · 3 installs
parse-table
JaguarJack · 3 installs
sql-research
tidyverse · 3 installs
storage-format
tursodatabase · 2 installs
write-script-duckdb
windmill-labs · 3 installs
database-migrations-sql-migrations
sickn33 · 3 installs
supabase-performance-tuning
jeremylongshore · 4 installs
nosql-expert
davila7 · 2 installs
schema-exploration
langchain-ai · 3 installs
convex-functions
waynesutton · 4 installs
cloudflare-d1
alinaqi · 2 installs
database-migrations
dadbodgeoff · 3 installs
database-migrations-migration-observability
sickn33 · 2 installs
query-builder
clidey · 4 installs
database-documentation-gen
jeremylongshore · 2 installs
nuxthub
onmax · 1 installs
postgres-hybrid-text-search
timescale · 1 installs
aws-aurora
alinaqi · 1 installs
data-safety-auditor
ananddtyagi · 3 installs
batch-processing
dadbodgeoff · 2 installs
analyzing-query-performance
jeremylongshore · 1 installs
find-hypertable-candidates
timescale · 1 installs
postgresql-syntax-reference
pgschema · 1 installs
whodb
clidey · 1 installs
cloudbase-document-database-web-sdk
TencentCloudBase · 1 installs
cloudbase-guidelines
TencentCloudBase · 1 installs
detecting-sql-injection-vulnerabilities
jeremylongshore · 3 installs
agentdb-vector-search
ruvnet · 0 installs
cloudbase-document-database-in-wechat-miniprogram
TencentCloudBase · 1 installs
database-admin
sickn33 · 1 installs
database-development
vm0-ai · 1 installs
databases
mrgoonie · 1 installs
writing-hashql-jexpr
hashintel · 2 installs
azure-resource-manager-redis-dotnet
microsoft · 1 installs
azure-storage-blob-java
microsoft · 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
azure-resource-manager-mysql-dotnet
microsoft · 1 installs
data-model-creation
TencentCloudBase · 1 installs
database-architect
sickn33 · 1 installs
hugging-face-datasets
patchy631 · 1 installs
linear-data-handling
jeremylongshore · 1 installs
managing-database-partitions
jeremylongshore · 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
supabase-python
alinaqi · 0 installs
add-module
fullstackhero · 1 installs
azure-resource-manager-postgresql-dotnet
microsoft · 1 installs
azure-resource-manager-sql-dotnet
microsoft · 1 installs
create-migration
owid · 1 installs
create-module
mx-space · 1 installs
event-sourcing-architect
sickn33 · 1 installs
k8s-storage
rohitg00 · 1 installs
local-cluster-manager
multigres · 2 installs
more-vaults
tradingstrategy-ai · 1 installs
neon-instagres
davila7 · 1 installs
pagination
dadbodgeoff · 1 installs
redis-js
upstash · 1 installs
run-tests
pgschema · 1 installs
sqlite-map-parser
benchflow-ai · 1 installs
supabase-data-handling
jeremylongshore · 1 installs
test-with-postgres
storj · 1 installs
transaction-correctness
tursodatabase · 1 installs
aws-dynamodb
alinaqi · 1 installs

+276 more — browse all skills.

Frequently asked

Can I use multiple database skills at the same time?
Yes. AI agents can process multiple skill definitions simultaneously. If your project uses Drizzle for ORM and Qdrant for vector search, you can include both files. Ensure your agent prompts clearly define when to use which skill to avoid conflicts between different schema management patterns or database drivers.
How do these skills improve my database performance?
Skills like sql-optimization-patterns provide agents with actionable rules for EXPLAIN analysis and indexing strategies. By incorporating these into your agent workflow, the AI applies performance best practices during the coding phase rather than after the database is deployed. This helps in identifying slow queries and optimizing schema design before execution.

Browse other tags

Search skills

Search the agent skills registry