Review Java concurrency code for thread safety, race conditions, deadlocks, and modern patterns (Virtual Threads, CompletableFuture, @Async).
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/17/2026
What it changes
Passed 23 of 23 test cases with the skill, and 22 of 23 without it.
Without skill96%
With skill100%
Checks it passed that the model alone missed
Must state that the default executor creates a new thread for every single task
1 fixed22 passed either way0 still failing0 broke
Pass-rate lift
+4 pp
Tokens
+205%
Agent turns
0%
Response time
-19%
Model gemini-3.6-flashMeasured 8/17/2026v123 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
A Spring Boot application uses `@Async` but does not define any custom `Executor` beans. Under a sudden spike of 5000 concurrent requests, the application crashes with an OutOfMemoryError. What is the default behavior causing this?
What was checked, without and with the skill
Checked
Without skill
With skill
Must state that the default executor creates a new thread for every single task
Missed
Passed
case-08 · gemini-3.6-flash · 8/17/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md467 linessingle file
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.
Guide for upgrading Java projects between major versions (8→11→17→21→25). Use when user says "upgrade Java", "migrate to Java 25", "update Java version", or when modernizing legacy projects.