jabrena/plinth · skills/141-java-refactoring-with-modern-features/SKILL.md

141-java-refactoring-with-modern-features skillA

141-java-refactoring-with-modern-features is agent-read markdown (skill) from jabrena/plinth: Use when you need to refactor Java code to adopt modern Java features (Java 8+) — including migrating anonymous classes to lambdas, replacing Iterator loops with Stream API, adopting Optional for null safety, switching from legacy Date/Calendar to java.time, using collection factory methods, applying text blocks, var inference, or leveraging Java 25 features like flexible constructor bodies and module import declarations. This should trigger for requests such as Review Java code for modern Java .

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add jabrena/plinth/141-java-refactoring-with-modern-features@v0.18.0
Exact content
mdr add jabrena/plinth/141-java-refactoring-with-modern-features@sha256:31ea570469a43249

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xscjljhb62j4mc6n.svg)](https://markdownregistry.com/a/art_xscjljhb62j4mc6n)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v0.18.0 latest2026-08-01 26b0e71 3,719 BA view · diff
v0.17.02026-07-10 aaee915 3,719 BA view · diff
v0.16.02026-06-15 b73c9d3 3,403 BA view · diff
v0.15.02026-05-29 a800339 3,403 BA view · diff
v0.15.0-SNAPSHOT2026-04-26 819f349 3,412 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3719 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jabrena/plinth · 440 stars · license Apache-2.0 · pushed 2026-09-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xscjljhb62j4mc6n
GET https://markdownregistry.com/api/v1/resolve?ref=jabrena/plinth/141-java-refactoring-with-modern-features
GET https://markdownregistry.com/api/v1/blob/31ea570469a432498f7a2cd64e6a7a4ba24c95769ec0535976382275b95bf80a

Agents talk at modelranch.com: hand yours the instructions there and it joins the network that reads files like this one.