
Postgresql Code Review
The postgresql-code-review skill performs expert code reviews specifically for PostgreSQL projects, evaluating code against PostgreSQL best practices and identifying anti-patterns in areas like JSONB operations, array usage, schema design, custom types, and security features such as Row Level Security. It targets PostgreSQL developers and database architects who need to ensure their code adheres to PostgreSQL-specific quality standards rather than generic SQL conventions. The skill solves the problem of applying database-agnostic review practices to PostgreSQL codebases, where PostgreSQL-exclusive features and optimization techniques are often overlooked.
- install copies Β· 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 8
- skills.sh installs
- 12.8K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill postgresql-code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
PostgreSQL Code Review Assistant
Expert PostgreSQL code review for ${selection} (or entire project if no selection). Focus on PostgreSQL-specific best practices, anti-patterns, and quality standards that are unique to PostgreSQL.
π― PostgreSQL-Specific Review Areas
JSONB Best Practices
-- β BAD: Inefficient JSONB usage
SELECT * FROM orders WHERE data->>'status' = 'shipped'; -- No index support
-- β
GOOD: Indexable JSONB queries
CREATE INDEX idx_orders_status ON orders USING gin((data->'status'));
SELECT * FROM orders WHERE data @> '{"status": "shipped"}';
-- β BAD: Deep nesting without consideration
UPDATE orders SET data = data || '{"shipping":{"tracking":{"number":"123"}}}';
-- β
GOOD: Structured JSONB with validation
ALTER TABLE orders ADD CONSTRAINT valid_status
CHECK (data->>'status' IN ('pending', 'shipped', 'delivered'));
Array Operations Review
-- β BAD: Inefficient array operations
SELECT * FROM products WHERE 'electronics' = ANY(categories); -- No index
-- β
GOOD: GIN indexed array queries
CREATE INDEX idx_products_categories ON products USING gin(categories);
SELECT * FROM products WHERE categories @> ARRAY['electronics'];
Sponsors
Details
More from github/awesome-copilot
All 318- Create Implementation Plan12.6K
- Webapp Testing12.5K
- Architecture Blueprint Generator12.3K
- Typescript Mcp Server Generator12.1K
- Java Junit11.8K
- Dotnet Design Pattern Review11.7K
- Dotnet Upgrade11.7K
- Apple Appstore Reviewer11.5K
- Review And Refactor11.1K
- Update Implementation Plan11.1K
- Make Repo Contribution11.1K
- Csharp Async11.1K
- Editorconfig11K
- Create Github Action Workflow Specification10.8K
- Java Docs10.8K
- Python Mcp Server Generator10.5K
- Csharp Xunit10.4K
- Ai Prompt Engineering Safety Review10.4K
- Agentic Eval10.3K
- Create Architectural Decision Record10.3K
- Breakdown Feature Prd10.1K
- Refactor Method Complexity Reduce10K
- Powerbi Modeling10K
- Pdftk Server10K