jade-recipe-1.7-diamond-operator
CommunityModernize generics with diamond syntax.
AuthorTheRealSeber
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It removes repetitive explicit generic type arguments from Java constructor calls so code is shorter, clearer, and compatible with Java 7+ type inference.
Core Features & Use Cases
- Diamond Operator Conversion: Rewrites explicit generic constructor instantiations into
<>syntax. - Nearby Flag Handling: Finds the target edit even when the JADE flag comment is on an adjacent line.
- Safety Checks: Skips already-converted lines and avoids constructor delegation contexts where inference is ambiguous.
- Atomic File Updates: Writes changes through a temporary file and rename workflow to reduce edit risk.
Quick Start
Use the jade-recipe-1.7-diamond-operator skill to convert the flagged Java constructor in the specified file and line into diamond operator syntax.
Dependency Matrix
Required Modules
None requiredComponents
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.7-diamond-operator Download link: https://github.com/TheRealSeber/PolishedJADEite/archive/main.zip#jade-recipe-1-7-diamond-operator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.