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 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.
PostgreSQL Code Review 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 reviews SQL and schema changes the way a PostgreSQL specialist would, judging code by whether it uses PostgreSQL's own features well rather than treating it as a generic SQL database.
Each review area pairs bad and good examples in SQL. JSONB review checks that filters can use an index (containment with @> on a GIN index rather than ->> comparisons) and that structured documents carry CHECK constraints. Array review looks at operators and indexing. Schema review covers data type choices, custom types and domains. An anti-patterns section lists performance, schema design and function or trigger issues to flag.
Security gets its own section: Row Level Security policies and privilege management, so a review catches tables exposed without RLS or roles granted more than they need. Extension usage is reviewed too. The skill ends with a code quality checklist (schema design, performance, use of PostgreSQL features, security and compliance) and seven review guidelines from data types to security implementation.
It pairs naturally with the PostgreSQL Optimization skill from the same collection: one improves queries, the other reviews changes before they merge. Converted from a Copilot prompt; MIT licensed.
Once installed, ask your agent something like:
Review this migration and its PL/pgSQL trigger before I merge it.
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 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.
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 Google
Google's official AlloyDB for PostgreSQL skill — cluster and instance lifecycle from gcloud, plus hard rules on private connectivity, IAM database auth and backup behaviour.