rust-trait-explorer

Identify all implementations of a given Rust trait across a codebase.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/cecon123/tg-remote-bot --skill rust-trait-explorer-cecon123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-trait-explorer
Source: https://github.com/cecon123/tg-remote-bot/tree/main/.agents/skills/rust-trait-explorer
Command: npx skills add https://github.com/cecon123/tg-remote-bot --skill rust-trait-explorer-cecon123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly identify which Rust types implement a given trait across a codebase using LSP-backed queries and source navigation, reducing manual grep and guesswork.

Core Features & Use Cases

  • Discover all implementors of a trait across crates and modules.
  • Determine what traits a particular type implements for refactoring or API understanding.
  • Jump to trait definitions and corresponding implementations to inspect method details and ergonomics.

Quick Start

Invoke /rust-trait-explorer <TraitName|StructName> to list implementors or explore trait coverage.

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 across a codebase?

To find Rust trait implementations across a codebase, you can use LSP-backed queries to identify all types implementing a given trait. This reduces manual grep and guesswork by leveraging go-to-definition and source navigation.

What Rust traits does a specific struct or type implement?

To determine what Rust traits a specific struct or type implements, you can query the type using LSP-backed code navigation. This helps with refactoring, polymorphism understanding, and API comprehension by retrieving implementation details rapidly.

Can I use LSP to jump to Rust trait definitions and their implementations?

Yes, you can use LSP to jump to Rust trait definitions and their implementations. This allows you to inspect method details and ergonomics directly across crates and modules for rapid code exploration.

Does finding Rust trait implementors work across multiple crates and modules?

Finding Rust trait implementors works across multiple crates and modules by applying LSP-backed queries. It supports source navigation to retrieve implementation details, helping you understand polymorphism and API coverage across your entire Rust project.

What is the best way to explore Rust trait coverage without manual grep?

The best way to explore Rust trait coverage without manual grep is using LSP-backed queries to discover all implementors of a trait. This approach provides accurate go-to-definition navigation and retrieves implementation details for rapid code exploration.

How do I list all types that implement a specific Rust trait for debugging?

To list all types that implement a specific Rust trait for debugging, you can use LSP-backed queries to identify implementors across crates. This removes manual guesswork and helps you understand polymorphism by retrieving implementation details quickly.