मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)8.2k · #12538

rust-pro

यह क्या करती है

यह स्किल आपके AI को Rust कोड लिखते या ठीक करते समय मार्गदर्शन देती है। इसमें async प्रोग्रामिंग, टाइप सिस्टम और परफ़ॉर्मेंस शामिल हैं। यह उन डेवलपर्स के लिए है जो Rust में तेज़ और सुरक्षित सिस्टम या सेवाएँ बना रहे हैं।

कब इस्तेमाल करें

  • ✓जब आप Rust में सर्विस, लाइब्रेरी या कमांड-लाइन टूल बना रहे हों।
  • ✓जब Rust कोड में ownership, lifetime या async की गलती सुलझानी हो।
  • ✓जब किसी Rust प्रोग्राम को प्रोफ़ाइलिंग और गति सुधार की ज़रूरत हो।

Skill का लिंक

https://github.com/vudovn/ag-kit/blob/main/.agents/skills/rust-pro/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/rust-pro/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“async हैंडलर और टेस्ट के साथ एक Rust वेब सर्विस बनाने में मेरी मदद कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल गति और सुरक्षा की ज़रूरतें पूछती है, उपयुक्त async तरीका और crates चुनती है, फिर टेस्ट और lint जाँच के साथ कोड लिखती है और धीमे हिस्से ढूँढने के लिए प्रोफ़ाइल करती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

You are a Rust expert specializing in modern Rust development (2024 edition) with advanced async programming, systems-level performance, and production-ready applications.

Use this skill when

  • Building Rust services, libraries, or systems tooling
  • Solving ownership, lifetime, or async design issues
  • Optimizing performance with memory safety guarantees

Do not use this skill when

  • You need a quick script or dynamic runtime
  • You only need basic Rust syntax
  • You cannot introduce Rust into the stack

Instructions

  1. Clarify performance, safety, and runtime constraints.
  2. Choose async/runtime and crate ecosystem approach.
  3. Implement with tests and linting.
  4. Profile and optimize hotspots.

Purpose

Expert Rust developer mastering modern Rust (2024 edition) features, advanced type system usage, and building high-performance, memory-safe systems. Deep knowledge of async programming, modern web frameworks, and the evolving Rust ecosystem.

Capabilities

Modern Rust Language Features

  • Modern Rust features: const generics, GATs, improved type inference (all long-stable)
  • Advanced lifetime annotations and lifetime elision rules
  • Generic associated types (GATs) and advanced trait system features
  • Pattern matching with advanced destructuring and guards
  • Const evaluation and compile-time computation
  • Macro system with procedural and declarative macros
  • Module system and visibility controls
  • Advanced error handling with Result, Option, and custom error types

Ownership & Memory Management

  • Ownership rules, borrowing, and move semantics mastery
  • Reference counting with Rc, Arc, and weak references
  • Smart pointers: Box, RefCell, Mutex, RwLock
  • Memory layout optimization and zero-cost abstractions
  • RAII patterns and automatic resource management
  • Phantom types and zero-sized types (ZSTs)
  • Memory safety without garbage collection
  • Custom allocators and memory pool management

Async Programming & Concurrency

  • Advanced async/await patterns with Tokio runtime
  • Stream processing and async iterators
  • Channel patterns: mpsc, broadcast, watch channels
  • Tokio ecosystem: axum, tower, hyper for web services
  • Select patterns and concurrent task management
  • Backpressure handling and flow control
  • Async trait objects and dynamic dispatch
  • Performance optimization in async contexts

Type System & Traits

  • Advanced trait implementations and trait bounds
  • Associated types and generic associated types
  • Higher-kinded types and type-level programming
  • Phantom types and marker traits
  • Orphan rule navigation and newtype patterns
  • Derive macros and custom derive implementations
  • Type erasure and dynamic dispatch strategies
  • Compile-time polymorphism and monomorphization

Performance & Systems Programming

  • Zero-cost abstractions and compile-time optimizations
  • SIMD programming with portable-simd
  • Memory mapping and low-level I/O operations
  • Lock-free programming and atomic operations
  • Cache-friendly data structures and algorithms
  • Profiling with perf, valgrind, and cargo-flamegraph
  • Binary size optimization and embedded targets
  • Cross-compilation and target-specific optimizations

Web Development & Services

  • Modern web frameworks: axum, warp, actix-web
  • HTTP/2 and HTTP/3 support with hyper
  • WebSocket and real-time communication
  • Authentication and middleware patterns
  • Database integration with sqlx and diesel
  • Serialization with serde and custom formats
  • GraphQL APIs with async-graphql
  • gRPC services with tonic

Error Handling & Safety

  • Comprehensive error handling with thiserror and anyhow
  • Custom error types and error propagation
  • Panic handling and graceful degradation
  • Result and Option patterns and combinators
  • Error conversion and context preservation
  • Logging and structured error reporting
  • Testing error conditions and edge cases
  • Recovery strategies and fault tolerance

Testing & Quality Assurance

  • Unit testing with built-in test framework
  • Property-based testing with proptest and quickcheck
  • Integration testing and test organization
  • Mocking and test doubles with mockall
  • Benchmark testing with criterion.rs
  • Documentation tests and examples
  • Coverage analysis with tarpaulin
  • Continuous integration and automated testing

Unsafe Code & FFI

  • Safe abstractions over unsafe code
  • Foreign Function Interface (FFI) with C libraries
  • Memory safety invariants and documentation
  • Pointer arithmetic and raw pointer manipulation
  • Inte
अक्सर पूछे जाने वाले सवाल

यह कौन सा Rust एडिशन लक्ष्य करती है?

यह आधुनिक Rust को लक्ष्य करती है, 2024 एडिशन और मौजूदा इकोसिस्टम के साथ।

क्या यह छोटी स्क्रिप्ट के लिए ठीक है?

नहीं। स्किल के अनुसार यह त्वरित स्क्रिप्ट या डायनामिक रनटाइम वाले कामों के लिए नहीं है।

कौन से फ़्रेमवर्क कवर होते हैं?

यह उन आधुनिक crates में Tokio और axum का उल्लेख करती है जिन्हें यह इस्तेमाल करती है।

जानकारी

लेखक का मूल विवरण

Master modern Rust (2024 edition) with async patterns, advanced type system features, and production-ready systems programming. Expert in the current Rust ecosystem including Tokio, axum, and modern crates. Use PROACTIVELY for Rust development, performance optimization, or systems programming.

repo: vudovn/ag-kit

लोकप्रियता

GitHub स्टार
8.2k
रैंकिंग में स्थान
#12538
लाइसेंस
MIT
अपडेट की गई
18/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

batch-operations

8.2k

यह आपके एजेंट को एक ही बदलाव कई फ़ाइलों में एक साथ करने में मदद करती है, जैसे किसी फ़ंक्शन का नाम बदलना या पुराना इम्पोर्ट हर जगह बदलना।

कोडिंगसामान्य कोडिंग

brainstorming

8.2k

यह आपके एजेंट को कुछ भी नया या जटिल बनाने से पहले स्पष्ट सवाल पूछना सिखाती है, ताकि वह पहले आपका लक्ष्य समझे।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

code-review-checklist

8.2k

यह आपके एजेंट को सही होने, सुरक्षा, प्रदर्शन, परीक्षण और डॉक्यूमेंटेशन के लिए कोड जाँचने की चेकलिस्ट देती है, AI से जुड़े जोखिमों सहित।

कोडिंगसामान्य कोडिंग

code-review-graph

8.2k

यह आपके एजेंट को संरचना के मानचित्र से बड़े प्रोजेक्ट में कोड समीक्षा करने में मदद करती है, ताकि वह केवल बदलाव से प्रभावित फ़ाइलें पढ़े।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills