rust-trait-explorer

Locate Rust trait implementations using LSP and grep pattern search.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/Jylhis/claude-marketplace --skill rust-trait-explorer-jylhis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-trait-explorer
Source: https://github.com/Jylhis/claude-marketplace/tree/main/plugins/rust-dev/skills/rust-trait-explorer
Command: npx skills add https://github.com/Jylhis/claude-marketplace --skill rust-trait-explorer-jylhis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finding where a Rust trait is implemented and which traits a type implements is time‑consuming, hindering code comprehension and maintenance.

Core Features & Use Cases

  • Trait Implementor Discovery: Uses LSP goToImplementation to list all types that implement a specified trait.
  • Trait Usage Lookup: Grep‑based search to identify all traits implemented by a given struct or enum.
  • Implementation Mapping: Generates markdown tables and code snippets summarizing implementations for documentation, reviews, or debugging.

Quick Start

Use the rust‑trait‑explorer skill to list all implementations of the Handler trait in the current Rust project.

Frequently Asked Questions about rust-trait-explorer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find all implementations of a Rust trait in my project?

To find Rust trait implementations, you can use LSP goToImplementation operations to locate and list all types that implement a specified trait across your codebase. This approach instantly maps trait implementors for code comprehension.

How can I list all traits implemented by a specific Rust struct or enum?

Listing traits implemented by a Rust struct or enum requires grep-based pattern search to identify trait definitions associated with the given type. This generates a formatted summary mapping type implementations for code reviews.

Does finding Rust trait implementations require an LSP server setup?

Yes, discovering Rust trait implementations relies on LSP operations like goToImplementation, requiring an active LSP server connection in your project environment to locate definitions and generate implementation tables.

What is the best way to document Rust trait implementations for code reviews?

Documenting Rust trait implementations is best done by generating markdown tables and code snippets that summarize implementations using LSP and grep results. This maps definitions into formatted summaries for review or debugging.

Can I use grep alone to map Rust trait implementations, or do I need LSP?

Mapping Rust trait implementations uses both LSP goToImplementation for precise trait implementor discovery and grep-based search to identify all traits a type implements, ensuring comprehensive definition retrieval.

Why does my Rust code navigation fail to show trait implementors?

Rust code navigation for trait implementors fails when the LSP server is not properly configured or grep patterns do not match implementation definitions, preventing the generation of accurate implementation summaries.