Agent skill · Data & Analytics

postgresql-optimization

PostgreSQL-specific development assistant focusing on unique PostgreSQL features, advanced data types, and PostgreSQL-exclusive capabilities. Covers JSONB operations, array types, custom types, range/geometric types, full-text search, window functions, and PostgreSQL extensions ecosystem.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill postgresql-optimization --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/postgresql-optimization/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# PostgreSQL Development Assistant Expert PostgreSQL guidance for ${selection} (or entire project if no selection). Focus on PostgreSQL-specific features, optimization patterns, and advanced capabilities. ## � PostgreSQL-Specific Features ### JSONB Operations ```sql -- Advanced JSONB queries CREATE TABLE events ( id SERIAL PRIMARY KEY, data JSONB NOT NULL, created_at TIMESTAMPTZ DEFAULT NOW() ); -- GIN index for JSONB performance CREATE INDEX idx_events_data_gin ON events USING gin(data); -- JSONB containment and path queries SELECT * FROM events WHERE data @> '{"type": "login"}' AND data #>> '{user,role}' = 'admin'; -- JSONB aggregation SELECT jsonb_agg(data) FROM events WHERE data ? 'user_id'; ``` ### Array Operations ```sql -- PostgreSQL arrays CREATE TABLE posts ( id SERIAL PRIMARY KEY, tags TEXT[], categories INTEGER[] ); -- Array queries and operations SELECT * FROM posts WHERE 'postgresql' = ANY(tags); SELECT * FROM posts WHERE tags && ARRAY['database', 'sql']; SELECT * FROM posts WHERE array_length(tags, 1) > 3; -- Array aggregation SELECT array_agg(DISTINCT category) FROM posts, unnest(categories) as category; ``` ### Window Functions & Analytics ```sql -- Advanced window

What's inside
Steps it walks through
  1. � PostgreSQL-Specific Features
  2. JSONB Operations
  3. Array Operations
  4. Window Functions & Analytics
  5. Full-Text Search
  6. � PostgreSQL Performance Tuning
  7. Query Optimization
  8. Index Strategies
  9. Connection & Memory Management
  10. �️ PostgreSQL Advanced Data Types
  11. Custom Types & Domains
  12. Range Types
  13. Geometric Types
  14. 📊 PostgreSQL Extensions & Tools
More from awesome-copilot
All skills →
About this skill
What does the postgresql-optimization skill do?

PostgreSQL-specific development assistant focusing on unique PostgreSQL features, advanced data types, and PostgreSQL-exclusive capabilities. Covers JSONB operations, array types, custom types, range/geometric types, full-text search, window functions, and PostgreSQL extensions ecosystem.

How do I install it?

Run `npx skills add github/awesome-copilot --skill postgresql-optimization --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going