Content
62%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 delivers strongly on workflow clarity and actionability — the search/write/validate retry loop and scaffolding steps are explicit and executable. Its weaknesses are token efficiency and structure: the core workflow is repeated three times and the 34-target catalog, while accurate, is inline reference material that should live in a separate file.
Suggestions
Move the 34-target catalog to references/extension-targets.md and keep a short summary (surfaces, target families, how to pick) inline, linking to it from the body.
State the search → write → validate → retry-3 workflow once and remove the duplicate 'MANDATORY: Search' and 'MANDATORY: Validate' sections that restate the 'Required Tool Calls' list.
Collapse the near-identical per-target paragraphs into a shared pattern note (e.g. one explanation that most surfaces expose action.render / block.render / menu-item.render variants) and list only target names with their unique capabilities.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is noticeably verbose: the search/validate workflow is stated three times (the 'Required Tool Calls' list, the 'MANDATORY: Search Before Writing Code' section, and the 'MANDATORY: Validate Before Returning Code' section), and the 34-target catalog repeats near-identical paragraph templates ('Renders a full-screen modal interface launched from...', 'Menu items typically invoke shopify.action.presentModal()') dozens of times. This fits score 2 (several unnecessary/padded sections) rather than 1, because the content is API-specific and not merely explaining concepts Claude already knows. | 2 / 5 |
Actionability | Concrete, executable commands with exact flags (search_docs.mjs and validate.mjs invocations, shopify app init/generate extension with template options), working import code, and ✅/❌ web-component attribute examples make the guidance mostly copy-paste ready. It falls short of 5 because the placeholders (YOUR_MODEL_NAME, YOUR_ARTIFACT_ID, etc.) require assembly and there is no complete end-to-end extension code example showing a full shopify.extend() registration and component. | 4 / 5 |
Workflow Clarity | The sequence is explicit with a full feedback loop: search before writing → write → validate with required flags → on failure read the error, search for the named type, fix exactly the reported error, re-validate, max 3 retries, then return the best attempt with an explanation. The scaffolding flow is a numbered, nested step list with stop conditions. This matches the score-5 anchor: clear sequence, explicit validation steps, and error-recovery loops. | 5 / 5 |
Progressive Disclosure | There is structure (clear ## and ### headers, real referenced scripts in ./scripts/), but the ~200-line catalog of 34 extension targets is exactly the kind of API reference that belongs in a separate file, and it is fully inlined. This lands on the score-3 anchor (some structure, content that should be separate is inline) rather than 2, since sections and script references are clearly signaled, but not 4 because the bulk of the file is reference data rather than overview. | 3 / 5 |
Total | 14 / 20 Passed |