# Rust trait explorer

> Rust trait explorer is an open-source agent skill for developer tools. Lets your agent find Rust trait implementors and list a type's trait impls via LSP. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/k1-c/linear-tui/tree/main/.claude/skills/rust-trait-explorer
- **Repository:** https://github.com/k1-c/linear-tui
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** rust-trait-explorer
- **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 guides an agent through exploring trait-based designs in Rust codebases. Given a trait name, it locates the trait definition and uses LSP go-to-implementation to collect every implementor, then reads each impl block to summarize its methods. Given a struct name, it searches the source for impl blocks that target that type and builds a list of the traits it implements, separating standard library, serde and project-defined traits.

The workflow is driven by the agent's LSP, Read, Glob and Grep tools. The skill describes output formats such as implementor tables, implementation hierarchies and method coverage checks, and it points to related skills for navigation, call graphs and refactoring. It ships as a single markdown instruction file with no scripts, and it is written around Rust projects with a working language server.

## When your agent uses it

> Explore Rust trait implementations using LSP. Triggers on: /trait-impl, find implementations, who implements, trait 实现, 谁实现了, 实现了哪些trait

## 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-trait-explorer)
- [Asks for: LSP, Read, Glob, Grep](https://github.com/k1-c/linear-tui/blob/HEAD/.claude/skills/rust-trait-explorer/SKILL.md)
- [License: MIT](https://github.com/k1-c/linear-tui/tree/HEAD/.claude/skills/rust-trait-explorer)

## Features

- **Trait implementor lookup:** Finds every type that implements a given trait using LSP go-to-implementation.
- **Type trait listing:** Searches impl blocks to list the traits a struct implements.
- **Implementation detail summaries:** Reads each implementing block to summarize the methods it defines.
- **Method coverage check:** Shows which required trait methods each implementor provides or leaves to defaults.
- **Blanket impl overview:** Describes common blanket implementations that may apply to a type.

## Good for

- Find all implementors of a Handler trait in a Rust project
- List every trait a particular struct implements
- Check which required methods each implementor of a trait defines
- Map the trait hierarchy of an error type

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/rust-trait-explorer` 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-trait-explorer &&
cp -R "$tmp/.claude/skills/rust-trait-explorer" ~/.claude/skills/rust-trait-explorer &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/rust-trait-explorer` 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-trait-explorer &&
cp -R "$tmp/.claude/skills/rust-trait-explorer" ~/.agents/skills/rust-trait-explorer &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/rust-trait-explorer` 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-trait-explorer &&
cp -R "$tmp/.claude/skills/rust-trait-explorer" ~/.cursor/skills/rust-trait-explorer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/rust-trait-explorer` 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-trait-explorer
```

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

### VS Code

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

```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-trait-explorer &&
cp -R "$tmp/.claude/skills/rust-trait-explorer" ~/.copilot/skills/rust-trait-explorer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/rust-trait-explorer` 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-trait-explorer` into your agent's skills folder as `rust-trait-explorer`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It uses the LSP, Read, Glob and Grep tools, and it is written for Rust code, so the agent needs access to a Rust language server.

### How is Rust trait explorer triggered?

It triggers on /trait-impl and phrases such as find implementations, who implements, or trait implementations, and it accepts a trait or struct name as an argument.

### Does Rust trait explorer change any files?

The skill's allowed tools are read-only: LSP, Read, Glob and Grep.

### How do I install Rust trait explorer in Claude Code?

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

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

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Rust trait explorer?

The closest alternatives to Rust trait explorer are Rust code navigator, Rust symbol analyzer, Rust learner, Rust refactor helper and Rust skill creator.

## Where this comes from

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

## Alternatives

- [Rust code navigator](https://ai-powered.com/skills/rust-code-navigator): Rust code navigator is an open-source agent skill for developer tools.
- [Rust symbol analyzer](https://ai-powered.com/skills/rust-symbol-analyzer): Rust symbol analyzer is an open-source agent skill for developer tools.
- [Rust learner](https://ai-powered.com/skills/rust-learner): Rust learner is an open-source agent skill for developer tools.
- [Rust refactor helper](https://ai-powered.com/skills/rust-refactor-helper): Rust refactor helper 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.
- [Rust call graph](https://ai-powered.com/skills/rust-call-graph): Rust call graph 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.
- [Rust deps visualizer](https://ai-powered.com/skills/rust-deps-visualizer): Rust deps visualizer is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/rust-trait-explorer
