From beagle-python
Reviews PostgreSQL code for indexing strategies, JSONB operations, connection pooling, and transaction safety. Use when reviewing SQL queries, database schemas, JSONB usage, or connection management.
How this skill is triggered — by the user, by Claude, or both
Slash command
/beagle-python:postgres-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Issue Type | Reference |
| Issue Type | Reference |
|---|---|
| Missing indexes, wrong index type, query performance | references/indexes.md |
| JSONB queries, operators, GIN indexes | references/jsonb.md |
| Connection leaks, pool configuration, timeouts | references/connections.md |
| Isolation levels, deadlocks, advisory locks | references/transactions.md |
->, ->>, @>, ?)Use this sequence so conclusions stay evidence-bound (not “I checked mentally”):
file:line). Pass: each such finding includes that citation.Then load the relevant reference doc from Quick Reference and walk the Review Checklist.
npx claudepluginhub existential-birds/beagle --plugin beagle-pythonReviews PostgreSQL code for best practices, anti-patterns, JSONB operations, array usage, custom types, schema design, function optimization, and security features like Row Level Security.
Optimizes PostgreSQL databases with strategies for indexes, query plan analysis, partitioning, JSONB operations, and connection pooling.
Reviews SQL queries for performance anti-patterns, missing indexes, N+1 queries, and unsafe operations. Analyzes raw SQL, ORM queries, and migration scripts for optimization.