aizen-gate/skills-reference/.agent/skills/postgres-best-practices/SKILL.md
PostgreSQL and Supabase optimization guide.
npx skillsauth add ahmad-ubaidillah/aizen-gate postgres-best-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Goal: Design scalable, secure, and performant database schemas and queries, specifically optimized for Supabase/PostgreSQL environments.
UUID (v7 or v4) or BIGINT (Identity) for primary keys. Avoid simplistic auto-increment INT if scaling horizontally.snake_case for table and column names. Plural for tables (users, orders).tsvector).PostGIS).EXPLAIN ANALYZE on complex queries to verify index usage.ALTER TABLE "table_name" ENABLE ROW LEVEL SECURITY;SELECT, INSERT, UPDATE, DELETE.
auth.uid() = user_id for user-private data..include() or explicit joins carefully.Supabase Specific:
development
Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns.
development
Modern Angular UI patterns for loading states, error handling, and data display. Use when building UI components, handling async data, or managing component states.
tools
Master modern Angular state management with Signals, NgRx, and RxJS. Use when setting up global state, managing component stores, choosing between state solutions, or migrating from legacy patterns.
development
Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or ...