concurrency-primitives

Solid

Expert skill for implementing language-level concurrency support including threads, channels, and synchronization

AI & Automation 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
79
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Concurrency Primitives Skill ## Overview Expert skill for implementing language-level concurrency support including threads, channels, and synchronization. ## Capabilities - Design threading API and primitives - Implement mutex and condition variables - Implement channel-based message passing - Design async/await and coroutine systems - Implement work-stealing schedulers - Handle thread-local storage - Design memory model and ordering - Implement green threads/goroutines ## Target Processes - concurrency-primitives.js - interpreter-implementation.js - bytecode-vm-implementation.js - garbage-collector-implementation.js ## Dependencies Concurrency theory, Go scheduler references ## Usage Guidelines 1. **Model Choice**: Choose between shared memory and message passing based on language goals 2. **Memory Model**: Define memory ordering semantics clearly 3. **Scheduling**: Design scheduler with fairness and efficiency in mind 4. **Integration**: Ensure GC and concurrency work together correctly 5. **Testing**: Build concurrency stress tests from the start ## Output Schema ```json { "type": "object", "properties": { "model": { "type": "string", "enum": ["shared-memory", "message-passing", "actor", "csp"] }, "primitives": { "type": "array", "items": { "type": "string" } }, "schedulerType": { "type": "string", "enum": ["os-threads", "green-threads", "work-stealing", "cooperative"] }, "generatedFiles": {...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

go-concurrency-patterns

Master Go concurrency with goroutines, channels, sync primitives, and context. Use when building concurrent Go applications, implementing worker pools, or debugging race conditions.

39,350 Updated today
sickn33
AI & Automation Listed

go-concurrency-patterns

Master Go concurrency with goroutines, channels, sync primitives, and context. Use when building concurrent Go applications, implementing worker pools, or debugging race conditions.

335 Updated today
aiskillstore
AI & Automation Solid

go-concurrency-patterns

Master Go concurrency with goroutines, channels, sync primitives, and context. Use when building concurrent Go applications, implementing worker pools, or debugging race conditions.

36,222 Updated today
wshobson
AI & Automation Solid

golang-concurrency

Golang concurrency patterns. Use when writing or reviewing concurrent Go code involving goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, or fan-out/fan-in pipelines. Also triggers when you detect goroutine leaks, race conditions, channel ownership issues, or need to choose between channels and mutexes.

1,904 Updated 3 days ago
samber
AI & Automation Listed

golang-concurrency

Golang concurrency patterns. Use when writing or reviewing concurrent Go code involving goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, or fan-out/fan-in pipelines. Also triggers when you detect goroutine leaks, race conditions, channel ownership issues, or need to choose between channels and mutexes.

0 Updated today
guynhsichngeodiec