Content
88%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.
A well-architected contract document: clear two-part routing, copy-paste executable commands, explicit exit-code-driven feedback loops, and genuine one-level-deep references. Its weaknesses are mild redundancy in restating the read-only boundary and a rule catalog that overlaps the security-posture reference at detail level.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is dense, table-heavy, and free of concept explanations Claude already knows, but the read-only boundary is restated four-plus times ("verdict producer, never a mutator", "The caller applies the edit; this unit only reports", "it consumes only caller-context signals", plus the description itself), and "Policy rules enforced today" repeats the "variable-driven fails open" caveat per rule. Not 5 because this repetition could be trimmed; not 3 because there is no filler — every section carries contract information. | 4 / 5 |
Actionability | The gate invocation is copy-paste ready (python3 "$PLUGIN_ROOT/.../validate-terraform-policy.py" "$TERRAFORM_DIR" --json "$VERDICT_PATH") with each parameter's ownership documented, the exit-code table maps every outcome to a concrete caller action, and the verdict JSON shape plus a runnable pytest verification command are given. Fully executable guidance for both touchpoints. | 5 / 5 |
Workflow Clarity | The two-touchpoint flow (posture rules before writing, policy gate after) is sequenced via an explicit routing table, and the exit-code section defines a concrete feedback loop: exit 1 → "read violations[], edit the named .tf sites, re-run (caller's retry budget)". Validation checkpoints are explicit and a Verification section with a runnable test command closes the loop. | 5 / 5 |
Progressive Disclosure | Structure is strong: a context-keyed routing table points to the two real one-level-deep references (security-posture-rules.md with its cited "Caller-context signals" anchor present, terraform-validation.md with the fmt→init→validate→policy protocol), and the fixtures path is real per the test script. Not 5 because the ~60-line "Policy rules enforced today" catalog with per-attribute fail-open semantics partially duplicates the gate-enforced sections of references/security-posture-rules.md and reads like detail-level content that could live in the reference with only a rule-name summary inline. | 4 / 5 |
Total | 18 / 20 Passed |