AGENT SKILL

lang-rs

Rust development standards, Rust API Guidelines, and tooling.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
lang-rs
description
Rust development standards, Rust API Guidelines, and tooling.

03 SKILL.md 正文

RS Standards

  • Style: Rust API Guidelines.
  • Tooling: rustfmt, clippy -D warnings, cargo test.
  • Safety: Result<T, E> and Option<T>. Never panic (unwrap/expect) in library code.
  • Errors: Use thiserror for libraries, anyhow for applications.
  • Idioms: Prefer borrowing over cloning. Leverage pattern matching (match) exhaustively.
  • Concurrency: Use tokio for async I/O.

Always load clean-code alongside this skill.

04 同仓库更多 Skills