Content
80%Weight 40%Scale 1-3Reviews 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 and token-efficient, with executable SQL and concrete thresholds throughout. Its main weaknesses are implicit (rather than explicit inline) validation checkpoints in the database workflow and bundled scripts that are never referenced from the main body.
Suggestions
Add explicit inline validation checkpoints in the workflow, e.g. after step 2: "Validate: confirm the plan ran against representative data before interpreting red flags; if EXPLAIN ANALYZE is too slow, fall back to EXPLAIN without ANALYZE (see Error Handling)."
Reference the bundled scripts from the body where relevant, e.g. in step 2 "or run `scripts/explain_plan_parser.py` to extract key metrics from the captured plan," and add a References/Resources pointer to the bundled scripts and assets directories.
Consider moving the lengthy Examples and Error Handling detail into a referenced file (e.g. references/TROUBLESHOOTING.md) to keep the main workflow focused while preserving the material one level deep.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is lean and technical — concrete SQL, threshold-based red flags, and targeted lists — with no padding explaining basic database or indexing concepts Claude already knows. The only mild verbosity is the narrative Examples, which still earn their place as illustrative cases. | 3 / 3 |
Actionability | It provides copy-paste-ready executable SQL throughout (e.g. the pg_stat_statements query, EXPLAIN (ANALYZE, BUFFERS, FORMAT JSON), the cache-hit-ratio query) with specific numeric thresholds (>10,000 rows, ratio below 0.95, dead-ratio above 0.2), matching the score-3 anchor. | 3 / 3 |
Workflow Clarity | The 10 numbered steps form a clear sequence and step 8 plus the Error Handling table provide some verification/recovery, but this is a database-operation workflow whose validation checkpoints are implicit and scattered rather than explicit inline "validate then proceed" markers. Per the rubric's feedback-loop guidance for database operations, that caps the score at 2. | 2 / 3 |
Progressive Disclosure | The SKILL.md itself is well-organized into clear sections, but the bundled scripts (explain_plan_parser.py, index_advisor.py, query_rewriter.py) and references/assets are never referenced or linked from the body — the Resources section points only to external URLs. Useful bundled material is orphaned with no navigation signaling, matching the score-2 anchor of references present but not clearly signaled. | 2 / 3 |
Total | 10 / 12 Passed |