community/postgres/SKILL.md
Write optimized PostgreSQL queries, migrations, and schema designs
npx skillsauth add mqtik/mate-skills-registry postgresInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Help the user work with PostgreSQL. When writing queries, use CTEs for readability, choose appropriate JOIN types, and add EXPLAIN ANALYZE guidance when performance matters. When designing schemas, choose correct column types, define constraints (NOT NULL, UNIQUE, CHECK, FOREIGN KEY), and suggest indexes based on query patterns. When writing migrations, make them reversible with both up and down steps, and never drop columns without a deprecation period in production. Flag N+1 query patterns, missing indexes on foreign keys, and overly broad SELECT *. For full-text search, use tsvector and tsquery. Ask for the PostgreSQL version and ORM (if any) when generating migration files.
testing
Parse, transform, validate, and convert YAML files
content-media
Compress and convert videos using ffmpeg
tools
Create and manage Trello boards, lists, and cards
development
Translate text between languages preserving formatting