Skill: Supabase Postgres Best Practices
by Supabase
Supabase's official Postgres skill — eight rule categories ranked by impact, each with wrong-vs-right SQL and EXPLAIN output, for schema, RLS, indexing and query work on Postgres anywhere.
A PostgreSQL development skill from GitHub's awesome-copilot collection: JSONB, arrays, window functions, full-text search, index strategy, EXPLAIN ANALYZE and pg_stat_statements, with an optimization checklist.
PostgreSQL Optimization is a skill from awesome-copilot, the community-contributed collection of prompts, instructions and agent skills that GitHub maintains for Copilot and other coding agents. It turns the agent into a PostgreSQL-specific development assistant for the code you select or the whole project, focused on what PostgreSQL does that a generic SQL database does not.
The skill is a worked reference with SQL examples. It covers JSONB operations and the GIN indexes that make them fast, array types, window functions and analytics, full-text search with tsvector, custom types and domains, range and geometric types, and the extension ecosystem (uuid-ossp, pgcrypto, unaccent, pg_trgm, btree_gin). For performance it walks through query optimisation with EXPLAIN (ANALYZE, BUFFERS), finding slow queries in pg_stat_statements, checking connections in pg_stat_activity, index strategies and connection and memory settings, then maintenance work such as vacuuming and statistics.
It closes with patterns for pagination, aggregation and JSON queries, CTEs, an optimization checklist covering query analysis, index strategy, security and monitoring, and a fixed output format for reporting a query performance analysis. The skill was converted from a Copilot prompt and still references a ${selection} variable, so outside Copilot it applies to whatever code you point it at. MIT licensed.
Once installed, ask your agent something like:
Find out why this orders query is slow and suggest the right indexes for its JSONB filter.
The instructions your agent loads, as published by GitHub.
by Supabase
Supabase's official Postgres skill — eight rule categories ranked by impact, each with wrong-vs-right SQL and EXPLAIN output, for schema, RLS, indexing and query work on Postgres anywhere.
A PostgreSQL code-review skill from GitHub's awesome-copilot collection: checks schemas, JSONB and array usage, PL/pgSQL functions, extensions and Row Level Security against PostgreSQL-specific anti-patterns.
A PostgreSQL schema design checklist for agents: primary keys, data types to prefer and avoid, constraints, B-tree/GIN/GiST/BRIN indexes, partitioning and JSONB, with PostgreSQL-specific gotchas and worked DDL.
by .NET Team at Microsoft
Make slow Entity Framework Core queries fast — read the generated SQL first, fix N+1s, cartesian Include explosions and non-sargable predicates, then re-measure one change at a time.