# Rust router

> Rust router is an open-source agent skill for developer tools. Routes Rust questions to the right specialist guidance for errors, design and coding. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/k1-c/linear-tui/tree/main/.claude/skills/rust-router
- **Repository:** https://github.com/k1-c/linear-tui
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** rust-router
- **Collection:** https://github.com/k1-c/linear-tui
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill acts as a router for Rust questions. Instead of answering straight away, it asks the agent to sort the request into layers: language mechanics such as ownership, borrowing and lifetimes; design choices such as domain modelling, performance and error strategy; and domain constraints such as web servers, CLI tools or embedded work. It maps common compiler error codes like E0382 or E0502 to the matching topic, and it lists the sub-skills that should be loaded for each area.

The skill also sets a project template for new Cargo.toml files, using the 2024 edition, a Rust version floor of 1.85, and warning-level lints for unsafe code and clippy. For comparison questions or best-practice requests it describes a negotiation format in which the answer lists sources, confidence levels and disclosed gaps. Detailed protocols and examples sit in separate sub-files that the agent reads on demand.

The skill is written for Claude Code and expects the referenced sub-skills and agents, such as rust-learner and docs-researcher, to be installed alongside it. Questions can be asked in English or Chinese, and the trigger keywords cover both.

## When your agent uses it

> "CRITICAL: Use for ALL Rust questions including errors, design, and coding.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/k1-c/linear-tui/tree/HEAD/.claude/skills/rust-router)
- [License: MIT](https://github.com/k1-c/linear-tui/tree/HEAD/.claude/skills/rust-router)

## Features

- **Layered question routing:** Sorts a Rust question into language mechanics, design choice or domain constraint before answering.
- **Compiler error mapping:** Matches common error codes such as E0382, E0597 and E0277 to the topic that explains them.
- **Domain skill loading:** Pairs mechanics skills with domain guides for web, CLI, fintech, embedded and cloud work.
- **Project defaults template:** Provides a Cargo.toml starting point with edition 2024, Rust 1.85 and strict lint settings.
- **Comparison negotiation format:** Asks for confidence levels and disclosed gaps when comparing options or giving best practices.
- **Bilingual trigger keywords:** Recognises Rust questions phrased in English or Chinese, including async and ownership terms.

## Good for

- Explain why a borrow checker error like E0502 occurs in my code
- Compare tokio and async-std for a server I am building
- Set up a new Cargo.toml with recommended edition and lint settings
- Get guidance on error handling strategy for a CLI tool
- Work out which lifetime issue causes a value to not live long enough

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/rust-router` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/rust-router &&
cp -R "$tmp/.claude/skills/rust-router" ~/.claude/skills/rust-router &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/rust-router` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/rust-router` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/rust-router &&
cp -R "$tmp/.claude/skills/rust-router" ~/.agents/skills/rust-router &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/rust-router` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/rust-router` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/rust-router &&
cp -R "$tmp/.claude/skills/rust-router" ~/.cursor/skills/rust-router &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/rust-router` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/k1-c/linear-tui.git --path .claude/skills/rust-router
```

Or copy the folder to `~/.gemini/skills/rust-router` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/rust-router`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/rust-router &&
cp -R "$tmp/.claude/skills/rust-router" ~/.copilot/skills/rust-router &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/rust-router` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/k1-c/linear-tui.git
```

Then copy `linear-tui/.claude/skills/rust-router` into your agent's skills folder as `rust-router`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Rust router change in my project?

It does not run scripts or edit files. It gives the agent a routing guide and, for new Rust projects or Cargo.toml files, a default template with edition 2024, rust-version 1.85 and lint settings.

### When does Rust router trigger?

The description tells the agent to use it for Rust questions, and the trigger list includes terms such as Rust, cargo, crate, Cargo.toml, compile errors, ownership, borrow, lifetime, async and tokio.

### Does Rust router need any scripts or tools?

No scripts are included and no allowed tools are set. It depends on sub-skills and agents such as rust-learner and docs-researcher, which must be available separately.

### How do I install Rust router in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/rust-router to use it in all your projects, or to .claude/skills/rust-router in one project.

### Does Rust router 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 router?

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 router?

The closest alternatives to Rust router are Rust learner, Meta cognition parallel, Rust skill creator, M11 ecosystem and Coding guidelines.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Rust learner](https://ai-powered.com/skills/rust-learner): Rust learner is an open-source agent skill for developer tools.
- [Meta cognition parallel](https://ai-powered.com/skills/meta-cognition-parallel): Meta cognition parallel is an open-source agent skill for developer tools.
- [Rust skill creator](https://ai-powered.com/skills/rust-skill-creator): Rust skill creator is an open-source agent skill for developer tools.
- [M11 ecosystem](https://ai-powered.com/skills/m11-ecosystem): M11 ecosystem is an open-source agent skill for developer tools.
- [Coding guidelines](https://ai-powered.com/skills/coding-guidelines): Coding guidelines is an open-source agent skill for developer tools.
- [M04 zero cost](https://ai-powered.com/skills/m04-zero-cost): M04 zero cost is an open-source agent skill for developer tools.
- [Rust code navigator](https://ai-powered.com/skills/rust-code-navigator): Rust code navigator is an open-source agent skill for developer tools.
- [M01 ownership](https://ai-powered.com/skills/m01-ownership): M01 ownership is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/rust-router
