smallnestsmallnestCommunity·1 Agent Skills Included

chao-go-sync

Go concurrency debugging, optimization, and design guidance

Diagnoses Go concurrency bugs including deadlocks, data races, goroutine leaks, and lock re-entry issues. Optimizes lock granularity, sharding, sync.Pool usage, and lock-free alternatives for better performance. Reviews sync primitive usage, recommends concurrency patterns, and guides migration to newer Go sync APIs from version 1.20 to 1.27. Covers distributed primitives like etcd-based leader election, distributed locks, queues, and STM.
npx skills add smallnest/chao-go-sync --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install chao-go-sync?

Run `npx skills add smallnest/chao-go-sync --all -g -y` in your terminal to install this skill globally.

How to debug Go deadlocks and data races?

This skill analyzes deadlocks, data races, goroutine leaks, and lock re-entry using proven diagnostic frameworks, race detector output, and pprof profiles.

Which Go sync primitive should I use?

It provides a decision matrix covering Mutex, RWMutex, WaitGroup, Cond, Once, sync.Map, atomic, channels, and Context so you pick the right primitive for each scenario.

Does it cover distributed locks and etcd?

Yes. It includes guidance on etcd-based leader election, distributed locks with TTL, distributed queues, barriers, and software transactional memory.

Does chao-go-sync work with Claude Code?

Yes. It follows the universal SKILL.md standard and activates automatically in Claude Code and other compatible coding agents when you discuss Go concurrency topics.

Related Repositories in Software Engineering

View All in Software Engineering