Content
90%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 body is an exemplary lean reference: executable, copy-paste-ready SQL patterns organized into scannable tables and short labeled sections with zero padding. Its only gaps are the absence of an explicit validation/verify loop around the risky ALTER SYSTEM and REVOKE configuration changes, and no deeper reference files for the bulk patterns.
Suggestions
Add a brief validation step around the 設定範本 section (e.g. check current values with SHOW before ALTER SYSTEM, and verify with pg_reload_conf()) to close the feedback loop for risky config changes.
Consider moving the expanded pattern catalog or the full RLS/config guidance into a references/ file with a clearly signaled link, keeping SKILL.md as the quick-reference overview.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is a lean quick reference: terse tables (索引速查表, 資料類型快速參考), one-line pattern labels with SQL, and no padding or explanation of concepts Claude already knows. Every token earns its place, matching anchor 5. | 5 / 5 |
Actionability | All snippets are fully executable, copy-paste-ready SQL covering the common cases: composite/covering/partial indexes, RLS policy wrapping, UPSERT with ON CONFLICT, cursor pagination, FOR UPDATE SKIP LOCKED queue processing, diagnostic queries, and config templates. This matches the anchor-5 example of executable commands covering common cases. | 5 / 5 |
Workflow Clarity | As a single-purpose reference the "action" (look up the pattern) is unambiguous, and the 反模式偵測 section provides diagnostic queries that act as verification steps. It is not 5 because there is no explicit sequence or validation checkpoint before risky operations (ALTER SYSTEM SET, REVOKE ALL) — no verify-then-apply loop — which the rubric flags for database operations. | 4 / 5 |
Progressive Disclosure | Clear single-file overview with well-signaled sections (何時啟用, 快速參考, 相關) and an explicit pointer to the `database-reviewer` agent for the full workflow — a one-level-deep handoff. Not 5 because everything (~140 lines) is inline with no external bundle; still appropriately organized for a quick reference, so above the midpoint. | 4 / 5 |
Total | 18 / 20 Passed |