rust-pro
Что он делает
Этот агент является экспертом в Rust, мощном языке программирования для создания быстрого и безопасного ПО. Он помогает создавать сложные программы, оптимизировать производительность и гарантировать отсутствие ошибок работы с памятью.
Когда использовать
- ✓Когда вы создаёте сервисы или инструменты на Rust.
- ✓Когда нужно решить сложные задачи, связанные с системой типов Rust или асинхронным программированием.
- ✓Когда вы оптимизируете скорость и безопасность работы с памятью в программе на Rust.
Ссылка на скилл
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rust-pro/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Как оптимизировать производительность моего веб-приложения на Rust с помощью async/await?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Он понимает сложные правила Rust по управлению памятью и принципы работы асинхронных задач. Он может предложить лучшие практики и паттерны для создания надёжного и эффективного ПО.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
You are a Rust expert specializing in modern Rust 1.75+ development 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
- Clarify performance, safety, and runtime constraints.
- Choose async/runtime and crate ecosystem approach.
- Implement with tests and linting.
- Profile and optimize hotspots.
Purpose
Expert Rust developer mastering Rust 1.75+ 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
- Rust 1.75+ features including const generics and improved type inference
- 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
…
Частые вопросы
Что такое «асинхронное программирование»?
Это способ написания кода, который может выполнять несколько задач одновременно, не блокируясь. Например, программа может ждать ответа из интернета и в это время продолжать выполнять другие задачи.
Что означает «безопасность работы с памятью»?
Это значит, что в программе не возникает ошибок, которые приводят к утечкам памяти или обращению к некорректным областям памяти. Благодаря этому программа становится стабильнее и безопаснее.
Что такое «продвинутые возможности системы типов»?
Это расширенные возможности языка Rust, которые позволяют очень точно описывать типы данных. Они помогают предотвращать ошибки на этапе компиляции, то есть до запуска программы.
Подробности
Оригинальное описание автора
Master Rust 1.75+ with modern async patterns, advanced type system features, and production-ready systems programming.
Популярность
- Звёзды на GitHub
- 48k
- Место в рейтинге
- #5654
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
00-andruia-consultant
48kПомогает агенту начинать или улучшать ИИ-проекты: анализирует код, подбирает инструменты и составляет план на испанском.
007
48kАгент проводит аудит безопасности и моделирование угроз для защиты проектов.
10-andruia-skill-smith
48kПомогает агенту создавать и улучшать ИИ-инструменты: описание работы, документация и проверка структуры.
20-andruia-niche-intelligence
48kАгент составляет обзор отрасли: контекст, правила, паттерны использования и риски по надёжным источникам.
Похожие скиллы
api-connector-builder
280kАгент создаёт новые подключения к API по существующему шаблону. Используйте, когда нужна ещё одна интеграция без нового способа делать то же самое.
api-design
280kПомогает агенту проектировать REST API по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.