Content
50%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 substantial concrete code across pytest, Jest, React, coverage analysis, and mocking, organized under clear numbered sections. However, the code has missing pieces that block direct execution (undefined helpers, `self` used outside classes, a malformed subprocess call), there is no validation loop of running generated tests and verifying coverage, and everything is inlined in one long file with redundant Context/Requirements padding.
Suggestions
Add an explicit validation loop: generate tests → run them (e.g., `pytest` / `npx jest`) → fix failures → re-run coverage and confirm gaps closed, so the workflow has checkpoints.
Move the per-language generators (pytest, Jest, React, coverage) into separate reference files under references/ and keep SKILL.md as a concise overview with clear links, instead of inlining ~200 lines.
Fix the code gaps that block execution: define `_calculate_complexity` and `create_targeted_test`, present the pytest generators as proper TestGenerator methods (or remove `self`), handle java/go in `analyze_file`, and split the coverage test command for subprocess.run.
Delete the redundant Context and Requirements sections and the persona intro paragraph, which restate the description without adding guidance.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is code-heavy and never re-teaches known concepts, but pads with redundancy: the persona intro ("You are a test automation expert specializing in...") and the Context section ("The user needs automated test generation that analyzes code structure...") restate the description, "Requirements" ("Take the requirements, target, and scope from the user's request") is empty filler, and ~200 lines of string-building generator code could be tightened. Matches anchor 3 ("Mostly efficient but includes some unnecessary explanation or could be tightened"); not 4 because the redundant sections exceed minor trimming, and not 2 because there is no explanation of concepts Claude already knows. | 3 / 5 |
Actionability | Code is concrete but incomplete: `_calculate_complexity` and `create_targeted_test` are called but never defined; `analyze_file` silently returns None for java/go despite framework_map listing them; `generate_pytest_tests` and `_generate_function_tests` are presented as module-level functions taking `self`; and `subprocess.run([test_command, '--coverage', '--json'])` passes a full command string as a single list element. Matches anchor 3 ("Some concrete guidance but incomplete... missing key details"); not 4 because these gaps prevent copy-paste execution and exceed minor gaps, and not 2 because the snippets are near-executable rather than high-level hints. | 3 / 5 |
Workflow Clarity | Sections are numbered 1-6 (analyze → generate per-language → coverage analysis → mocks), giving a catalog order, but there is no explicit sequence connecting them and no validation checkpoint — the skill never instructs running the generated tests to confirm they pass or re-checking coverage after generation. Matches anchor 3 ("Steps listed but validation gaps; sequence present but checkpoints missing or implicit"); not 4 because checkpoints are absent rather than mostly present, and not 2 because the numbered sections and per-stage code define steps more clearly than a rough gap-filled sequence. | 3 / 5 |
Progressive Disclosure | The skill is ~320 lines with no bundle files; per-language generator code (pytest, Jest, React, coverage) that clearly belongs in separate reference files is inlined, though section headers provide organization. Matches anchor 3 ("Some structure but could be better organized... content that should be separate is inline"), whose example is exactly inline content that could live in a separate file under headers; not 4 because the bulk of the content should be split out, and not 2 because headers and clear per-section organization exist. The under-50-line simple-skill exception does not apply. | 3 / 5 |
Total | 12 / 20 Passed |