Trên GitHub, leonardomso/rust-skills đã đạt 638 sao, nhóm AI Tools, ngôn ngữ Python. A collection of 265 rules across 26 categories that AI coding agents can use to write idiomatic, fast, and safe Rust.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
265 Rust rules your AI coding agent can use to write better code. Current for Rust 1.96 (2024 edition).
Works with Claude Code, Cursor, Windsurf, Copilot, Codex, Aider, Zed, Amp, Cline, and pretty much any other agent that supports skills.
Why
Out of the box, coding agents write average Rust — they clone to dodge the borrow checker, .unwrap() everything, and reach for Box<dyn Trait> when impl Trait would do. These rules encode what expert Rust actually looks like: idiomatic, fast, and safe. Each rule is small and focused, so the agent pulls in only what's relevant to the code in front of it.
Install
npx add-skill leonardomso/rust-skills
That's it. The CLI figures out which agents you have and installs the skill to the right place.
How to use it
After installing, just ask your agent:
/rust-skills review this function
/rust-skills is my error handling idiomatic?
/rust-skills check for memory issues
/rust-skills is this unsafe block sound?
The agent loads the relevant rules and applies them to your code.
See it in action
Ask the agent to review a function like this:
// before
fn first_word(s: &String) -> String {
s.clone().split_whitespace().next().unwrap().to_string()
}
With these rules loaded, it knows to take &str instead of &String, drop the
needless clone() and allocation, and return an Option instead of panicking:
The design is built for low token cost and easy auditing:
SKILL.md is a lightweight index — every rule listed as a one-line summary, grouped by category, with a link to its file. The agent reads this first.
rules/ holds one Markdown file per rule (<prefix>-<name>.md). The agent opens only the handful relevant to your code instead of loading all 218 — progressive disclosure keeps context small.
Prefixes (own-, err-, unsafe-, async-, …) map directly to categories, so an agent reviewing async code can pull just async-, conc-, and own- rules.
CLAUDE.md and AGENTS.md are symlinks to SKILL.md, so the same content works across agent conventions.
Manual install
If add-skill doesn't work for your setup, here's how to install manually:
See SKILL.md for the full list with links to each rule file.
Sources & attribution
These rules are an independent synthesis of official Rust guidance, well-known books, and patterns drawn from widely-used open-source crates. They are not affiliated with or endorsed by the Rust project or any crate author. The text and code examples are original summaries — no substantial content is copied from the sources below.
This project is MIT-licensed. Referenced upstream materials remain under their own licenses — the official Rust documentation and API Guidelines are dual MIT / Apache-2.0.
Contributing
PRs welcome. To add or change a rule:
Create rules/<prefix>-<name>.md using a kebab-case id with an existing category prefix (own-, err-, mem-, …).
Follow the format of existing rules: a > one-line summary, then ## Why It Matters, ## Bad, ## Good, and ## See Also (with links that resolve).
Make sure code examples compile on current stable Rust.
Add the rule to the index in SKILL.md (Quick Reference list + the category count) so it stays in sync.
# prefix-rule-name
> One-line imperative summary.
## Why It Matters
Two to four sentences.
## Bad
```rust
// the anti-pattern
```
## Good
```rust
// the recommended pattern
```
## See Also
- [other-rule](other-rule.md) - why it's related
leonardomso/rust-skills thuộc nhóm AI Tools trên TopGit, cùng 13 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về leonardomso/rust-skills ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/leonardomso/rust-skills là nguồn chính thức.
leonardomso/rust-skills có bao nhiêu sao?
leonardomso/rust-skills có 638 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/leonardomso/rust-skills. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
leonardomso/rust-skills có những chủ đề gì?
GitHub topics của leonardomso/rust-skills: "agent-skills", "ai-coding", "best-practices", "claude-code", "code-quality", "codex", "coding-guidelines", "copilot", "llm", "opencode", "rust", "rust-lang", "rust-language". TopGit xếp repo vào nhóm AI Tools.
leonardomso/rust-skills còn đang phát triển không?
Commit gần nhất trên leonardomso/rust-skills là 4 tháng trước (theo timestamp GitHub). Repo có 70 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
leonardomso/rust-skills viết bằng ngôn ngữ gì?
leonardomso/rust-skills chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Vì sao leonardomso/rust-skills được xếp vào nhóm AI Tools?
TopGit xếp leonardomso/rust-skills vào nhóm AI Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "agent-skills", "ai-coding", "best-practices"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc rust-skills có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về rust-skills.