agentsclimarketplace

Rust system event driven

Skill ComeOnOliver/skillshub/skills/pproenca/dot-skills/rust-system-event-driven

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.From the repository description

Install
npx -y skills add ComeOnOliver/skillshub --skill rust-system-event-driven

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

6.3 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it

Rust System Event-Driven Best Practices

Comprehensive best practices guide for event-driven system programming in Rust. Contains 42 rules across 8 categories, prioritized by impact to guide async runtime usage, channel communication, threading, networking, and terminal handling.

When to Apply

Reference these guidelines when:

  • Building async applications with Tokio or async-std
  • Implementing network servers or clients
  • Writing terminal user interfaces (TUIs)
  • Managing concurrent tasks and shared state
  • Handling Unix signals and graceful shutdown

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Async Runtime PatternsCRITICALasync-
2Channel CommunicationCRITICALchan-
3Threading & SynchronizationHIGHsync-
4Socket & Network I/OHIGHnet-
5Terminal & TTY HandlingMEDIUM-HIGHterm-
6Signal & Process ControlMEDIUMsig-
7File I/O StreamingMEDIUMio-
8Event Loop ArchitectureLOW-MEDIUMloop-

Quick Reference

1. Async Runtime Patterns (CRITICAL)

2. Channel Communication (CRITICAL)

3. Threading & Synchronization (HIGH)

4. Socket & Network I/O (HIGH)

5. Terminal & TTY Handling (MEDIUM-HIGH)

6. Signal & Process Control (MEDIUM)

7. File I/O Streaming (MEDIUM)

8. Event Loop Architecture (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

FileDescription
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.