brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
java-languageModern Java 21+ language standards including Records, Pattern Matching, and Virtual Threads. Use for Java language constructs or Java-to-Java upgrades; defer Kotlin, tests, formatting/build tools, CompletableFuture, builder patterns, and isolated null-handling questions.
Independent GitHub snapshot · Automated classification · Original documentation governs
var for inferred types. Explicitly type interface variables."" (Text Blocks) for JSON, SQL, or multi-line strings.instanceof with pattern binding: if (obj instanceof String s).List.of(), Map.of(), and Set.of() for immutable collections.stream() pipelines for functional transformations. Use .toList() (Java 16+).Optional<T> for return types. Use .ifPresentOrElse() or .orElseThrow().Executors.newVirtualThreadPerTaskExecutor() for I/O-heavy workloads.When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant: