Postgres Patterns
PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.
- Type
- Skill
- Author
- affaan-m
- Category
- Database
- GitHub stars
- 290.0K
- Installs
- 5.3K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/affaan-m/ecc --skill postgres-patternsUse cases
- Design a schema with indexing that fits common query patterns.
- Tune slow PostgreSQL queries using optimization guidance.
- Review database security settings against Supabase best practices.
Frequently Asked Questions
What is the guidance based on?
It is based on Supabase best practices for PostgreSQL.
Which topics does it cover?
Query optimization, schema design, indexing, and security.
Is it aimed at beginners or experienced backend developers?
It is practical guidance aimed at backend developers designing schemas or tuning queries.
About this skill
Collects PostgreSQL patterns for query optimization, schema design, indexing, and security, based on Supabase best practices. It's aimed at backend developers designing schemas or tuning queries. The guidance is practical rather than theoretical, oriented around common Postgres workloads.
Summary written with AI assistance from the project's public description.
More from affaan-m
Video Editing
AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg...
by affaan-m
Docker Patterns
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
by affaan-m
Security Review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive fea...
by affaan-m
Backend Patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
by affaan-m
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh