Skip to main content

rust-modern-apis

Reference for stable Rust APIs added in versions 1.89 through 1.98 (August 2025 - August 2026). Use this skill whenever writing, reviewing, or refactoring Rust code — especially when you notice patterns that were verbose before newer APIs existed, when MSRV allows it, or when the user mentions modernizing Rust code, upgrading MSRV, or using "the latest Rust features". Also trigger when reviewing Rust code for improvements, migrations, or when a user asks "can this be simpler in modern Rust?" Proactively suggest newer APIs when you see patterns like manual UTF-8 truncation, path extension manipulation, advisory file locking via external crates, ignoring `retain` removal results, verbose `try_into().unwrap()` for fixed arrays, `compare_exchange` loops for atomic update, `cfg_if` crate usage, matching `0`/`1` to `bool`, `assert!(matches!(...))` in tests, hand-rolled bit-manipulation idioms like `1 << (BITS - 1 - x.leading_zeros())`, chained `strip_prefix`/`strip_suffix`, `.map(f).unwrap_or_default()`, the `itoa`

Aller à l'installation

Informations de source

Dépôt
bug-ops/claude-plugins
Dernière activité de la source
25 août 2026 à 15:14
Langue détectée de SKILL.md
anglais
Étoiles
11
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.