neo-rust SKILL.md skillA

neo-rust from benknightdark/neo-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add benknightdark/neo-skills/neo-rust@git:20260531.de0cb05

Pins git:20260531.de0cb05 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
benknightdark/neo-skills
Path
skills/neo-rust/SKILL.md
Versions recorded
5
Latest version
git:20260531.de0cb05, committed May 31, 2026
First version recorded
May 12, 2026
Size
5,420 bytes
Repository stars
7
License
MIT

Use this skill when writing, refactoring, debugging, or auditing Rust code. Trigger for .rs files, Cargo projects, ownership/borrowing/lifetime issues, Result/Option error handling, unnecessary clone/performance work, unsafe code review, or modern Rust architecture.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Neo Rust Expert

Write safe, maintainable, and idiomatic Rust code by strictly following the official design patterns, leveraging Rust's powerful type system, and avoiding anti-patterns.

## Gotchas

* **Gotcha 1 (Async Mutex Deadlock / Send Error)**: 
  In an `async` function, using the standard library's `std::sync::Mutex` and holding its `MutexGuard` across an `.await` boundary will cause a compiler error because `MutexGuard` does not implement `Send` and cannot be transferred across threads.
  * *Solution*: Use a local block `{}` to limit the MutexGuard lifetime before the `.await`, or use `tokio::sync::Mutex` instead.
* **Gotcha 2 (Excessive Cloning)**: 
  To satisfy the Borrow Checker, beginners often call `.clone()` excessively, which introduces significant memory allocation and copy overhead.
  * *Solution*: Prioritize passing borrowed references (e.g., `&str` instead of `String`, `&[T]` instead of `Vec<T>`), or refactor ownership structures and lifetimes.
* **Gotcha 3 (Unsafe Unwrapping)**: 
  Using `.unwrap()` or `panic!()` directly in library or production-grade code will cause the application to crash, violating Rust's safety-first principle.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add benknightdark/neo-skills/neo-rust@sha256:d3ab72f9839336ce

The line at the top of this page pins the label git:20260531.de0cb05, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_x4sh5xm3htnltvhp.svg)](https://markdownregistry.com/a/art_x4sh5xm3htnltvhp)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between May 12, 2026 and May 31, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20260531.de0cb05 latest2026-05-31 de0cb05 5,420 BA view · diff
git:20260530.40d0b8f2026-05-30 40d0b8f 5,570 BA view · diff
git:20260524.9caa1582026-05-24 9caa158 5,620 BA view · diff
git:20260512.ab337812026-05-12 ab33781 2,364 BA view · diff
git:20260512.a9920752026-05-12 a992075 2,363 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5420 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

benknightdark/neo-skills · 7 stars · license MIT · pushed 2026-10-25 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_x4sh5xm3htnltvhp
GET https://markdownregistry.com/api/v1/resolve?ref=benknightdark/neo-skills/neo-rust
GET https://markdownregistry.com/api/v1/blob/d3ab72f9839336ced5de7bd48db11fece32b0abf88686af2e2f6aecf5b4d27a0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from benknightdark/neo-skills

generate-skill SKILL.md skill
benknightdark/neo-skills · .agents/skills/generate-skill/SKILL.md · 引導使用者建立、更新、審查或最佳化高品質 Agent Skill 定義檔 (SKILL.md),包含官方規格、description 觸發語、references/scripts/assets/evals 結構,以及 5 種核心設計模式。
git:20260523.61a8e20 · audit A · 7 stars
skill-name-kebab-case SKILL.md skill
benknightdark/neo-skills · .agents/skills/generate-skill/templates/SKILL.md · Use this skill when the user wants to [intended task / user intent]. It triggers when they mention [keywords / concepts…
v1.0.0 · audit A · 7 stars
AGENTS.md AGENTS.md file
benknightdark/neo-skills · AGENTS.md
git:20260805.ff5ad03 · audit A · 7 stars
neo-azure-pipelines SKILL.md skill
benknightdark/neo-skills · skills/neo-azure-pipelines/SKILL.md · Use this skill when the user asks to create, review, debug, or modernize Azure Pipelines YAML for CI/CD, especially…
v1.0.0 · audit A · 7 stars
neo-clarification SKILL.md skill
benknightdark/neo-skills · skills/neo-clarification/SKILL.md · Use this skill when the user gives vague, emotional, fragmented, screenshot-based, or complaint-style requirements and…
git:20260531.de0cb05 · audit A · 7 stars
neo-clean-architecture SKILL.md skill
benknightdark/neo-skills · skills/neo-clean-architecture/SKILL.md · Use this skill when the user wants to design, implement, review, or refactor software systems conforming to Clean…
git:20260611.6cd7ff8 · audit A · 7 stars
neo-code-review SKILL.md skill
benknightdark/neo-skills · skills/neo-code-review/SKILL.md · Use this skill when the user asks to review or audit source code, a PR, diff, commit, or recent changes for bugs…
git:20260817.6a10bcd · audit A · 7 stars
neo-csharp-interface-generator SKILL.md skill
benknightdark/neo-skills · skills/neo-csharp-interface-generator/SKILL.md · Use this skill when the user asks to generate, update, or place a C# interface from an existing class. Trigger for…
v1.0.0 · audit A · 7 stars
neo-csharp SKILL.md skill
benknightdark/neo-skills · skills/neo-csharp/SKILL.md · Use this skill when writing, reviewing, debugging, or modernizing C# code in .NET projects. Trigger for .cs/.csproj…
v1.4.0 · audit A · 7 stars
neo-dotnet-ef-core SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-ef-core/SKILL.md · Use this skill when the task involves Entity Framework Core models, DbContext, migrations, LINQ queries, change…
v1.0.0 · audit A · 7 stars
neo-dotnet-minimal-apis SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-minimal-apis/SKILL.md · Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core Minimal APIs, lightweight endpoints…
v1.0.0 · audit A · 7 stars
neo-dotnet-mvc SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-mvc/SKILL.md · Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core MVC apps with Razor views, controllers…
v1.0.0 · audit A · 7 stars

Every file in benknightdark/neo-skills

Browse by kind, by grade A, or by owner.