Skip to main content
Back to registry

postgresql-best-practices

mindrally/skills

Installs265
Install command
npx skills add https://github.com/mindrally/skills --skill postgresql-best-practices
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
- Leverage PostgreSQL's advanced features for robust data modeling - Optimize queries using EXPLAIN ANALYZE and proper indexing strategies - Use native PostgreSQL data types appropriately - Implement proper connection pooling and resource management - Follow PostgreSQL-specific security best practices - Use appropriate native types: UUID , JSONB , ARRAY , INET , CIDR - Prefer TIMESTAMPTZ over TIMESTAMP for timezone-aware applications - Use TEXT instead of VARCHAR when no length limit is needed - Consider NUMERIC for precise decimal calculations (financial data) - Use SERIAL or BIGSERIAL for auto-incrementing IDs, or UUID for distributed systems - Always define primary keys - Use foreign keys with appropriate ON DELETE/UPDATE actions - Add NOT NULL constraints where appropriate - Use CHECK constraints for data validation - Consider partitioning for large tables - Use declarative partitioning for large tables (millions of rows) - Choose appropriate partition strategy: RANGE, LIST, or HASH - Create indexes on partitioned tables after partitioning - Use B-tree indexes (default) for equality and range queries - Use GIN indexes for JSONB, arrays, and full-text search - Use GiST indexes for geometric data and range types - Use BRIN indexes for large, naturally ordered data - Consider partial indexes for filtered queries - Regularly run ANALYZE to update statistics - Use REINDEX for...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does postgresql-best-practices do?

postgresql-best-practices is listed in SkillJury, but the source summary is still sparse.

Is postgresql-best-practices good?

postgresql-best-practices does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does postgresql-best-practices work with?

postgresql-best-practices currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to postgresql-best-practices?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install postgresql-best-practices?

npx skills add https://github.com/mindrally/skills --skill postgresql-best-practices

Related skills

More from mindrally/skills

Related skills

Alternatives in Software Engineering