Content
82%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 highly actionable, well-structured body: complete executable code, exact commands, and a checklist-driven test structure with per-test assertions. The gaps are modest — a couple of trimmable lines, no general failure-recovery loop, and a mock code block long enough that part of it could be externalized.
Suggestions
Remove the opening line that restates the description ("How to write integration tests for error processors in packages/core/src/processors/.") and let the Prerequisites section lead.
Add a brief troubleshooting step after the run commands (e.g., what to check first when a processor test fails) to complete the feedback loop, extending the existing stream-mock gotcha pattern.
Consider moving the doStream mock variant into a reference file (or a short pointer to prefill-error-recovery.test.ts) and keeping only the event-sequence requirement inline, to slim the SKILL.md body.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Efficient and free of concept explanations Claude already knows — it goes straight to the mock pattern, commands, and message formats. Minor trimmable content (the opening line restates the description verbatim, and the combined doGenerate/doStream block is long, though justified as the reference pattern), placing it at anchor 4 rather than 5's "every token earns its place". | 4 / 5 |
Actionability | Fully executable, copy-paste-ready guidance: a complete MockLanguageModelV2 setup with real APICallError fields, exact AI SDK message-format objects for tool-call seeding, and exact commands ("npx vitest run packages/core/src/processors/my-processor.test.ts", "pnpm test:core"). The examples cover the common cases, matching anchor 5. | 5 / 5 |
Workflow Clarity | Clear sequence (mock pattern → required test structure → run commands) with a numbered checklist and explicit "Assert:" checkpoints per test type, plus one genuine error-recovery note (the stream mock gotcha explaining empty output from the minimal event format). It falls short of anchor 5 because there is no general test-failure feedback loop beyond that single gotcha and no expected-output guidance for the run commands; not a destructive/batch skill, so no cap applies. | 4 / 5 |
Progressive Disclosure | No bundle files exist, so this is scored on the single-file structure: well-organized headed sections with content appropriately placed inline, and a useful one-level pointer to a repo file ("See prefill-error-recovery.test.ts for the reference pattern"). At ~110 lines it exceeds the under-50-line simple-skill exception, and the ~40-line doStream half of the mock block could live in a reference file — anchor 4's "minor organization gaps". | 4 / 5 |
Total | 17 / 20 Passed |