#601

Globales Ranking · von 601 Skills

rust AI Agent Skill

Quellcode ansehen: oakoss/agent-skills

Safe

Installation

npx skills add oakoss/agent-skills --skill rust

38

Installationen

Rust

Overview

Rust is a systems programming language focused on safety, concurrency, and performance. The ownership system guarantees memory safety without garbage collection, and the type system enforces thread safety at compile time.

When to use: Systems programming, web services (axum), CLI tools (clap), terminal UIs (ratatui), WebAssembly, performance-critical applications, anything requiring memory safety without runtime overhead.

When NOT to use: Rapid prototyping where compile times matter more than safety, simple scripting tasks, projects where the team has no Rust experience and deadlines are tight.

Quick Reference

Pattern API / Tool Key Points
Ownership transfer let b = a; a is moved, no longer usable
Borrowing &T / &mut T One mutable OR many immutable refs
Lifetime annotation fn f<'a>(x: &'a str) -> &'a str Ties output lifetime to input
Error propagation ? operator Converts and propagates errors
Custom errors thiserror::Error derive Structured error types with Display
Ad-hoc errors anyhow::Result<T> Context chaining for applications
Async runtime #[tokio::main] Entry point for async programs
Spawn task tokio::spawn(async { }) Concurrent async task execution
HTTP router axum::Router::new().route(...) Composable routing with extractors
Extractors Json<T>, Path<T>, State<T> Type-safe request parsing
Serialization #[derive(Serialize, Deserialize)] serde with format-agnostic derives
CLI parsing #[derive(Parser)] clap derive API for arg parsing
TUI rendering terminal.draw(|f| { }) Immediate-mode ratatui rendering
Benchmarking criterion::Criterion Statistical benchmarking framework
Dep auditing cargo deny check License, vulnerability, source audit
Binary release cargo dist init Cross-platform binary distribution
Changelog release-plz update Auto semver bump and changelog

Common Mistakes

Mistake Correct Pattern
Returning reference to local variable Return owned type or use lifetime parameter
Using unwrap() in library code Return Result and let caller decide
clone() to satisfy borrow checker Restructure code to avoid the borrow conflict
Blocking in async context Use tokio::task::spawn_blocking
Shared mutable state without sync Use Arc<Mutex<T>> or channels
String where &str suffices Accept &str in function parameters
Ignoring must_use warnings Handle or explicitly discard with let _ =
Large enum variants Box the large variant to reduce overall size
async fn in traits without bounds Add Send bound or use async-trait crate
Missing #[tokio::test] on async tests Use #[tokio::test] instead of #[test]

Delegation

  • Code exploration: Use Explore agent
  • Architecture review: Use Task agent
  • Code review: Delegate to code-reviewer agent

If the docker skill is available, delegate multi-stage container build patterns to it.
If the github-actions skill is available, delegate CI pipeline configuration to it.
If the openapi skill is available, delegate API specification and code generation to it.

References

Installationen

Installationen 38
Globales Ranking #601 von 601

Sicherheitsprüfung

ath Safe
socket Safe
Warnungen: 0 Bewertung: 90
snyk Low
EU EU-Hosted Inference API

Power your AI Agents with the best open-source models.

Drop-in OpenAI-compatible API. No data leaves Europe.

Explore Inference API

GLM

GLM 5

$1.00 / $3.20

per M tokens

Kimi

Kimi K2.5

$0.60 / $2.80

per M tokens

MiniMax

MiniMax M2.5

$0.30 / $1.20

per M tokens

Qwen

Qwen3.5 122B

$0.40 / $3.00

per M tokens

So verwenden Sie diesen Skill

1

Install rust by running npx skills add oakoss/agent-skills --skill rust in your project directory. Führen Sie den obigen Installationsbefehl in Ihrem Projektverzeichnis aus. Die Skill-Datei wird von GitHub heruntergeladen und in Ihrem Projekt platziert.

2

Keine Konfiguration erforderlich. Ihr KI-Agent (Claude Code, Cursor, Windsurf usw.) erkennt installierte Skills automatisch und nutzt sie als Kontext bei der Code-Generierung.

3

Der Skill verbessert das Verständnis Ihres Agenten für rust, und hilft ihm, etablierte Muster zu befolgen, häufige Fehler zu vermeiden und produktionsreifen Code zu erzeugen.

Was Sie erhalten

Skills sind Klartext-Anweisungsdateien — kein ausführbarer Code. Sie kodieren Expertenwissen über Frameworks, Sprachen oder Tools, das Ihr KI-Agent liest, um seine Ausgabe zu verbessern. Das bedeutet null Laufzeit-Overhead, keine Abhängigkeitskonflikte und volle Transparenz: Sie können jede Anweisung vor der Installation lesen und prüfen.

Kompatibilität

Dieser Skill funktioniert mit jedem KI-Coding-Agenten, der das skills.sh-Format unterstützt, einschließlich Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider und anderen Tools, die projektbezogene Kontextdateien lesen. Skills sind auf Transportebene framework-agnostisch — der Inhalt bestimmt, für welche Sprache oder welches Framework er gilt.

Data sourced from the skills.sh registry and GitHub. Install counts and security audits are updated regularly.

EU Made in Europe

Chat with 100+ AI Models in one App.

Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.

Kundensupport