rust-skills
huiali/rust-skills/.codex/AGENTS.md
No summary in the file. Open it to read it.
One search for your own team's files and the public ecosystem. See how real projects write their agent instructions, and bring the good ideas home.
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.
huiali/rust-skills/.codex/AGENTS.md
No summary in the file. Open it to read it.
huiali/rust-skills/SKILL.md
You are an expert Rust programmer with deep knowledge of: - Memory safety, ownership, borrowing, and lifetimes - Modern Rust patterns (2021-2024 editions) - Systems programming, concurrency, and unsafe Rust - Error handling, testing, and best practices You approach Rust problems with: 1. Safety-first mindset - preventing undefined behavior at compile time 2. Zero-cost abstractions - writing high-performance, low-overhead code 3. Expressive type systems - using the type checker as a safety net 4. Ergonomic APIs - designing clean, intuitive…
huiali/rust-skills/skills/rust-actor/SKILL.md
Actor model expert covering message passing, state isolation, supervision trees, deadlock prevention, fault tolerance, Actix framework, and Erlang-style concurrency patterns.
huiali/rust-skills/skills/rust-anti-pattern/SKILL.md
Rust anti-patterns and common mistakes expert. Handles code review issues with clone abuse, unwrap in production, String misuse, index loops, and refactoring guidance.
huiali/rust-skills/skills/rust-async-pattern/SKILL.md
Advanced async patterns expert covering Stream implementation, zero-copy buffers, tokio::spawn lifetimes, plugin system scheduling, tonic streaming, and async lifetime management.
huiali/rust-skills/skills/rust-async/SKILL.md
Advanced async patterns expert. Handles Stream processing, backpressure control, select/join operations, cancellation, Future trait implementation, and async runtime optimization.
huiali/rust-skills/skills/rust-auth/SKILL.md
Authentication and authorization expert covering JWT, API keys, OAuth, RBAC, password hashing, distributed token storage, and session management patterns.
huiali/rust-skills/skills/rust-cache/SKILL.md
Caching and distributed storage expert covering Redis, connection pools, TTL strategies, cache patterns (Cache-Aside, Write-Through), invalidation, and performance optimization.
huiali/rust-skills/skills/rust-coding/SKILL.md
Rust coding conventions expert covering naming, formatting, comments, clippy, rustfmt, lints, code style, best practices, and idiomatic patterns.
huiali/rust-skills/skills/rust-concurrency/SKILL.md
Concurrency and async programming expert. Handles Send, Sync, threads, async/await, tokio, channels, Mutex, RwLock, deadlock prevention, and race condition debugging.
huiali/rust-skills/skills/rust-const/SKILL.md
Const generics and compile-time computation expert covering const fn, type-level computation, const evaluation, MaybeUninit arrays, and compile-time validation.
huiali/rust-skills/skills/rust-coroutine/SKILL.md
协程与绿色线程专家。处理 generator, suspend/resume, stackful coroutine, stackless coroutine, context switch, 协程, 绿色线程, 上下文切换, 生成器--- # 协程与绿色线程 ## 核心问题 **如何实现高效的轻量级并发?** 协程提供用户态的上下文切换,避免内核线程的开销。
huiali/rust-skills/skills/rust-database/SKILL.md
How do we guarantee data correctness while keeping queries and migrations operationally safe?
huiali/rust-skills/skills/rust-distributed/SKILL.md
分布式系统专家。处理 Raft, 2PC, 共识算法, 分布式事务, 分布式一致性, 分布式协调--- # 分布式系统 ## 核心问题 **如何在分布式环境中实现数据一致性和高可用?** 分布式系统需要在CAP理论中做出权衡。
huiali/rust-skills/skills/rust-dpdk/SKILL.md
用户态网络专家。处理 DPDK, 用户态驱动, 高性能网络, packet processing, 零拷贝, RSS 负载均衡--- # 用户态网络 (DPDK) ## 核心问题 **如何实现百万级 PPS 的高性能网络数据包处理?** 传统内核网络栈有太多上下文切换和内存拷贝开销。
huiali/rust-skills/skills/rust-ebpf/SKILL.md
eBPF 与内核模块专家。处理 eBPF program, kernel module, map, tail call, perf event, 跟踪, 内核探针, 性能分析--- # eBPF 与内核编程 ## 核心问题 **如何在不修改内核的情况下安全地扩展内核功能?** eBPF 提供在内核中安全执行用户态代码的能力。
huiali/rust-skills/skills/rust-ecosystem/SKILL.md
Rust ecosystem expert covering crate selection, library recommendations, framework comparisons, async runtime choices (tokio, async-std), and common tools.
huiali/rust-skills/skills/rust-embedded/SKILL.md
嵌入式与 no_std 专家。处理 no_std, embedded-hal, 裸机开发, 中断, DMA, 资源受限环境等问题。触发词:no_std, embedded, embedded-hal, microcontroller, firmware, ISR, DMA, 嵌入式, 裸机--- # 嵌入式与 no_std 开发 ## 核心问题 **如何在资源受限环境或没有标准库的情况下编程?** no_std 不是 Rust 的子集,而是一种不同的编程模式。
huiali/rust-skills/skills/rust-error-advanced/SKILL.md
深入错误处理专家。处理 Result vs Option, thiserror, anyhow, error context, library vs application errors, 错误处理, Result 用法, 什么时候用 panic--- # 深入错误处理 ## 核心问题 **这个失败是预期的还是 bug?** 错误处理策略决定代码的健壮性。
huiali/rust-skills/skills/rust-ffi/SKILL.md
FFI cross-language interop expert covering C/C++ bindings, bindgen, cbindgen, PyO3, JNI, memory layout, data conversion, and safe FFI patterns.
Plain text files in a repository that tell a coding agent how the project works: commands to run, conventions to follow and things to avoid. CLAUDE.md, AGENTS.md, cursor rules and skills are the common kinds.
CLAUDE.md is read by Claude Code. AGENTS.md is an open format that Codex, Cursor and other agents read. Many projects keep one and point the other at it.
A folder with a SKILL.md that describes one capability, such as filling PDFs or reviewing code. The agent loads it only when the task calls for it.
Your agents already can, over MCP, limited to the files you're allowed to read. Searching them from this page is coming.