check-concurrency
Installation
SKILL.md
Check Concurrency Skill
Identify concurrency bugs, race conditions, deadlocks, and thread safety issues in the codebase.
Instructions
1. Identify Shared Mutable State
Search for mutable state that may be accessed by multiple threads:
Instance/Static Fields:
// Dangerous - mutable shared state
private Map<K, V> cache = new HashMap<>();
private List<T> items = new ArrayList<>();
private int counter = 0;
private boolean flag = false;