Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rust-skills

БесплатноБез исполняемых скриптовНе проверен

Rust rules for writing, reviewing, and refactoring Rust code. Use when editing .rs files or Cargo.toml, fixing borrow-checker, lifetime, or Send errors…

leonardomsoот leonardomso★ 783 звезды на GitHub

Об этом скилле

Rust Skills

268 rules across 26 categories for idiomatic, safe, and fast Rust. Current for Rust 1.100 (2024 edition). This file is the index; each rule lives in rules/<id>.md next to it.

How to use

  1. Find the task in the table below. It names the categories to scan. A task that spans several rows uses all of them.
  2. In the index, read the summaries in those categories. Open the rule file for every rule that bears on the code in front of you.
  3. Apply the rules. When two rules pull in different directions, the higher-impact category wins: CRITICAL > HIGH > MEDIUM > LOW.
  4. When reviewing, report each finding with its rule id (for example own-slice-over-vec) and the fix.

Done when every rule you opened is either applied or skipped for a stated reason.

If rules/ is not next to this file (a single-file install), fetch a rule from https://raw.githubusercontent.com/leonardomso/rust-skills/master/rules/<id>.md.

Task → categories

Task Categories
New function own-, err-, name-, pat-
New struct or public API api-, type-, trait-, conv-, doc-
Error handling err-, api-, pat-
Borrow-checker or lifetime errors own-, closure-
Async code async-, own-
Threads, locks, atomics conc-, own-, async-
Unsafe code or FFI unsafe-, type-, test-
Conversions and parsing conv-, api-
Serialization (serde) serde-, type-, api-
Numeric / arithmetic num-, type-
Macros / code generation macro-
Closures / callbacks closure-, type-
Collections coll-, mem-, perf-
Logging / observability obs-, err-
Tests and benchmarks test-, perf-
Memory use mem-, own-, perf-
Performance tuning perf-, opt-, mem-
Cargo.toml, workspace, CI setup proj-, lint-, opt-, perf-release-profile
Code review every category the code touches, then anti-

Index

1. Ownership & Borrowing (CRITICAL)

2. Error Handling (CRITICAL)

3. Memory Optimization (CRITICAL)

Полный SKILL.md на GitHub

Установить rust-skills в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.mdCHANGELOG.mdCLAUDE.mdCONTRIBUTING.mdLICENSEREADME.md

FAQ

Что делает скилл rust-skills?

Rust rules for writing, reviewing, and refactoring Rust code. Use when editing .rs files or Cargo.toml, fixing borrow-checker, lifetime, or Send errors, designing a crate's public API, writing async or unsafe code, or tuning performance.

Как установить скилл rust-skills?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rust-skills запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить rust-skills с