Database skills
Database skills give your agent working knowledge of Postgres, Supabase, Firebase, Neon, and Convex so it writes correct queries, schemas, and migrations instead of generic SQL that needs rework.
What your agent can do with databases skills installed
- Design Postgres schemas with normalization, indexing, and row-level security
- Write Supabase queries, realtime subscriptions, and edge functions
- Set up authentication with correctly scoped row-level security
- Implement reactive Convex queries, mutations, and scheduled functions
- Configure Firestore rules, indexes, and production-scale data structures
- Run Neon and PlanetScale branch-per-pull-request workflows
- Define type-safe Drizzle schemas and migrations
- Use Turso for edge-replicated SQLite workloads
- Query local files and Parquet data with DuckDB
Skills in this category
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
supabasesupabase/agent-skillsUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, declarative schemas, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector); debugging and troubleshooting errors or unexpected behavior on Supabase projects (HTTP errors, Postgres errors, RLS surprises, permission denied, schema cache issues, timeouts, Edge Function crashes, Realtime drops, Storage failures) and reading or querying logs (Logs Explorer, ClickHouse).
firebase-basicsfirebase/agent-skills>-
firebase-auth-basicsfirebase/agent-skillsGuide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
firebase-firestore-enterprise-native-modefirebase/agent-skillsComprehensive guide for Firestore enterprise native including provisioning, data model, security rules, and SDK usage. Use this skill when the user needs help setting up Firestore Enterprise with the Native mode, writing security rules, or using the Firestore SDK in their application.
convex-quickstartget-convex/agent-skillsGet a barebones Convex + web template running from a one-sentence idea.
convex-setup-authget-convex/agent-skillsconvex-setup-auth is published by get-convex/agent-skills. Review its source instructions before using it in an agent workflow.
neon-postgresneondatabase/agent-skills>-
postgresplanetscale/database-skillsPostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.
mysqlplanetscale/database-skillsPlan and review MySQL/InnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow/locking behavior; planning migrations; or troubleshooting replication and connection issues. Load when using a MySQL database.
queryduckdb/duckdb-skills>
drizzle-ormbobmatnyc/claude-mpm-skillsType-safe SQL ORM for TypeScript with zero runtime overhead
Works with your agent
Databases skills work with Claude Code, Cursor, GitHub Copilot, Windsurf, Cline, Codex, Gemini CLI, and agents that support the skills CLI.
Frequently asked questions
Which skill should I use for plain Postgres?
supabase-postgres-best-practices contains broadly applicable schema, index, and query guidance even outside Supabase.
Do Supabase and Firebase skills conflict?
No. The relevant skill is loaded on demand for the technology involved in the current task.
Why does Neon need its own skill?
Its branch-per-pull-request workflow and serverless connection behavior differ from standard Postgres deployments.
Is there a dedicated database migration skill?
Migration guidance lives inside each provider skill, with the Postgres best-practice skill offering the broadest general coverage.