Content
75%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.
The content is highly actionable with executable command patterns and a clear, safety-checked workflow for read-only DB queries. Its main weakness is conciseness, where a few concept-heavy explanation blocks (notably the PGOPTIONS rationale) could be trimmed.
Suggestions
Condense the PGOPTIONS-vs-SET-SESSION-CHARACTERISTICS rationale into a one-line note; the full transaction-semantics explainer is concept-heavy and assumes Claude lacks Postgres knowledge it has.
Tighten the connection/DATABASE_URL section by collapsing the multiple env-file scenarios into a short decision table or a single canonical command with brief variants.
Add an explicit error-recovery step to the workflow (e.g., 'If psql errors, re-read the message, adjust the SQL, and re-run') to turn the clear sequence into a full feedback loop.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is mostly efficient and assumes SQL/psql knowledge, but the multi-paragraph PGOPTIONS-vs-SET-SESSION rationale and the lengthy multi-scenario connection/env section add unnecessary explanation that could be tightened. | 3 / 5 |
Actionability | Provides multiple copy-paste-ready command patterns (hardcoded URL, DATABASE_URL in shell, dotenv variant) plus concrete flags (ON_ERROR_STOP=1, -x, LIMIT 100), covering the common cases fully. | 5 / 5 |
Workflow Clarity | A clear numbered sequence (forbid mutations, translate, show SQL, run, interpret) with explicit safety checkpoints (read-only PGOPTIONS, show-before-run, refuse-writes gate); lacks an explicit error-recovery feedback loop, keeping it just below the top anchor. | 4 / 5 |
Progressive Disclosure | Well-organized into focused sections with one-level-deep pointers to repo files; no bundle files exist so content is appropriately inline, though the dense connection/env section could be split out for cleaner navigation. | 4 / 5 |
Total | 16 / 20 Passed |