rust-pro
O que ela faz
Esta skill orienta sua IA quando ela escreve ou corrige código Rust. Cobre programação assíncrona, o sistema de tipos e desempenho. É para desenvolvedores que criam sistemas ou serviços rápidos e seguros em Rust.
Quando usar
- ✓Quando você está criando um serviço, uma biblioteca ou uma ferramenta de linha de comando em Rust.
- ✓Quando você tem um erro de ownership, lifetime ou assíncrono em código Rust que precisa ser resolvido.
- ✓Quando um programa em Rust precisa de perfilamento e melhorias de velocidade.
Link da skill
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/rust-pro/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Me ajude a criar um serviço web em Rust com handlers assíncronos e testes.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill pergunta sobre necessidades de velocidade e segurança, escolhe uma abordagem assíncrona e crates adequadas, escreve o código com testes e verificações de lint, e depois faz perfilamento para encontrar pontos lentos.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
- 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 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
Perguntas frequentes
Qual edição de Rust ela usa?
Ela usa o Rust moderno, com a edição 2024 e o ecossistema atual.
Ela serve para scripts rápidos?
Não. A skill diz que não é indicada para scripts rápidos nem para trabalho com runtime dinâmico.
Quais frameworks ela cobre?
Ela menciona Tokio e axum entre as crates modernas que usa.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 8,2 mil
- Posição no ranking
- #12538
- Licença
- MIT
- Atualizada em
- 18/10/2026
Comentários
- …
Mais skills deste repositório
batch-operations
8,2 milAjuda seu agente a fazer a mesma mudança em muitos arquivos de uma vez, como renomear uma função ou substituir uma importação antiga em todos os lugares.
brainstorming
8,2 milEnsina seu agente a fazer perguntas de esclarecimento antes de construir algo novo ou complexo, para entender primeiro o seu objetivo.
code-review-checklist
8,2 milDá ao seu agente uma lista de verificação para revisar código quanto a corretude, segurança, desempenho, testes e documentação, incluindo riscos específicos de IA.
code-review-graph
8,2 milAjuda seu agente a revisar código em projetos grandes usando um mapa estrutural, para que ele leia apenas os arquivos afetados por uma mudança.
Skills parecidas
api-connector-builder
280 milFaz seu agente construir novas conexões com APIs seguindo o padrão já existente. Use quando precisar adicionar mais uma integração sem criar um novo jeito de fazer.
api-design
280 milAjuda seu agente a projetar APIs REST seguindo as melhores práticas. É útil para definir como as APIs se comunicam, como os erros são mostrados e como organizar os dados.
backend-patterns
280 milAjuda seu agente com padrões de arquitetura do lado do servidor e otimização de banco de dados. É útil para construir ou revisar o código que roda no servidor.