jade-recipe-1.5-1.6-arrays-copyof

Community

Upgrade array copies with safe Java 6 rewrites

AuthorTheRealSeber
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill replaces legacy System.arraycopy usage with clearer Java 6 array-copy APIs so migration work is faster, safer, and easier to verify.

Core Features & Use Cases

  • Direct Rewrite Support: Converts simple same-array and destination-zero copy patterns into Arrays.copyOf calls.
  • Review-Friendly Fallbacks: Leaves non-zero destination positions or complex expressions with NOTE comments for manual handling.
  • Migration Cleanup: Preserves the operational flag cleanup flow and adds the Arrays import when needed.
  • Use Case: A migration agent flags a copy operation in a Java 1.5 codebase, and this Skill turns it into the correct Java 6 rewrite while marking edge cases for review.

Quick Start

Apply this skill to the flagged file and line so it rewrites the array copy call, adds the needed import, and leaves clear notes for any manual follow-up.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: jade-recipe-1.5-1.6-arrays-copyof
Download link: https://github.com/TheRealSeber/PolishedJADEite/archive/main.zip#jade-recipe-1-5-1-6-arrays-copyof

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.