
Rust
Rust coding conventions for imports, methods, TLS trust stores and clippy checks
Rust is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 31
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Rust
This skill gives an agent a set of Rust coding conventions to follow when writing or reviewing code. It covers how to structure imports and references, when to prefer methods and associated functions over free functions, and how to extend types you do not own through traits or wrapper structs.
A notable section covers TLS root certificates. It directs the agent to trust the operating system certificate store rather than bundling a root set into the binary, and it lists the reqwest feature flags to use for each version, along with checks for dependencies that pull in webpki roots by default. It suggests verifying the dependency tree with cargo tree.
The skill is a single SKILL.md file with no scripts. It states that project-specific conventions such as CLAUDE.md or style guides take precedence over its guidance. It is distributed as part of a Claude Code plugin marketplace.
When your agent uses it
This skill should be used when writing or reviewing Rust code, or when the project uses "Rust", "Cargo", "cargo clippy", "crate", or Rust module patterns. Provides Rust coding conventions, patterns, and best practices. Project-specific conventions always take priority.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the sorah-guides plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add sorah/config
/plugin install sorah-guides@sorah-marketplaceOr copy only this skill to ~/.claude/skills/rust:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/rust &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/rust" ~/.claude/skills/rust &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/rust inside it instead.
Copy the skill folder to ~/.agents/skills/rust to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/rust &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/rust" ~/.agents/skills/rust &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/rust inside it instead.
Copy the skill folder to ~/.cursor/skills/rust to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/rust &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/rust" ~/.cursor/skills/rust &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/rust inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/sorah/config.git --path claude/marketplace/plugins/sorah-guides/skills/rustOr copy the folder to ~/.gemini/skills/rust yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/rust:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/rust &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/rust" ~/.copilot/skills/rust &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/rust inside it instead.
Get the folder:
git clone --depth 1 https://github.com/sorah/config.gitThen copy config/claude/marketplace/plugins/sorah-guides/skills/rust into your agent's skills folder as rust. Agents that support SKILL.md read one folder per skill.
What it does
- Import and path rules
- Guidance on when to avoid use statements and when to use crate:: references.
- Methods over free functions
- Advice on placing behavior on types through methods, associated functions and trait impls.
- Extending foreign types
- A ranked approach for adding functionality to types from other crates.
- TLS trust store configuration
- Feature flags and dependency checks for using the system CA store with reqwest and rustls.
- Clippy before commit
- A development rule requiring cargo clippy to pass before committing.
Good for
- Review my Rust module for conventions and import style
- Add an HTTP client that trusts the system certificate store
- Refactor free functions into methods on my Rust types
- Check whether my dependencies pull in bundled webpki roots
Rust FAQ
When does Rust trigger?
It is meant to be used when writing or reviewing Rust code, or when a project mentions Rust, Cargo, cargo clippy, crates or Rust module patterns.
Do project conventions override Rust?
Yes. The skill states that project-specific conventions such as CLAUDE.md or style guides always take priority over its guidance.
What TLS guidance does Rust give?
It recommends trusting the system CA store, gives reqwest feature flags for versions 0.12 and 0.13, and suggests checking dependency features with cargo tree.
How do I install Rust in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/rust to use it in all your projects, or to .claude/skills/rust in one project. Or install the sorah-guides plugin, which includes it: /plugin marketplace add sorah/config, then /plugin install sorah-guides@sorah-marketplace.
Does Rust run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Rust?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Rust?
The closest alternatives to Rust are Coding guidelines, Rust router, Rust skill creator, Domain CLI and Rust learner.
Where this comes from
- Description: from the skill's own SKILL.md.
More from sorah/config

Guides an agent through maintaining sorah's aptly-managed APT repositories and their
- Open source
- 31 GitHub stars
- Cloud and infrastructure

Runs a chief-of-staff session that watches your coding agents and keeps work on track
- Open source
- 31 GitHub stars
- Developer tools

Applies language-agnostic coding conventions to code writing and review
- Open source
- 31 GitHub stars
- Developer tools

Guides the agent to write git commit messages and PR titles in a concise house style
- Open source
- 31 GitHub stars
- Developer tools

Guides an agent through building and testing Rails apps on Aurora DSQL
- Open source
- 31 GitHub stars
- Developer tools

Writes English text in the author's terse, direct technical voice for GitHub and email
- Open source
- 31 GitHub stars
- Developer tools


