← Back to list

maverick-rust-ownership
by get2knowio
Highway to the agent zone!
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: maverick-rust-ownership description: Rust ownership, borrowing, and lifetimes version: 1.0.0 triggers:
- "&"
- "&mut"
- move
- borrow
- lifetime
- "'a"
- "'static"
- clone()
- Copy
- Drop
Rust Ownership Skill
Ownership Rules
- Each value has exactly one owner
- When owner goes out of scope, value is dropped
- Values can be moved or borrowed
Borrowing Rules
- One mutable reference OR any number of immutable references
- References must always be valid
let s = String::from("hello");
let r1 = &s; // OK
let r2 = &s; // OK
let r3 = &mut s; // ERROR: can't borrow as mutable
Lifetimes
fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
if x.len() > y.len() { x } else { y }
}
Review Severity
- CRITICAL: Dangling references, use after move
- MAJOR: Unnecessary clones, incorrect lifetime annotations
- MINOR: Could use references instead of owned values
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon