Content
65%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The content is highly actionable with concrete commands and specific tooling, but it over-explains some general database concepts and lacks explicit feedback loops for its destructive batch operations. It also ignores its own bundle files, which are incompletely populated.
Suggestions
Tighten or remove the general shard-key and strategy explanations Claude already knows, keeping only the decision guidance.
Add explicit inline feedback loops for the migration step, e.g. 'Verify source and destination row counts; if they differ, abort and re-run the batch before deleting source data.'
Either reference the bundled scripts from the Instructions/Output sections or remove the scripts/README.md entries for files that do not exist (and fix init_sharding.py's time import / make it sharding-specific).
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is mostly efficient with concrete SQL throughout, but it explains concepts Claude already knows (e.g. 'A good shard key has high cardinality, even distribution, and appears in most queries' and the per-strategy rationales) that could be tightened. | 2 / 3 |
Actionability | It provides executable, copy-paste-ready SQL commands, named tools (Citus, vitess, ProxySQL, mongos), concrete CLI calls (sh.enableSharding(), sh.shardCollection()), and specific numeric thresholds (10,000-50,000 row batches, 20% skew alert). | 3 / 3 |
Workflow Clarity | The 10 steps are clearly sequenced and include some verification (checksums, row-count matches), but there are no explicit validate->fix->retry feedback loops for the destructive batch migration, which the rubric caps at 2 for database/batch operations. | 2 / 3 |
Progressive Disclosure | Sections are well organized, but the body never references the bundled scripts/references/assets directories, and the bundle itself is misleading (scripts/README.md lists rebalance_shards.py, cross_shard_query.py, and validate_sharding_config.py that do not exist). | 2 / 3 |
Total | 9 / 12 Passed |