Skip to content
alyn
sno-ai

Rust Coder skill

Implement, refactor, and migrate production Rust with repository-grounded ownership, type-driven invariants, explicit errors, safe concurrency, minimal unsafe code, and verified Cargo workflows. Use for Rust features, crates, CLIs, services, libraries, async code, FFI, performance work, migrations, or substantial .rs and Cargo.toml changes, including requests such as 'rust-coder', 'write Rust', or 'implement this Rus

$npx skills add sno-ai/sno-station-skills --skill rust-coder
View this skill on GitHubsno-ai/sno-station-skills/plugins/sno-station-standalone/skills/rust-coder/SKILL.md
Pack stars
864
Pack installs
1
Alyn Score
44/99
Updated
6 days ago
License
Apache-2.0
– views – installs via Alyn

Install Rust Coder

Pick your agent. Every command is ready to paste.

$npx skills add sno-ai/sno-station-skills --skill rust-coder

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads rust-coder when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the rust-coder skill”. In Codex, type $rust-coder.

The skill itself

SKILL.md

FolderGitHub

Rust Coder

Implement directly in the current Codex session. Do not launch another Codex process.

Read references/standards.md completely before editing. Repository instructions and the declared toolchain override generic preferences.

Inspect

Read the smallest complete set of evidence:

  • Nearest AGENTS.md, CLAUDE.md, and repository instructions.
  • Root and target Cargo.toml, Cargo.lock, rust-toolchain*, Cargo configuration, lint and format configuration, features, targets, and continuous-integration commands.
  • Every target file in full, its parent exports, immediate callers, traits, types, errors, feature gates, platform boundaries, focused tests, and one or two tested sibling modules.
  • The exact format, check, test, Clippy, feature, and target commands used by the crate.

Determine the edit mode, crate kind, toolchain and minimum Rust version, public contract, ownership, resource lifecycle, error model, concurrency and cancellation, safety boundary, and invariants. Default to a hard cut; preserve compatibility only when an explicitly confirmed published contract requires it.

Ask only when an unresolved fact could change public behavior, durable state, safety, or migration semantics. Otherwise make repository-grounded assumptions and continue.

Design and implement

Resolve the change in this order:

  1. Domain invariants and invalid states.
  2. Ownership, borrowing boundaries, and resource lifetimes.
  3. Types, state transitions, public API, and errors.
  4. Concurrency, cancellation, and platform boundaries when relevant.
  5. Implementation mechanics and measured optimization.

Work directly with the available read and edit tools. Make the smallest coherent change and preserve unrelated work. Reuse existing crates, types, traits, errors, runtime, and helpers. Do not add dependencies, features, configuration, compatibility paths, unsafe, smart pointers, clones, lint suppressions, or abstractions merely to satisfy the compiler.

Treat borrow-checker and trait errors as design feedback. Keep checking and revising until the observable success criteria pass.

Verify

  1. Review the diff; every changed line must trace to the request.
  2. Run the repository's exact commands. Without stronger local commands, use focused equivalents of cargo fmt --all --check, cargo check, cargo test, and cargo clippy --all-targets --all-features -- -D warnings.
  3. Exercise every changed public feature combination and target that local tooling can validate.
  4. Search changed production Rust for unexplained clone, Arc, Rc, Box, interior mutability, unwrap, expect, panics, placeholders, unsafe, and lint suppressions.
  5. Add documentation, compile-fail, property, concurrency, Miri, package, or consumer checks only when the changed contract makes them relevant.

If a check fails, fix the exact observed failure and rerun it. Stop after three failed correction rounds and report the blocker instead of widening scope, cloning around ownership, adding unsafe code, or weakening validation.

Report

Lead with the outcome. Name changed files, consequential assumptions, ownership/type/error decisions, compatibility decisions, and every command actually run with its result.

Tips for Rust Coder

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
  • • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
  • • It is part of a pack with 21 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Rust Coder

What does the Rust Coder skill do?

Implement, refactor, and migrate production Rust with repository-grounded ownership, type-driven invariants, explicit errors, safe concurrency, minimal unsafe code, and verified Cargo workflows. Use for Rust features, crates, CLIs, services, libraries, async code, FFI, performance work, migrations, or substantial .rs and Cargo.toml changes, including requests such as 'rust-coder', 'write Rust', or 'implement this Rus

How do I install Rust Coder?

Run "npx skills add sno-ai/sno-station-skills --skill rust-coder" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Rust Coder work in Cursor and Codex?

Yes. Rust Coder uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Rust Coder free?

Rust Coder is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Rust Coder?

Rust Coder is published by sno-ai in the sno-ai/sno-station-skills repository, together with 20 other skills.

Similar skills. From other creators.