
Concurrency Review
If you're working with Java concurrency, this catches the stuff that only breaks in production. It reviews thread safety issues, race conditions, and deadlocks across synchronized blocks, CompletableFuture chains, and Spring's @Async annotations. The skill covers modern patterns too: Virtual Threads, ScopedValue over ThreadLocal, and Java 25's structured concurrency. It's especially useful for catching Spring @Async gotchas like calling async methods from the same class or forgetting to configure a proper thread pool. Run it when you're touching anything with shared state or multiple threads. Concurrency bugs are timing dependent and hard to reproduce, so having an extra set of eyes before merge saves you from debugging race conditions at 2am.
- skills.sh installs
- 384
- GitHub stars
- 771
- last updated
- Feb 8, 2026
Install
$ npx -y skills add decebals/claude-code-java --skill concurrency-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
Concurrency Review Skill
Review Java concurrent code for correctness, safety, and modern best practices.
Why This Matters
Nearly 60% of multithreaded applications encounter issues due to improper management of shared resources. - ACM Study
Concurrency bugs are:
- Hard to reproduce - timing-dependent
- Hard to test - may only appear under load
- Hard to debug - non-deterministic behavior
This skill helps catch issues before they reach production.
When to Use
- Reviewing code with
synchronized,volatile,Lock - Checking
@Async,CompletableFuture,ExecutorService - Validating thread safety of shared state
- Reviewing Virtual Threads / Structured Concurrency code
- Any code accessed by multiple threads
Modern Java (21/25): Virtual Threads
When to Use Virtual Threads
// ✅ Perfect for I/O-bound tasks (HTTP, DB, file I/O)
try (ExecutorService executor = Executors.newVirtualThreadPerTaskExecutor()) {
for (Request request : requests) {
executor.submit(() -> callExternalApi(request));
}
}
// ❌ Not beneficial for CPU-bound tasks
// Use platform threads / ForkJoinPool instead
Sponsors
Details
- Repository
- github.com/decebals/claude-code-java
- Categories
- Git & Pull Requests, Code Review & Quality, Java & JVM
- License
- MIT
- First seen
- Jun 11, 2026
More from decebals/claude-code-java
All 18- Solid Principles384
- Architecture Review374
- Design Patterns372
- Spring Boot Patterns358
- Java Migration357
- Security Audit347
- Performance Smell Detection341
- Test Quality336
- Api Contract Review315
- Maven Dependency Audit308
- Logging Patterns300
- Jpa Patterns297
- Changelog Generator251
- Git Commit249
- Issue Triage240
- Java Code Review1.1K
- Clean Code427