Skip to main content
skill CX Codex

rust-systems-programming — Claude Code skill: Rust without leaks

A skill on systems Rust: ownership, borrowing, threads, async, unsafe and performance. Useful when you write low-level code or port C/C++.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manutej/luxor-claude-marketplace --skill rust-systems-programming -a claude-code
Open on GitHub

What rust-systems-programming does

The skill walks through ownership and borrowing with code: moving a value, Copy types, mutable and immutable references, lifetimes. Then it covers Rc<RefCell<T>> for single-threaded sharing and Arc<T> for threads, plus Box<T> for heap allocation.

Concurrency gets channels via mpsc, Mutex, RwLock and Arc. One example shows a data race on static mut and how ThreadSanitizer catches it with RUSTFLAGS=-Zsanitizer=thread. The async/await section starts and then stops at the first snippet, so do not expect a full async walkthrough.

Install is one command through npx skills add, and the file lands at ~/.claude/skills/rust-systems-programming/SKILL.md. Nothing else to configure, but the examples assume a Rust compiler, and the sanitizer run needs a nightly toolchain.

What it helps with

  • understand why the compiler rejects a moved value
  • pick between Rc and Arc for shared state
  • build a multithreaded counter without races
  • track down a data race in static mut with ThreadSanitizer
  • port a chunk of C or C++ to safe Rust

Example prompts for the agent

  • explain why this code fails to compile: the value was moved and I read it after
  • show me how to share a counter across threads with Arc<Mutex<T>>
  • how do I catch a data race in static mut using ThreadSanitizer?

How to install rust-systems-programming

1Skills CLI (Vercel)

npx skills add manutej/luxor-claude-marketplace --skill rust-systems-programming -a claude-code

2Manually: put the files in place

~/.claude/skills/rust-systems-programming/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rust-systems-programming/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about rust-systems-programming

How do I install rust-systems-programming in Claude?

Run npx skills add manutej/luxor-claude-marketplace --skill rust-systems-programming -a claude-code. The skill ends up at ~/.claude/skills/rust-systems-programming/SKILL.md.

What does rust-systems-programming do?

It explains ownership, borrowing, lifetimes, threads, async and unsafe through code samples. Handy for systems Rust and for decoding compiler errors.

Do the examples need nightly Rust?

Only the ThreadSanitizer run does, since -Zsanitizer=thread is nightly-only. The rest build on stable.

Similar skills

All skills for Programming languages →

From the same set31

figma-design A Figma skill covering components, auto layout, variables, prototyping and plugin development. Useful when the agent writes plugin code or builds a design system. CX Codex +1 542installs spring-boot-development A skill that gives your coding agent a Spring Boot reference: auto-configuration, dependency injection, REST controllers, Spring Data and Spring Security. CX Codex +1 534installs rest-api-design-patterns A reference skill for designing REST APIs: resource modeling, versioning, pagination, HATEOAS and HTTP method semantics. CX Codex +1 525installs asyncio-concurrency-patterns A skill on Python concurrency: event loops, coroutines, tasks, semaphores and locks. Useful when you are writing an async service or client. CX Codex +1 489installs api-gateway-patterns A skill for building API gateways on Kong: routing, rate limiting, auth, load balancing. Useful when your microservices exist but lack a single entry point. CX Codex +1 481installs react-patterns A skill that hands your agent ready React recipes: hooks, component composition, state management and fewer wasted re-renders. CX Codex +1 471installs SQLAlchemy ORM Expert A SQLAlchemy 2.0+ skill for customer support backends: ticket models, sessions, async queries and PostgreSQL. Useful when you build on FastAPI. CX Codex +1 470installs pandas A skill that brings pandas expertise to support operations: SLA compliance, agent metrics, PostgreSQL pulls. Useful when you need to dig through tickets and build a report. CX Codex +1 469installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor