Content
78%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
An unusually strong single-file reference: executable SQL everywhere, concrete tuning values, honest uncertainty labels on benchmarks, and a symptom→fix troubleshooting table that serves as an error-recovery feedback loop. The main gaps are structural — it is a ~320-line monolith with no progressive disclosure via reference files — plus a slightly padded conceptual opening and no consolidated end-to-end setup→validation sequence.
Suggestions
Move detail-heavy material (the RAM/capacity tables, binary quantization deep-dive, pgvectorscale alternative, and bulk-loading specifics) into a references/ file such as references/quantization.md, keeping SKILL.md as a lean overview with clearly signaled one-level-deep links.
Replace the opening conceptual paragraph about what semantic search and embedding models are with a single sentence, since this is knowledge Claude already has.
Consolidate the Golden Path, Core Rules, and Performance by Dataset Size sections into one ordered setup→load→index→query→validate sequence with explicit validation checkpoints (EXPLAIN ANALYZE and recall-comparison) at each stage.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is dense and efficient — nearly every section delivers pgvector-specific tuning knowledge Claude cannot be assumed to know (ef_search recall/speed tables, halfvec capacity-per-RAM tables, iterative-scan budgets, an 80x oversampling rationale), with no library-selection fluff. It drops to 4 rather than 5 because the opening paragraph explains concepts Claude already knows ('Semantic search finds content by meaning rather than exact keywords. An embedding model converts text into high-dimensional vectors, where similar meanings map to nearby points') and some table rows restate the same recall/latency tradeoff three times (ef_search table, 'Performance by Dataset Size', and 'Key rules'). | 4 / 5 |
Actionability | Guidance is fully executable and copy-paste ready throughout: complete CREATE TABLE / CREATE INDEX statements, exact parameter values ('m = 16, ef_construction = 64', 'SET hnsw.ef_search = 100', 'lists = 1000'), a complete working binary-quantization query with re-ranking, bulk-loading COPY and maintenance_work_mem commands, and debugging SQL (EXPLAIN (ANALYZE, BUFFERS), enable_indexscan toggles). This matches the score-5 anchor ('copy-paste ready code or commands; specific examples cover the common cases'); even edge conditions like operator/index-ops mismatch and dimension casting are handled concretely. | 5 / 5 |
Workflow Clarity | The 'Golden Path (Default Setup)' gives an unambiguous default sequence (data type → distance → index → ef_search → query pattern), ordering rules are explicit ('Index after bulk loading', 'Create indexes concurrently in production'), and the 'Common Issues (Symptom → Fix)' table plus recall-comparison SQL provide real validation and error-recovery loops for the batch bulk-load operation. It falls short of 5 because there is no end-to-end numbered sequence connecting setup → load → index → query → validate; validation steps are scattered across Monitoring & Debugging and prose notes ('Validate by monitoring cache residency and p95/p99 latency') rather than presented as explicit checkpoints in the main workflow. | 4 / 5 |
Progressive Disclosure | The file is well-organized with clear section headers and the only external pointers (pgvector README, pgvectorscale) are clearly signaled, but it is a ~320-line monolith with no bundle files at all — content that naturally belongs in separate references, such as the RAM-capacity tables, the full binary-quantization deep dive, and the pgvectorscale alternative, is inlined. This matches the score-3 anchor ('Some structure but could be better organized; ... content that should be separate is inline'); it is above score 2 because headers, tables, and a symptom→fix section make it genuinely navigable, but below score 4 because a skill this long would benefit from splitting detail into reference files. | 3 / 5 |
Total | 16 / 20 Passed |