From xonovex-skill-sql-postgresql
Use when editing PostgreSQL 15+ queries, schemas, or migrations. Triggers on `.sql` files, migration files, schema files, and prompts about CTEs, indexing, JSONB, RLS, EXPLAIN ANALYZE, constraints, or partitioning, even when the user doesn't say 'Postgres'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xonovex-skill-sql-postgresql:sql-postgresql-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- PostgreSQL ≥ 15.
WHERE lower(email) = … misses an index on email; create a functional index insteadANALYZE updates planner statistics — bulk inserts without re-analyzing produce stale plans and full scansJSONB supports indexing (GIN); JSON doesn't — pick JSONB unless you specifically need preserved formattingBEGIN/COMMIT for atomicitySERIAL/BIGSERIAL is being deprecated in favor of GENERATED AS IDENTITY — same effect, cleaner semantics, no sequence-ownership odditiesGuides reception of code review feedback: verify before implementing, avoid performative agreement, push back with technical reasoning when needed.
Design banners for social media, ads, website heroes, and print with multiple art direction options and AI-generated visuals.
npx claudepluginhub xonovex/platform --plugin xonovex-skill-sql-postgresql