Content
63%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 highly actionable, executable guidance for generating API test suites, with a clear workflow and a useful output checklist. Its weaknesses are token efficiency and organization — large, partly redundant code blocks are inlined rather than split into scripts/references, and the workflow lacks an explicit run-and-verify validation step.
Suggestions
Move the ~190-line generator script and CLI script into a `scripts/` directory and the full example test suite plus contract-testing section into `references/`, keeping SKILL.md as a lean overview with clearly signaled one-level-deep links.
Remove the redundancy between the "Example Generated Tests" section and the generator script — show one or two representative generated tests and rely on the generator code for the rest, cutting the body by roughly half.
Add an explicit validation step to the workflow (e.g., "Run the generated suite with the project's test runner and fix any failures before delivering") and define or stub the undefined helpers (`scanRoutes`, `groupRoutesByResource`, `createTestResource`, `hashPassword`) so the shipped code is executable as written.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | At ~590 lines the body is far heavier than the task warrants: the full generator script, the 145-line "Example Generated Tests" section, and the CLI script substantially duplicate one another (the examples largely restate what the generator emits). Prose itself is lean, but the redundancy and inlined bulk mean it could be tightened considerably, matching the "mostly efficient but could be tightened" anchor. | 3 / 5 |
Actionability | The setup, API client, fixtures, contract tests, and example test code are concrete and largely copy-paste ready. Minor gaps keep it from a 5: the generator script calls undefined helpers (`createTestResource`, `scanRoutes`, `groupRoutesByResource`) and the fixture references an undefined `hashPassword`, so that code is not fully executable as written. | 4 / 5 |
Workflow Clarity | The six-step "Core Workflow" (scan routes → analyze contracts → generate tests → assertions → edge cases → fixtures) is a clear sequence, and the "Output Checklist" provides a review checkpoint. It falls short of a 5 because there is no explicit validation step (e.g., run the generated tests to confirm they compile and pass before finishing). | 4 / 5 |
Progressive Disclosure | Section headers organize the content well, but there are no bundle files at all: the generator script, full example suite, contract-testing guide, and CLI code (~400 lines of code that clearly belong in `scripts/` or `references/`) are fully inlined in SKILL.md. This matches the anchor of structure present but content that should be separate kept inline. | 3 / 5 |
Total | 14 / 20 Passed |