planning-with-files
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Build, debug, review, or migrate Rust crates and Cargo workspaces, including unsafe code and performance.
$ npx -y skills add khaneliman/khanelinix --skill rust-toolkit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/rust-toolkitContext 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.
name: rust-toolkit description: Build, debug, review, or migrate Rust crates and Cargo workspaces, including unsafe code and performance.
Route Rust engineering work through repository evidence, then load only the reference needed for the current decision.
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.
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).
crate, add a trait, or encode typestate only for visual symmetry.
allocators. Report baseline, changed variable, and comparable result.
silently rewrite code to the newest Rust release.
research leads, not proof that a feature is stable.
command shape matches project policy.
rendering, and visual validation.
Run packages directly with: Or install from the packages output. For example:
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Audit coding-agent sessions and mine cross-harness history for recurring corrections, skill-routing gaps, and harness faults. Use…
Design and audit agent instructions, skills, plugins, subagents, prompts, hooks, and provider configuration. Use for AI-tool…
Sketch interfaces, state, and module structure before code. Use for explicit design-led implementation or as a caller-owned…
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena,…
Bevy workflows for ECS, migrations, first-party UI/input/rendering/assets/shaders, plugin selection, scenes, scheduling, hot…