jabrena avatar

125 Java Concurrency

This is a comprehensive concurrency review checklist for Java codebases that won't let you proceed if your project doesn't compile first, which is a sensible guardrail. It covers the full spectrum from basic thread safety primitives like ConcurrentHashMap and AtomicInteger through to modern virtual threads and ScopedValue. The workflow is straightforward: compile, read the reference for good and bad patterns, apply improvements, then verify. What makes this useful is the breadth of coverage, including less common concerns like false sharing, virtual thread pinning detection via JFR, and backpressure strategies with bounded queues. If you're doing any serious concurrent programming in Java beyond trivial thread pools, this gives you a structured way to audit your approach against current best practices.

skills.sh installs
135
GitHub stars
393
last updated
Jun 3, 2026

Install

$ npx -y skills add jabrena/cursor-rules-java --skill 125-java-concurrency --agent claude-code

Installs into .claude/skills of the current project.

Files

Java rules for Concurrency objects

Identify and apply Java concurrency best practices to improve thread safety, scalability, and maintainability by using modern java.util.concurrent utilities and virtual threads.

What is covered in this Skill?

Sponsors

Details

Repository
github.com/jabrena/cursor-rules-java
Category
Java & JVM
First seen
Jun 3, 2026

More from jabrena/cursor-rules-java

All 16

Recommended

More Java & JVM
1jabrena avatar128-java-genericsjabrena/cursor-rules-java128 java generics135skills.sh installs
2jabrena avatar141-java-refactoring-with-modern-featuresjabrena/cursor-rules-java141 java refactoring with modern features135skills.sh installs
3jabrena avatar131-java-testing-unit-testingjabrena/cursor-rules-java131 java testing unit testing134skills.sh installs
4jabrena avatar143-java-functional-exception-handlingjabrena/cursor-rules-java143 java functional exception handling133skills.sh installs
5jabrena avatar122-java-type-designjabrena/cursor-rules-java122 java type design132skills.sh installs
6jabrena avatar132-java-testing-integration-testingjabrena/cursor-rules-java132 java testing integration testing128skills.sh installs