Skip to content
Skill

Rust router

Routes Rust questions to the right specialist guidance for errors, design and coding

Rust router is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
21
Last commit
License
MIT
Listing updated

Similar skills

About Rust router

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.

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 4 files (16 KB) on GitHub on 3 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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Rust router 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.

More from k1-c/linear-tui

  1. Gives the agent a quick reference of Rust-specific naming, error handling and async rules

    • Open source
    • 21 GitHub stars
    • Developer tools
  2. Guides the agent to write Conventional Commits, splitting mixed changes into several

    • Open source
    • 21 GitHub stars
    • Developer tools
  3. Guides an agent through building Rust command-line tools with clap, config layers

    • Open source
    • 21 GitHub stars
    • Developer tools
  4. Guides the agent through Rust ownership, borrow and lifetime compiler errors

    • Open source
    • 21 GitHub stars
    • Developer tools
  5. Guides an agent in choosing Rust smart pointers like Box, Rc, Arc, Weak and RefCell

    • Open source
    • 21 GitHub stars
    • Developer tools
  6. Guides a Rust agent through E0596/E0499/E0502 borrow errors and interior mutability

    • Open source
    • 21 GitHub stars
    • Developer tools