actionbook

106 mods across 2 repositories, 3.0k stars between them.

m01-ownership

97

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for ownership/borrow/lifetime issues. Triggers: E0382, E0597, E0506, E0507, E0515, E0716, E0106, value moved, borrowed value does not live long enough, cannot move out of, use of moved value, ownership, borrow, lifetime, 'a, 'static, move, clone, Copy, 所有权, 借用, 生命周期.

1.4k 9d ago A 96 tokens

m02-resource

98

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for smart pointers and resource management. Triggers: Box, Rc, Arc, Weak, RefCell, Cell, smart pointer, heap allocation, reference counting, RAII, Drop, should I use Box or Rc, when to use Arc vs Rc, 智能指针, 引用计数, 堆分配.

1.4k 9d ago A 74 tokens

m03-mutability

99

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for mutability issues. Triggers: E0596, E0499, E0502, cannot borrow as mutable, already borrowed as immutable, mut, &mut, interior mutability, Cell, RefCell, Mutex, RwLock, 可变性, 内部可变性, 借用冲突.

1.4k 9d ago A 74 tokens

m04-zero-cost

100

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for generics, traits, zero-cost abstraction. Triggers: E0277, E0308, E0599, generic, trait, impl, dyn, where, monomorphization, static dispatch, dynamic dispatch, impl Trait, trait bound not satisfied, 泛型, 特征, 零成本抽象, 单态化.

1.4k 9d ago A 78 tokens

m05-type-driven

101

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for type-driven design. Triggers: type state, PhantomData, newtype, marker trait, builder pattern, make invalid states unrepresentable, compile-time validation, sealed trait, ZST, 类型状态, 新类型模式, 类型驱动设计.

1.4k 9d ago A 60 tokens

m06-error-handling

102

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for error handling. Triggers: Result, Option, Error, ?, unwrap, expect, panic, anyhow, thiserror, when to panic vs return Result, custom error, error propagation, 错误处理, Result 用法, 什么时候用 panic.

1.4k 9d ago A 61 tokens

m07-concurrency

103

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for concurrency/async. Triggers: E0277 Send Sync, cannot be sent between threads, thread, spawn, channel, mpsc, Mutex, RwLock, Atomic, async, await, Future, tokio, deadlock, race condition, 并发, 线程, 异步, 死锁.

1.4k 9d ago A 75 tokens

m09-domain

104

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for domain modeling. Triggers: domain model, DDD, domain-driven design, entity, value object, aggregate, repository pattern, business rules, validation, invariant, 领域模型, 领域驱动设计, 业务规则.

1.4k 9d ago A 55 tokens

m10-performance

105

actionbook/rust-skills

Skill Claude CodeCodex

CRITICAL: Use for performance optimization. Triggers: performance, optimization, benchmark, profiling, flamegraph, criterion, slow, fast, allocation, cache, SIMD, make it faster, 性能优化, 基准测试.

1.4k 9d ago A 49 tokens

m11-ecosystem

106

actionbook/rust-skills

Skill Claude CodeCodex

Use when integrating crates or ecosystem questions. Keywords: E0425, E0433, E0603, crate, cargo, dependency, feature flag, workspace, which crate to use, using external C libraries, creating Python extensions, PyO3, wasm, WebAssembly, bindgen, cbindgen, napi-rs, cannot find, private, crate recommendation, best crate…

1.4k 9d ago A 110 tokens