Skill / SKILL.md

Port From Java

rewrite-rs/skills

Port Java into Rust — class hierarchies onto enums and composition, exceptions onto Result, collections and streams onto Rust equivalents, and the traps (UTF-16 strings, silent integer wraparound, null, equals/hashCode contracts). Use when porting, rewriting, or migrating Java, a JVM service, a Spring or Jakarta application, or a Java library into Rust, when replacing a JVM component with a Rust one behind the same interface, or when the user asks how a Java construct translates to Rust.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Port Java into Rust — class hierarchies onto enums and composition, exceptions onto Result, collections and streams onto Rust equivalents, and the traps (UTF-16 strings, silent integer wraparound, null, equals/hashCode contracts). Use when porting, rewriting, or migrating Java, a JVM service, a Spring or Jakarta application, or a Java library into Rust, when replacing a JVM component with a Rust one behind the same interface, or when the user asks how a Java construct translates to Rust.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rewrite-rs/skills' skill-source

Use the complete skill-source/skills/porting/port-from-java directory with your client’s skill installer.

  • skills/porting/port-from-java

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/porting/port-from-java

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
64bd33e7efaa3d753373918dd34652d2078db73057e7bba45ee4193b61b8bea5
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills