CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

move-code

Moves a Java class or package to another package in this project with OpenRewrite, so every import, fully qualified reference, Javadoc link, properties value and META-INF/services entry follows, the same way each time. Use when the user asks to move, relocate or repackage a class or package, or to rename a package, to restructure code into modules, or when a fix would mean moving a type across modules.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews 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.

DimensionReasoningScore

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

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A model description: third-person voice, names the tool, and comprehensively enumerates the artifacts a move updates, followed by an explicit "Use when" clause covering all the natural trigger phrases for the task. No vague, padded, or over-claimed language anywhere.

DimensionReasoningScore

Specificity

"Moves a Java class or package to another package in this project with OpenRewrite, so every import, fully qualified reference, Javadoc link, properties value and META-INF/services entry follows" names the tool and comprehensively enumerates the concrete effects handled, covering both class and package moves. Not 4: within its domain the coverage is comprehensive with no identifiable gaps, matching the top anchor better than "minor gaps in coverage".

5 / 5

Completeness

Explicitly answers "what" ("Moves a Java class or package... with OpenRewrite", enumerating every artifact updated) and "when" ("Use when the user asks to move, relocate or repackage... or when a fix would mean moving a type across modules") with concrete trigger phrases. Not 4: the "when" clause is as explicit and specific as the anchor-5 example, not merely adequate.

5 / 5

Trigger Term Quality

"move, relocate or repackage a class or package", "rename a package", "restructure code into modules", and "moving a type across modules" comprehensively cover the natural synonyms a user would say for this task. Not 4: these five-plus phrasings leave no common natural term missing for this domain.

5 / 5

Distinctiveness Conflict Risk

"Java class or package", "OpenRewrite", "Javadoc link", "META-INF/services" carve a clear niche with distinct triggers, so it is unlikely to fire for unrelated skills. Not 4: no meaningful overlap risk with closely related skills exists — the domain markers are unambiguous.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

a-pavithraa/springboot-skills-marketplace

Path

plugins/springboot-architecture/skills/spring-boot-team-harness/assets/project-skills/move-code/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.