/ce:managing-databasesfrom ce
Provides database architecture and SQL guidance for PostgreSQL, DuckDB, Parquet, PGVector, and Neo4j. Helps with schema design, storage engine selection, SQL writing/review, indexing, query tuning, and vector/graph workloads.
Ships in ce. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Decision guidance for hybrid storage: PostgreSQL for transactional metadata, DuckDB over Parquet for analytics, PGVector for similarity search, Neo4j for relationship-heavy queries.
| Workload | Use | Why |
|---|---|---|
| Transactional CRUD, users, sessions, metadata with foreign keys | PostgreSQL | ACID, row locking, constraints |
| Aggregations, scans, ad-hoc exploration | DuckDB on Parquet | Columnar, vectorized, no ETL |
| Analytical storage and interchange | Parquet | Compressed, columnar, portable |
| Time series with point lookups | PostgreSQL + partitioning | Partition pruning plus indexes |
| Time series analytics | DuckDB on Parquet | Scan performance |
| Similarity search, RAG, hybrid keyword + vector | PostgreSQL + PGVector | Embeddings next to metadata |
| Multi-hop traversal, path finding, knowledge graphs | Neo4j | Index-free adjacency |
| Working on | Read |
|---|---|
| Postgres partitioning, autovacuum, maintenance | references/postgres-architecture.md |
| LATERAL, CTE materialization, DISTINCT ON, EXPLAIN red flags | references/postgres-querying.md |
| Planner misestimates on multi-column WHERE | references/postgres-extended-statistics.md |
| LIKE not using an index, composite index order, INCLUDE, param/column type mismatch | references/postgres-index-internals.md |
| FILTER, GROUPING SETS/ROLLUP/CUBE, NULLs in aggregates and windows | references/sql-aggregation-patterns.md |
| Pagination, NOT IN, DISTINCT-as-a-fix, correlated subqueries, functions in WHERE | references/sql-query-anti-patterns.md |
| DuckDB storage, threads, memory | references/duckdb-architecture.md |
| DuckDB-specific SQL | references/duckdb-querying.md |
| Parquet file sizing, partitioning, sort order | references/parquet-architecture.md |
| Parquet predicate pushdown and query tuning | references/parquet-querying.md |
| HNSW vs IVFFlat, index parameters | references/pgvector-architecture.md |
| Filtered and hybrid vector search | references/pgvector-querying.md |
| Graph modeling, indexes, supernodes | references/neo4j-architecture.md |
| Cypher tuning and anti-patterns | references/neo4j-querying.md |
These hold for any query against a large table:
WHERE (created_at, id) < ($1, $2)), not OFFSET.NOT EXISTS when the subquery column is nullable. NOT IN returns zero rows if any value is NULL.FILTER (WHERE ...) rather than CASE WHEN inside SUM.WHERE gets bad row estimates, add extended statistics before rewriting the query.WHERE and JOIN, not everything; tune autovacuum on high-churn tables.[*1..5]); pass parameters so plans cache.EXPLAIN (ANALYZE, BUFFERS). Look for seq scans on large tables, missing filter/join indexes, dead-tuple bloat in pg_stat_user_tables, and disk sorts that point at work_mem.SELECT * over remote data, thread count, needless casts.ef_search or probes, iterative scan, and IVFFlat recall after heavy updates.PROFILE and read bottom-up. AllNodesScan or NodeByLabelScan means a missing index; CartesianProduct means disconnected patterns; watch page_cache.hit_ratio below 98%.references/duckdb-architecture.md (opens in a new tab)references/duckdb-querying.md (opens in a new tab)references/neo4j-architecture.md (opens in a new tab)references/neo4j-querying.md (opens in a new tab)references/parquet-architecture.md (opens in a new tab)references/parquet-querying.md (opens in a new tab)references/pgvector-architecture.md (opens in a new tab)references/pgvector-querying.md (opens in a new tab)references/postgres-architecture.md (opens in a new tab)references/postgres-extended-statistics.md (opens in a new tab)references/postgres-index-internals.md (opens in a new tab)references/postgres-querying.md (opens in a new tab)references/sql-aggregation-patterns.md (opens in a new tab)references/sql-query-anti-patterns.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/architecting-systemsGuides clean, scalable system architecture during the build phase. Use when designing modules, defining boundaries, structuring projects, managing dependencies, or preventing tight coupling and brittleness as systems grow./deliverTakes a feature, plan or RFC to production-ready code merged to main, with emphasis on architecture and code quality. Adopts or writes a phased plan, has it critiqued against the codebase, scaffolds contracts, runs parallel subagent lanes, lands and tags each phase on a feature branch as it finishes, reviews every lane with a capped review cycle, and merges to main after approval. Use when asked to execute, implement or ship a plan or RFC, for "have DA review it, then implement", "implement, review and merge to main", or for work that needs full review depth. For timeboxed or prototype work, use sprint./designDesign direction and craft rules for product UIs (dashboards, admin tools, SaaS apps, data-heavy interfaces), with a list of AI-default styles to avoid and CSS or Tailwind implementation details. Use when building or restyling a page, component, layout, or theme, choosing color, type and spacing, or when a UI looks generic./effectWrites and reviews Effect v4 TypeScript code against the installed release instead of remembered Effect 3 APIs. Use when changing Effect services, layers, errors, schemas, resources, fibers, retries, config, logging, HttpApi or HttpClient, SQL, effect/cli commands or @effect/vitest tests./handling-errorsPrevents silent failures and context loss in error handling. Use when writing try-catch blocks, writing error messages or error responses, designing error propagation, reviewing catch blocks, or implementing Result patterns./planning-productsDefines product features from a PM perspective (JTBD, competitive research, scope negotiation) before technical planning. Use when scoping features, writing product specs, defining user problems, or choosing what to build.npx claudepluginhub rileyhilliard/claude-essentials --plugin ceOther plugins' skills for the same job