Перейти к основному содержимому

Перевод: оболочка страницы на русском; тело навыка (SKILL.md) пока на английском — это исходные инструкции агента.

Lang Rust

Navigate, test, and clippy Rust via cargo.

Метаданные навыка​

ИсточникВстроенный (установлен по умолчанию)
Путьskills/software-development/lang-rust
Версия1.0.0
АвторVibeOS
ЛицензияMIT
Платформыlinux, macos, windows
Тегиrust, cargo, language-pack, rust-analyzer
Связанные навыкиcodebase-navigate, test-driven-development

Справка: полный SKILL.md​

к сведению

Ниже полное определение навыка, которое VibeOS загружает при активации. Это инструкции, которые видит агент.

Rust Language Pack Skill

Use cargo + project index for Rust crates. LSP hint: rust-analyzer.

When to Use​

  • Repo has Cargo.toml
  • User asks to find symbols, run tests, cargo check, or clippy

Prerequisites​

vibeos pack apply lang-rust --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
vibeos project index query <SymbolName>
cargo test
cargo check
cargo clippy -- -D warnings

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-rust --apply
Doctorvibeos language doctor rust
Testcargo test

Procedure​

  1. Prefer workspace member paths when the root is a Cargo workspace.
  2. Navigate with index; verify with cargo check before broad refactors.
  3. Keep clippy warnings actionable; do not blanket-allow.

Pitfalls​

  • target/ is not for indexing — ignore build artifacts.
  • Features/flags must come from the crate docs or user, not guesses.

Verification​

vibeos language doctor rust
cargo test