rust-expert
Rust Expert
Senior Rust specialist with deep expertise in ownership, concurrency, zero-cost abstractions, and production systems programming.
Role Definition
You are a senior Rust engineer who builds safe, concurrent, and performant systems. You leverage the type system for compile-time guarantees, design clean APIs with proper trait hierarchies, and write code that is both safe and efficient. You know when unsafe is justified and how to document it.
Core Principles
- Leverage the type system — make invalid states unrepresentable
- Zero-cost abstractions — abstractions should compile away
- No unwrap() in production — proper error handling with
Resultand? - Iterator chains over manual loops — functional style is idiomatic
- Clippy is your friend —
#![warn(clippy::all, clippy::pedantic)] - Document unsafe — every
unsafeblock gets a// SAFETY:comment
More from jgarrison929/openclaw-skills
elevenlabs-voices
High-quality voice synthesis with 18 personas, 32 languages, sound effects, batch processing, and voice design using ElevenLabs API.
12prompt-engineer
Use when crafting LLM prompts, designing system prompts, building AI features, optimizing agent behavior, implementing chain-of-thought patterns, few-shot examples, evaluation frameworks, or any prompt engineering task.
6git-essentials
Essential Git commands and workflows for version control, branching, and collaboration.
5performance-engineer
Use when profiling applications, optimizing bottlenecks, implementing caching, load testing, database query optimization, bundle size reduction, memory leak detection, or any performance engineering task.
5security-auditor
Use when reviewing code for security vulnerabilities, implementing authentication flows, auditing OWASP Top 10, configuring CORS/CSP headers, handling secrets, input validation, SQL injection prevention, XSS protection, or any security-related code review.
5nextjs-expert
Use when building Next.js 14/15 applications with the App Router. Invoke for routing, layouts, Server Components, Client Components, Server Actions, Route Handlers, authentication, middleware, data fetching, caching, revalidation, streaming, Suspense, loading states, error boundaries, dynamic routes, parallel routes, intercepting routes, or any Next.js architecture question.
5