concurrency-review

仓库创建 2026年1月30日最近提交 5 个月前SkillHot 收录 23 天前
▸ 精选理由

覆盖并发易错点与现代并发模式,适合高风险并发模块审查。

▸ 风险提示

建议作为审查辅助,不能替代形式化验证与完整并发测试。

这个 Skill 做什么

审查 Java 并发代码,检测线程安全、竞态、死锁与现代异步模式使用。

审查 Java 并发代码,帮你找线程安全、竞态、死锁等隐蔽问题,也会点评现代异步方案(Virtual Threads、CompletableFuture、@Async)。适合代码审查、上线前安全检查或解决难复现的并发 bug。侧重定位竞争条件、锁策略和可扩展的异步模式建议。

▸ 展开 SKILL.md 英文原文

Review Java concurrency code for thread safety, race conditions, deadlocks, and modern patterns (Virtual Threads, CompletableFuture, @Async). Use when user asks "check thread safety", "concurrency review", "async code review", or when reviewing multi-threaded code.

开发编程并发线程安全死锁分析通用
692
Stars
135
Forks
18
仓库内 Skill
+20
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/decebals/claude-code-java/main/.claude/skills/concurrency-review/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/decebals/claude-code-java/main/.claude/skills/concurrency-review/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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 Concu
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有