Skip to content
Development
Skill

/rust-toolkit

Build, debug, review, or migrate Rust crates and Cargo workspaces, including unsafe code and performance.

BOOST
From plugin
khanelinix
34750 skills10 agents6 commands
Install
$ npx -y skills add khaneliman/khanelinix --skill rust-toolkit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/rust-toolkit

Context preview

The summary Claude sees to decide when to auto-load this skill.

Build, debug, review, or migrate Rust crates and Cargo workspaces, including unsafe code and performance.

SKILL.md

rust-toolkit.SKILL.md
name: rust-toolkit
description: Build, debug, review, or migrate Rust crates and Cargo workspaces, including unsafe code and performance.

Rust Toolkit

Route Rust engineering work through repository evidence, then load only the reference needed for the current decision.

Start Here

1. Read contributor instructions and existing manifests, toolchain files, CI, features, and validation commands before proposing structure. 2. Run `scripts/project-context.py <path>` for a bounded first-pass inventory. Read [scripts.md](references/scripts.md) for behavior and limitations. 3. Preserve the repository's MSRV, edition, feature matrix, target platforms, and public API policy unless the user requests change. 4. Pick one primary mode below. Load another reference only when work crosses that boundary.

Routing

1. **project architecture**: crate/module/workspace boundaries, dependency direction, visibility, errors, features, and project initialization. Read [architecture.md](references/architecture.md). 2. **type-driven design**: typestate, runtime state machines, builders, newtypes, trait dispatch, ownership, and concurrency boundaries. Read [type-driven-design.md](references/type-driven-design.md). 3. **correctness and testing**: test placement, property/model testing, unsafe review, Miri, Loom, fuzzing, sanitizers, and validation ladders. Read [correctness-and-testing.md](references/correctness-and-testing.md). 4. **performance**: compile-time and runtime measurement, data layout, allocations, SIMD, custom allocators, PGO, profiles, linkers, and caching. Read [performance.md](references/performance.md). 5. **toolchain evolution**: edition or MSRV migrations, release and target changes, unstable language/Cargo features, and nightly experiments. Read [toolchain-evolution.md](references/toolchain-evolution.md). 6. **repeatable checks**: use the inventory and quality-gate helpers. Read [scripts.md](references/scripts.md).

Core Rules

  • Make the smallest boundary that enforces a real invariant. Do not split a

crate, add a trait, or encode typestate only for visual symmetry.

  • Measure before changing profiles, linkers, codegen backends, data layout, or

allocators. Report baseline, changed variable, and comparable result.

  • Derive version-sensitive APIs from manifests and matching official docs. Never

silently rewrite code to the newest Rust release.

  • Treat RFCs, project goals, tracking issues, and accepted nightly syntax as

research leads, not proof that a feature is stable.

  • Prefer repository-native checks. Use `scripts/rust-verify.sh` only when its

command shape matches project policy.

Cross-Skill Boundaries

  • Use `memory-profiler` for leak, OOM, fragmentation, or heap-profile work.
  • Use `bevy-toolkit` for Bevy ECS, plugins, lifecycle, MCP/BRP, runtime control,

rendering, and visual validation.

  • Use `security-toolkit` for explicit security audits or threat models.
  • Use `git-toolkit` for commit structure and history operations.
Read more
Ships withkhanelinix

Run packages directly with: Or install from the packages output. For example:

Get the whole plugin

Other skills on khanelinix.