Skip to main content
Run any Skill in Manus
with one click

rust-design-patterns

Stars7
Forks1
UpdatedMarch 2, 2026 at 08:27

Expert guidance on Rust design patterns, idioms, and anti-patterns combining rust-unofficial/patterns and fadeevab/design-patterns-rust GoF implementations. MUST use when: (1) implementing any GoF pattern in Rust (Builder, Factory, Strategy, Observer, State, etc.), (2) choosing between trait objects vs generics vs enums for polymorphism, (3) encountering borrow checker blocking desired design, (4) asking `idiomatic Rust way to X` or `Rust equivalent of X pattern`, (5) designing FFI boundaries, (6) reviewing Rust code for anti-patterns, (7) structuring ownership for complex state machines,(8) implementing self-referential or recursive data structures. Keywords: design pattern, GoF, idiom, trait object, static dispatch, dynamic dispatch, newtype, RAII, builder, factory, strategy, state, observer, mediator, adapter, decorator, proxy, singleton, prototype, anti-pattern, borrow checker.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly