concurrency
Skill0 starsChanged 54 days agoApache-2.0View on GitHub
Writes correct concurrent or asynchronous code. Use for threads, async, parallel jobs, queues or shared state.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- rafapeixer/go-skillstheir own version, first seen Nov 15, 2026
- zeeshanalimughal/claude-skillstheir own version, first seen Oct 13, 2026
- Geoffe-Ga/well-worn-toolstheir own version, first seen Jul 4, 2026
- kimtth/agent-skill-100-lines-or-lesstheir own version, first seen Jun 26, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- kimtth/agent-skill-100-lines-or-less★ 2same name
- rafapeixer/go-skills★ 1same name
- Geoffe-Ga/well-worn-tools★ 0same name
- zeeshanalimughal/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- algorithmsSkill
- break-down-workSkill
- ci-cdSkill
- clarify-requirementsSkill
- containers-and-deploySkill
- data-analysisSkill
- data-durabilitySkill
- debugSkill
- dependenciesSkill
- design-apiSkill
- design-architectureSkill
- estimate-and-risksSkill
- explain-codeSkill
- git-workflowSkill
- handle-errors-and-loggingSkill
- implement-featureSkill
- incident-responseSkill
- ml-experimentSkill
- model-dataSkill
- observabilitySkill
- performanceSkill
- refactorSkill
- research-and-compareSkill
- review-codeSkill
- security-reviewSkill
- write-adrSkill
- write-cliSkill
- write-docsSkill
- write-goSkill
- write-pythonSkill
- write-sqlSkill
- write-testsSkill
- write-typescriptSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use bounded queues for all producer-consumer flows.
- Very specific: line 11
Run the race detector (go test -race) and run concurrent tests many times (go test -count=100, pytest-repeat).
- Distinctive: line 12
Document ownership and flow in comments.
- Distinctive: line 25
Test suite with race detection and repeated execution flags
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Steps
- Design around message passing or immutable data. Avoid mutable shared state.
- Assign one clear owner per lock. Never perform I/O while holding a lock.
- Attach timeouts and cancellation to every wait, channel read, or join call.
- Use bounded queues for all producer-consumer flows. Apply back-pressure when queues fill.
- Run the race detector (
go test -race) and run concurrent tests many times (go test -count=100,pytest-repeat). Never hide flaky tests with automatic reruns. - Document ownership and flow in comments. Keep critical sections as short as possible.
Checklist
- Shared mutable state is avoided or guarded by one owner
- Each lock has a single owner and zero I/O inside its scope
- Every wait includes a timeout and respects cancellation signals
- Queues are bounded with explicit back-pressure handling
- Race detector enabled and tests run multiple times
- Critical sections are short and documented
- Error paths release resources and propagate cancellation
Output
- Code implementing the concurrency pattern with clear ownership
- Test suite with race detection and repeated execution flags
- Brief documentation of flow, timeouts, and failure modes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

