compound-eng-postgresqlPostgreSQL schema design, query optimization, indexing, and administration. Use when working with PostgreSQL, JSONB, partitioning, RLS, CTEs, window function...
Install via ClawdBot CLI:
clawdbot install iliaal/compound-eng-postgresqlGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated May 7, 2026
Design a PostgreSQL schema for an e-commerce platform with orders, products, and customers. Leverage JSONB for dynamic product attributes, implement RLS for multi-tenancy, and optimize query performance using composite indexes and partial indexes on order status.
Build a real-time analytics dashboard using PostgreSQL materialized views and partitioning. Use RANGE partitioning on timestamp columns for time-series data, and BRIN indexes for fast aggregation queries on large datasets.
Implement row-level security (RLS) to isolate tenant data in a shared PostgreSQL database. Use JSONB for flexible tenant-specific configurations, and ensure performance with expression indexes on common query patterns.
Design a PostgreSQL-backed fraud detection system that uses GIN indexes on JSONB data for rapid pattern matching against transaction metadata. Implement exclusion constraints to prevent overlapping transaction windows and use advisory locks for concurrent processing.
Create a content management system that leverages PostgreSQL full-text search with GIN indexes on tsvector columns. Use partial indexes to filter by content status, and materialized views for caching popular search results.
Offer a free tier with limited database queries and storage, enforced via PostgreSQL row-level security and custom functions tracking usage. Upsell premium features like higher query limits and advanced analytics.
Provide a RESTful API for real-time analytics, charging per query or per data point. Use PostgreSQL's pg_stat_statements to monitor query performance and bill customers based on their actual usage.
Enable third-party data providers to list datasets in a marketplace, with PostgreSQL enforcing access control via RLS and JSONB for flexible schema. Charge a commission on each data sale or a flat listing fee.
💬 Integration Tip
Use pg_stat_statements to identify slow queries and index opportunities. For multi-tenant apps, always force RLS on all tables and use security definer functions for complex policy checks.
Scored Jun 23, 2026
Use Redis effectively for caching, queues, and data structures with proper expiration and persistence.
MarkItDown is a Python utility from Microsoft for converting various files (PDF, Word, Excel, PPTX, Images, Audio) to Markdown. Useful for extracting structu...
Database Designer - POWERFUL Tier Skill
Skill Oracle — Curated documentation of quality ClawHub skills. Markdown tables telling agents which tools work and which are empty. Not an API or code library.
Database Schema Designer
Use when optimizing SQL queries, designing database schemas, or tuning database performance. Invoke for complex queries, window functions, CTEs, indexing strategies, query plan analysis.