rust-patterns
Skill42 starsChanged 3 months agoMITView on GitHub
Rust/Tauri patterns and best practices for Agentrium backend
14 other projects use a version of this.
Adopted by
Most recently taken up by
- templetongroup/radianttheir own version, first seen Sep 17, 2026
- MortuisVMain/ai-agent-superpowerstheir own version, first seen Sep 15, 2026
- lukemurraynz/hve-agent-skillstheir own version, first seen Aug 27, 2026
- idexal/idexal-skillstheir own version, first seen Aug 26, 2026
- SamuelNDCE/claude-super-skill-librarytheir own version, first seen Aug 1, 2026
- JunMystery/Agent-Guidance-Pythontheir own version, first seen Jul 21, 2026
Used with
Projects with it also use kotlin-testing, carrier-relationship-management and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tpavanipradeepSkillkotlin-testing
Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.
Also in 4 projects that use this
InfopibeSkillcarrier-relationship-management
Codified expertise for managing carrier portfolios, negotiating freight rates, tracking carrier performance, allocating freight, and maintaining strategic carrier relationships. Informed by transportation managers with 15+ years experience. Includes scorecarding frameworks, RFP processes, market intelligence, and compliance vetting. Use when managing carriers, negotiating rates, evaluating carrier performance, or building freight strategies.
Also in 5 projects that use this
InfopibeSkillralphinho-rfc-pipeline
RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.
Also in 5 projects that use this
mryeastcodeSkillsanta-method
Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.
Also in 4 projects that use this
tpavanipradeepSkillbun-runtime
Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.
Also in 5 projects that use this
saxon-ySkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 5 projects that use this
- +1 more from Infopibe
- +1 more from tpavanipradeep
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- loulanyue/awesome-claude-notes★ 272same name
- tpavanipradeep/everything-claude-code★ 134same name
- templetongroup/radiant★ 113same name
- FlorianBruniaux/ccboard★ 96same name
- Jamkris/everything-gemini-code★ 87same name
- idexal/idexal-skills★ 13same name
- Jonathan0823/opencode-config★ 8same name
- peopleforrester/claude-dotfiles★ 3same name
- JunMystery/Agent-Guidance-Python★ 2same name
- lukemurraynz/hve-agent-skills★ 2same name
4 more not listed
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 repository9 other files it gives its agents.
- .codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agentrium-conventionsSkill
- agentrium-conventionsSkill
- frontend-patternsSkill
- local-qaSkill
- security-reviewSkill
- tdd-workflowSkill
- verification-loopSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Never .unwrap() in production - use ?
- Very specific: line 11
Use anyhow for internal errors, convert to String at IPC boundary
- Very specific: line 15
Never hold a Mutex lock across .await points
- Very specific: line 19
All commands are async with #[tauri::command]
- Very specific: line 25
Use CREATE_NO_WINDOW flag on process spawns
- Distinctive: line 26
Test path handling with backslashes
- Distinctive: line 31
Always clean up resources even on error paths
“Common” is measured: kept by at least 6 in 10 of the 13 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
Rust Patterns for Agentrium
Error Handling
- Commands return
Result<T, String>- use.map_err(|e| e.to_string()) - Never
.unwrap()in production - use?operator - Use
anyhowfor internal errors, convert to String at IPC boundary
Thread Safety
AppStateusesArc<Mutex<T>>- lock, use, drop quickly- Never hold a Mutex lock across
.awaitpoints - PTY reader threads use
mpsc::channelto communicate with Tokio tasks
Tauri Commands
- All commands are
asyncwith#[tauri::command] - Access state via
tauri::State<'_, AppState> - Register every command in
main.rsinvoke_handler
Windows Specifics
- Wrap shell commands with
cmd /C - Use
CREATE_NO_WINDOWflag on process spawns - Test path handling with backslashes
PTY Lifecycle
- Spawn → reader thread → mpsc channel → Tokio task → emit events
- On close: signal reader thread, join, close channel, emit
terminal-finished - Always clean up resources even on error paths
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.

