What problem does it solve? Concurrency bugs in Java are hard to reproduce, hard to test, and hard to debug, often surfacing only in production under load. This Skill catches thread safety issues, race conditions, deadlocks, and misused async patterns during code review before they reach production. ## Core Features & Use Cases - Thread Safety Analysis: Detects race conditions from check-then-act patterns, missing volatile modifiers, non-atomic long/double access, and broken double-checked locking. - Spring @Async Pitfall Detection: Identifies missing @EnableAsync, same-class self-invocation bypassing proxies, non-public async methods, unconfigured default executors, and SecurityContext propagation failures. - Modern Java 21/25 Patterns: Reviews Virtual Threads usage, ScopedValue over ThreadLocal, Structured Concurrency scopes, and CompletableFuture error handling and timeouts. - Use Case: When reviewing a Spring service that uses @Async and CompletableFuture to call external APIs, the Skill flags the default thread-per-task executor as an OOM risk, verifies exception handling with exceptionally() or handle(), and suggests virtual threads for the I/O-bound workload. ## Quick Start Ask the assistant to review your Java class for thread safety and concurrency issues, mentioning any synchronized blocks, @Async methods, or CompletableFuture usage it contains.