Content
92%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, token-efficient body that gives copy-paste-ready Maven and Gradle paths, preview-before-apply checkpoints, a residual-reference sweep, and an explicit compile-error recovery loop. The single weakness is pinned plugin versions embedded in the commands, which will age and cost it conciseness.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is lean and directive with zero explanation of concepts Claude already knows (no OpenRewrite primer, no Java basics), but the pinned versions "rewrite-maven-plugin:6.46.1" and "org.openrewrite:plugin:7.39.0" are time-sensitive and not placed in an old-patterns/deprecated section, which the guidelines say should penalize conciseness. Not 5: the version pins are the one preventable token cost; not 3: everything else earns its place. | 4 / 5 |
Actionability | Fully executable commands for both build systems ("./mvnw -q org.openrewrite.maven:rewrite-maven-plugin:6.46.1:dryRun -Drewrite.configLocation=$TMPDIR/move.yml...", "./gradlew -q rewriteDryRun --init-script $TMPDIR/rewrite.gradle..."), a complete YAML recipe and Gradle init script, and a concrete residual-check command ("git grep -n '<old fully qualified name>'"). The only substitutions are clearly-marked project placeholders ({{BASE_PACKAGE}}, {{VERIFY}}), and both the class-move and package-move cases are covered. | 5 / 5 |
Workflow Clarity | Seven clearly sequenced steps with explicit validation checkpoints ("read the patch in target/rewrite/rewrite.patch before applying it", "Run {{VERIFY}}") and a genuine error-recovery feedback loop ("A compile error naming a type from the old package means the moved class used package-private code there: move that code with it... or make it reachable on purpose"). This satisfies the destructive/batch-operation validation requirement fully. | 5 / 5 |
Progressive Disclosure | A single-purpose skill under 50 lines with no bundle files and no need for external references; the numbered steps and clearly delimited maven/gradle conditional blocks provide all the organization required. Per the simple-skill guideline, well-organized sections alone earn the top score here. | 5 / 5 |
Total | 19 / 20 Passed |