Commit Graph

12 Commits

Author SHA1 Message Date
Pedro Rodrigues
8df22b058d chore: bump version to 1.0.0 (#4)
Update version from 0.1.0 to 1.0.0 across all files:
- skills/postgres-best-practices/AGENTS.md
- skills/postgres-best-practices/SKILL.md
- skills/postgres-best-practices/metadata.json
- packages/postgres-best-practices-build/package.json
- packages/postgres-best-practices-build/package-lock.json
- packages/postgres-best-practices-build/src/build.ts

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 15:40:53 +00:00
Pedro Rodrigues
0666f21a0c Add installation command (#3) 2026-01-21 15:36:33 +00:00
Pedro Rodrigues
ea93449304 Revert "add ci job"
This reverts commit 5d2a4ee329.
2026-01-21 15:25:02 +00:00
Pedro Rodrigues
5d2a4ee329 add ci job 2026-01-21 15:23:25 +00:00
Pedro Rodrigues
a1b0257ec2 feat: Add initial PostgreSQL best practices rules (#1)
* Add 30 PostgreSQL best practices rules

Rules organized in 8 categories:
- Query Performance (5): indexes, partial indexes, composite, covering, types
- Connection Management (4): pooling, limits, idle timeout, prepared statements
- Schema Design (4): data types, primary keys, foreign key indexes, partitioning
- Concurrency & Locking (4): short transactions, SKIP LOCKED, advisory, deadlocks
- Security (3): RLS basics, RLS performance, privileges
- Data Access Patterns (4): N+1 queries, pagination, upsert, batch inserts
- Monitoring (3): EXPLAIN ANALYZE, pg_stat_statements, VACUUM/ANALYZE
- Advanced Features (3): JSONB indexing, full-text search, CTE materialization

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Update skills/postgresql-best-practices/rules/schema-primary-keys.md

Co-authored-by: samrose <samuel.rose@gmail.com>

* Update skills/postgresql-best-practices/rules/lock-deadlock-prevention.md

Co-authored-by: samrose <samuel.rose@gmail.com>

* resolve merge conflicts from postgres team suggestions

* Delete GETTING_STARTED.md

* Restore all 30 rule files that were lost during rebase

* update agents.md

* remove postgres 11 mention to advanced cte optimization

* update agents.md

* replace advanced cte with check contraints

* replace check contraints with schema lowercase identifiers

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: samrose <samuel.rose@gmail.com>
2026-01-21 15:09:06 +00:00
Pedro Rodrigues
6cd3bcf6b7 Add root package.json with build and validate scripts 2026-01-19 20:02:44 +00:00
Pedro Rodrigues
892387b1b7 Update template files: rename postgresql to postgres 2026-01-19 19:52:53 +00:00
Pedro Rodrigues
06a4e68d30 Rename postgresql to postgres (keeping only existing files) 2026-01-19 19:31:34 +00:00
Pedro Rodrigues
9ac9bcc495 Dremove installation step 2026-01-16 15:17:10 +07:00
Pedro Rodrigues
4000ac7107 add info to project root 2026-01-16 14:33:29 +07:00
Pedro Rodrigues
54ff36b38e small fixes 2026-01-16 14:22:53 +07:00
Pedro Rodrigues
0a543e1b4a Initial setup: PostgreSQL best practices repository
Skeleton structure for Supabase PostgreSQL experts to add performance
optimization rules. Modeled after Vercel's react-best-practices-build.

Includes:
- Build system (parser, validator, builder)
- Skill manifest and metadata
- Rule templates and writing guidelines
- CI workflow for validation
- Getting started guide for Postgres team

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 09:52:32 +07:00