skills/ms-rust/SKILL.md
ALWAYS invoke this skill BEFORE writing or modifying ANY Rust code (.rs files) even for simple Hello World programs. Enforces Microsoft-style Rust development discipline and requires consulting the appropriate guideline files before any coding activity. This skill is MANDATORY for all Rust development.
npx skillsauth add HadiCherkaoui/opencode-config ms-rustInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enforces structured, guideline-driven Rust development. It ensures all Rust code strictly follows the appropriate Microsoft-style rules, documentation formats, and quality constraints.
This skill MUST be invoked for ANY Rust action, including:
.rs files (even minimal examples like Hello World).rs files (any change, no matter how small)Before writing or modifying Rust code, Claude must load ONLY the guideline files that apply to the requested task, using segmented reading (offset and limit) when needed.
01_ai_guidelines.mdUse when the Rust code involves:
02_application_guidelines.mdUse when working on:
03_documentation_guidelines.mdUse when:
04_ffi_guidelines.mdUse when:
05_library_guidelines.mdUse when creating or modifying Rust libraries, including:
06_performance_guidelines.mdUse when:
07_safety_guidelines.mdUse when:
08_universal_guidelines.mdUse in ALL Rust tasks. This file defines:
09_libraries_building_guidelines.mdUse when:
-sys crates for C interoperability10_libraries_interoperability_guidelines.mdUse when:
11_libraries_resilience_guidelines.mdUse when:
12_libraries_ux_guidelines.mdUse when:
// Rust guideline compliant {date} where {date} is the guideline date or the date of the current day (format YYYY-MM-DD)development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
development
Use when implementing any feature or bugfix, before writing implementation code