move-code

move-code is a skill for Claude Code from a-pavithraa/springboot-skills-marketplace. It costs 81 tokens per session (587 once invoked), scanned A, original, MIT.

A repeatable way to move a Java class or package with OpenRewrite, a tool that updates source-code references during code changes. It follows imports, fully qualified names, documentation links, configuration values, and service entries.

In plain words
What is it for?
Use it to relocate Java classes or packages, preview the resulting patch, and restructure code across modules.
Why use it?
Moving files by hand can leave references and resource names pointing to the old package.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the springboot-architecture plugin — 8 skills, 3 hooks shipped together

Good fit Use it to relocate Java classes or packages, preview the resulting patch, and restructure code across modules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a-pavithraa/springboot-skills-marketplace/move-code
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add a-pavithraa/springboot-skills-marketplace --skill move-code
Clone the repo
git clone --depth 1 https://github.com/a-pavithraa/springboot-skills-marketplace

Made for: Claude Code.

Or install springboot-architecture, the plugin that ships this one along with the rest of its 8 skills, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for move-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/a-pavithraa/springboot-skills-marketplace/move-code/github.svg)](https://agentmods.dev/skills/a-pavithraa/springboot-skills-marketplace/move-code)
Your own site
<a href="https://agentmods.dev/skills/a-pavithraa/springboot-skills-marketplace/move-code"><img src="https://agentmods.dev/badge/skills/a-pavithraa/springboot-skills-marketplace/move-code/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for move-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/a-pavithraa/springboot-skills-marketplace/move-code"><img src="https://agentmods.dev/badge/skills/a-pavithraa/springboot-skills-marketplace/move-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.00587
Opus 5.5 $0.00032 $0.00235
Sonnet 5.5 $0.00016 $0.00117
Haiku 4.5 $0.00008 $0.00059

Measured 2d ago against content hash 31e24623dbcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

move-code scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

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

What it actually says

Move a class or package

Don't move Java files by hand or with text edits: imports and references in other files go stale, and names in resources are missed.

  1. Decide whether a move is the fix. To clear a module-boundary violation, prefer a facade in the target module's top-level package or an event; moving an internal type into a module's top-level package publishes it to every module. A move fits when the type belongs to another module, or when restructuring into modules.
  2. Write the recipe to a file in a temporary folder outside the repository, here $TMPDIR/move.yml, so nothing is left to commit:
    type: specs.openrewrite.org/v1beta/recipe
    name: local.Move
    recipeList:
      - org.openrewrite.java.ChangeType:          # one class
          oldFullyQualifiedTypeName: {{BASE_PACKAGE}}.orders.internal.Discounts
          newFullyQualifiedTypeName: {{BASE_PACKAGE}}.catalog.internal.Discounts
      # or, for a whole package and its subpackages:
      # - org.openrewrite.java.ChangePackage:
      #     oldPackageName: {{BASE_PACKAGE}}.orders.internal
      #     newPackageName: {{BASE_PACKAGE}}.orders.pricing
      #     recursive: true
    
  3. Preview, and read the patch in target/rewrite/rewrite.patch before applying it:
    ./mvnw -q org.openrewrite.maven:rewrite-maven-plugin:6.46.1:dryRun -Drewrite.configLocation=$TMPDIR/move.yml -Drewrite.activeRecipes=local.Move
    
  4. Apply it with the same command and goal run instead of dryRun.
  5. Find what the recipe can't see: git grep -n '<old fully qualified name>'. A class name inside a Java string literal is not updated. Change each hit only if it names the moved type.
  6. Run ./mvnw verify. A compile error naming a type from the old package means the moved class used package-private code there: move that code with it (move the whole package instead), or make it reachable on purpose. The module-boundary test reports a move that crosses a module boundary.
  7. Commit the move on its own, with no other edits, so the review is mechanical and git log --follow keeps the file's history.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 33 lines · 81 tokens per session scan A 31e24623dbcb

Subscribe to this mod's changes

move-code is a skill published in the GitHub repository a-pavithraa/springboot-skills-marketplace (80 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 587 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-04.

Related

move-code compared with skills from other repositories

move-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
move-codea-pavithraa/springboot-skills-marketplaceSkill80yesterdayMITA81Claude Code
spring-boot-engineerJeffallan/claude-skillsSkill12k7d agoMITA91Claude Code
senior-javabenchflow-ai/skillsbenchSkill1.9k2d agoApache-2.0A65Claude Code, Codex
112-java-maven-pluginsjabrena/plinthSkill460yesterdayApache-2.0A149Claude Code, Codex
814-regulations-iso-25010jabrena/plinthSkill460yesterdayApache-2.0A83Claude Code, Codex
114-java-maven-searchjabrena/plinthSkill460yesterdayApache-2.0A83Claude Code, Codex
121-java-object-oriented-designjabrena/plinthSkill460yesterdayApache-2.0A107Claude Code, Codex