Skip to main content

async-debugging

Analyze and fix race conditions and concurrency bugs in async code. Use when debugging async bugs, fixing race conditions, resolving concurrency issues, or when shared state is accessed by multiple async operations.

Source facts

Repository
revfactory/claude-code-harness
Last source activity
March 5, 2026 at 12:12
Detected SKILL.md language
Korean
Stars
121
Forks
21

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions ยท Read-only preview
name
async-debugging
description
Analyze and fix race conditions and concurrency bugs in async code. Use when debugging async bugs, fixing race conditions, resolving concurrency issues, or when shared state is accessed by multiple async operations.
# Async Debugging ## ๋ฒ„๊ทธ ๋ถ„์„ ์›Œํฌํ”Œ๋กœ์šฐ 1. **์‹๋ณ„**: ์ฝ”๋“œ์—์„œ ๊ณต์œ  ์ƒํƒœ์— ๋Œ€ํ•œ ๋น„๋™๊ธฐ ์ ‘๊ทผ์„ ๋ชจ๋‘ ์ฐพ๊ธฐ 2. **์‹œ๋‚˜๋ฆฌ์˜ค ๋„์ถœ**: ์–ด๋–ค ํƒ€์ด๋ฐ์— ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š”์ง€ ์‹œํ€€์Šค ์ž‘์„ฑ 3. **์˜ํ–ฅ ํ‰๊ฐ€**: ๊ฐ ๋ฒ„๊ทธ์˜ ์‹ฌ๊ฐ๋„์™€ ๋ฐœ์ƒ ๊ฐ€๋Šฅ์„ฑ ํ‰๊ฐ€ 4. **๋ฌธ์„œํ™”**: bug-analysis.md์— ๋ถ„์„ ๊ฒฐ๊ณผ ๊ธฐ๋ก ## ์ˆ˜์ • ์›์น™ - **Deduplication**: pending Map์— Promise๋ฅผ ์ €์žฅํ•˜์—ฌ ๋™์ผ ํ‚ค ์š”์ฒญ ์ค‘๋ณต ๋ฐฉ์ง€ - **Resource Cleanup**: try/finally๋กœ ์—๋Ÿฌ ์‹œ์—๋„ pending ์ƒํƒœ ์ •๋ฆฌ ๋ณด์žฅ - **Atomic Operations**: ์บ์‹œ ์‚ญ์ œ์™€ ์ƒˆ ๊ฐ’ ์„ค์ •์„ ์›์ž์ ์œผ๋กœ ์ฒ˜๋ฆฌ - **Helper Extraction**: ๊ณตํ†ต fetch ๋กœ์ง์„ _fetch() ํ—ฌํผ๋กœ ์ถ”์ถœํ•˜์—ฌ DRY ## ์ˆ˜์ • ์ „ ๋ฐ˜๋“œ์‹œ - ๋ฒ„๊ทธ๋ฅผ ๋ถ„์„ํ•˜๊ณ  ๋ฌธ์„œํ™”ํ•  ๊ฒƒ - ์ค‘๋ณต ์ฝ”๋“œ๋Š” ํ—ฌํผ ๋ฉ”์„œ๋“œ๋กœ ์ถ”์ถœํ•  ๊ฒƒ - ํ…Œ์ŠคํŠธ๋Š” ๋™์‹œ์„ฑ ์‹œ๋‚˜๋ฆฌ์˜ค๋ฅผ ๋ฐ˜๋“œ์‹œ ํฌํ•จํ•  ๊ฒƒ ์ƒ์„ธ ์ฝ”๋“œ ํŒจํ„ด์€ `references/patterns.md` ์ฐธ์กฐ.
View on GitHub