Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Write robust Java avoiding null traps, equality bugs, and concurrency pitfalls.
Write robust Java avoiding null traps, equality bugs, and concurrency pitfalls.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
TopicFileNulls, Optional, autoboxingnulls.mdCollections and iteration trapscollections.mdGenerics and type erasuregenerics.mdConcurrency and synchronizationconcurrency.mdClasses, inheritance, memoryclasses.mdStreams and CompletableFuturestreams.mdTesting (JUnit, Mockito)testing.mdJVM, GC, modulesjvm.md
== compares references, not content โ always use .equals() for strings Override equals() must also override hashCode() โ HashMap/HashSet break otherwise Optional.get() throws if empty โ use orElse(), orElseGet(), or ifPresent() Modifying while iterating throws ConcurrentModificationException โ use Iterator.remove() Type erasure: generic type info gone at runtime โ can't do new T() or instanceof List<String> volatile ensures visibility, not atomicity โ count++ still needs synchronization Unboxing null throws NPE โ Integer i = null; int x = i; crashes Integer == Integer uses reference for values outside -128 to 127 โ use .equals() Try-with-resources auto-closes โ implement AutoCloseable, Java 7+ Inner classes hold reference to outer โ use static nested class if not needed Streams are single-use โ can't reuse after terminal operation thenApply vs thenCompose โ compose for chaining CompletableFutures Records are implicitly final โ can't extend, components are final serialVersionUID mismatch breaks deserialization โ always declare explicitly
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.