architecting-systems
Guides clean, scalable system architecture during the build phase. Use when designing modules, defining boundaries, structuring…
Guides database architecture for PostgreSQL, DuckDB, Parquet, PGVector, and Neo4j. Use when designing schemas, choosing storage strategies, optimizing queries, configuring vector or graph workloads, or diagnosing performance issues.
$ npx -y skills add rileyhilliard/claude-essentials --skill managing-databases --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/managing-databasesContext preview
The summary Claude sees to decide when to auto-load this skill.
Guides database architecture for PostgreSQL, DuckDB, Parquet, PGVector, and Neo4j. Use when designing schemas, choosing storage strategies, optimizing queries, configuring vector or graph workloads, or diagnosing performance issues.
name: managing-databases description: Guides database architecture for PostgreSQL, DuckDB, Parquet, PGVector, and Neo4j. Use when designing schemas, choosing storage strategies, optimizing queries, configuring vector or graph workloads, or diagnosing performance issues.
Decision guidance for PostgreSQL, DuckDB, Parquet, and Neo4j in hybrid storage architectures.
| Workload | Use | Why | | ------------------------------------- | ------------------------- | ----------------------------------- | | Transactional (CRUD, users, sessions) | PostgreSQL | ACID, row-level locking, indexes | | Analytical (aggregations, scans) | DuckDB | Columnar, vectorized, parallel | | Data storage/interchange | Parquet | Compressed, columnar, portable | | Metadata + relationships | PostgreSQL | Foreign keys, constraints | | Ad-hoc exploration | DuckDB | Fast on Parquet, no ETL needed | | Time-series with point lookups | PostgreSQL + partitioning | Partition pruning + indexes | | Time-series analytics | DuckDB on Parquet | Scan performance | | Vector similarity search | PostgreSQL + PGVector | HNSW/IVFFlat indexes, hybrid search | | RAG / semantic search | PostgreSQL + PGVector | Embeddings + metadata in same DB | | Graph traversals / relationships | Neo4j | Native graph, index-free adjacency | | Pattern matching / fraud detection | Neo4j | Multi-hop traversal, path finding | | Knowledge graphs / ontologies | Neo4j | Flexible schema, relationship-first |
**Hybrid pattern example:**
**Use for:** Metadata, relationships, OLTP workloads, anything needing ACID.
**Key decisions:**
See [references/postgres-architecture.md](references/postgres-architecture.md) for maintenance patterns. See [references/postgres-querying.md](references/postgres-querying.md) for advanced query techniques.
**Use for:** Analytics, aggregations, Parquet queries, data exploration.
**Key decisions:**
See [references/duckdb-architecture.md](references/duckdb-architecture.md) for storage and parallelism. See [references/duckdb-querying.md](references/duckdb-querying.md) for DuckDB-specific SQL features.
**Use for:** Storing analytical data, data interchange, columnar compression.
**Key decisions:**
See [references/parquet-architecture.md](references/parquet-architecture.md) for file design. See [references/parquet-querying.md](references/parquet-querying.md) for query optimization.
**Use for:** Similarity search, RAG applications, semantic search, recommendations.
**Key decisions:**
See [references/pgvector-architecture.md](references/pgvector-architecture.md) for index configuration. See [references/pgvector-querying.md](references/pgvector-querying.md) for hybrid search and filtering.
**Use for:** Graph traversals, relationship-heavy queries, pattern matching, knowledge graphs.
**Key decisions:**
See [references/neo4j-architecture.md](references/neo4j-architecture.md) for data modeling, indexing, and maintenance. See [references/neo4j-querying.md](references/neo4j-querying.md) for Cypher optimization and anti-patterns.
1. Run `EXPLAIN (ANALYZE, BUFFERS)` on the query 2. Check for sequential scans on large tables 3. Verify indexes exist on filter/join columns 4. Check `pg_stat_user_tables` for bloat (dead tuples) 5. Review `work_mem` if seeing disk sorts
1. Check if reading CSV instead of Parquet 2. Verify not doing `SELECT *` on remote data 3. Check thread count matches workload 4. Look for unnecessary type conversions
1. Verify predicate pushdown is working (check query plan) 2. Check file sizes (too small = overhead, too large = no parallelism) 3. Confirm data is sorted by filter columns 4. Look for high-cardinality partition keys (too many small files)
1. Verify index exists and is being used (EXPLAIN) 2. Check `ef_search` (HNSW) or `probes` (IVFFlat) settings 3. Enable iterative scan for filtered queries 4. Check if IVFFlat recall degraded
A unified development plugin for Claude Code with essential skills and specialized agents, all accessible under the ce namespace.
Guides clean, scalable system architecture during the build phase. Use when designing modules, defining boundaries, structuring…
Enforces precise, minimal design for dashboards and admin interfaces. Use when building SaaS UIs, data-heavy interfaces, or any…
Executes implementation plans directly with a verification gate and conditional code review. Use when carrying out a written plan…
Diagnose and fix tests that pass in isolation but fail when run concurrently. Covers shared state isolation, resource conflicts,…
Prevents silent failures and context loss in error handling. Use when writing try-catch blocks, designing error propagation,…
Guides GitHub Actions CI/CD architecture, security hardening, and deployment strategies. Use when designing workflows, securing…