From Claude DB
Checks configuration correctness of vector, time-series, graph, and search databases. Ensures dimension matching, index tuning, partitioning, compression, and effective indexing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-db:db-specialized-fitThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
M20 covers purpose-built engines whose correctness depends on parameters a generic relational audit
M20 covers purpose-built engines whose correctness depends on parameters a generic relational audit
ignores. Sub-modules carry a letter (M20a..M20d); the scorer maps them to the parent M20 in the
paradigm profile (Vector / Time-series / Graph categories in references/scoring-model.md).
Feeds: design (Métrica & dimensión, Modelo-version, Metadata/filtro) + performance (Índice & params, Búsqueda filtrada, Recall-vs-latencia).
vector(1536) for text-embedding-3-small). A mismatch is a hard bug (design, sev 5).directional and do not cap (per scoring-model honesty rule).m, ef_construction, ef_search) or IVFFlat (lists/probes)
declared, not a brute-force seq scan on a large table (performance).Feeds: design (Hypertable-fit, Retención, Precisión-ts & tz) + performance (Chunk/retención, Continuous-agg, Compresión, Query).
timestamptz/UTC, not naive local time (shares the M4 rule).Feeds: design (Modelado-aristas, Nodos/traversal) + performance (Índice-lookup, Traversal, Supernodo).
CREATE CONSTRAINT ... IS UNIQUE), so traversals don't begin with a full label scan.directional.Feeds: design (mapping/analyzer correctness) + performance (query/shard layout).
Parse declared schema/config: pgvector vector(N) columns + CREATE INDEX ... USING hnsw/ivfflat;
Qdrant/Pinecone collection config (size, distance); Timescale create_hypertable/add_*_policy;
ClickHouse ENGINE = MergeTree ... ORDER BY; Neo4j constraint/index DDL; ES mappings/settings JSON.
Cross-check declared embedding-model dim/metric against any model id referenced in repo code.
SELECT indexdef FROM pg_indexes WHERE indexdef ILIKE '%hnsw%' OR indexdef ILIKE '%ivfflat%';
and \d <table> for the vector(N) dim.SELECT * FROM timescaledb_information.hypertables; and ...continuous_aggregates;.SHOW INDEXES; SHOW CONSTRAINTS; and per-node degree for supernode (MATCH (n) RETURN ...).GET /<index>/_mapping, GET /<index>/_settings. When the engine isn't reachable → needs_api.Emit per schema/finding.schema.json. Example ids:
M20a.embeddings.dim_mismatch — vector(768) but model emits 1536 (fail, severity 5, axis design,
confidence established when the model id is in-repo).M20a.embeddings.metric_mismatch — index uses L2 but model trained for cosine (fail, severity 5 only
if model declared, else warn/directional, axis both).M20a.embeddings.no_ann_index — seq scan vector search (warn, severity 4, axis performance).M20b.metrics.no_hypertable — large time table not a hypertable (warn, severity 4, axis both).M20c.users.unindexed_traversal_root — traversal start property unindexed (warn, severity 3, perf).
Each finding: evidence.observed quotes the real DDL/collection config verbatim (secrets redacted);
verification.reproduce is a runnable command above using $DATABASE_URL; verification.method is
schema_introspect, index_check, ddl_parse, or explain_plan; expected_impact carries
{axis, confidence, magnitude, rationale} — banded, never a naked %.directional and never cap. Supernode/hot-partition sev-5 needs live degree
evidence; otherwise directional or needs_api, never a silent pass.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
npx claudepluginhub hainrixz/claude-db --plugin claude-db