rust-trait-explorer

Installation
Summary

Explore Rust trait implementations and find all types implementing a trait or traits implemented by a type.

  • Supports two primary queries: find all implementors of a trait using LSP goToImplementation, or discover all traits implemented by a struct using grep pattern matching
  • Generates structured output including trait definitions, implementation tables, code snippets, and implementation hierarchies
  • Provides coverage analysis to verify all trait methods are implemented and identifies blanket implementations that may apply
  • Works with standard library traits, external crates (like Serde), and project-defined traits in a unified view
SKILL.md

Rust Trait Explorer

Discover trait implementations and understand polymorphic designs.

Usage

/rust-trait-explorer <TraitName|StructName>

Examples:

  • /rust-trait-explorer Handler - Find all implementors of Handler trait
  • /rust-trait-explorer MyStruct - Find all traits implemented by MyStruct

LSP Operations

Go to Implementation

Find all implementations of a trait.

Related skills

More from zhanghandong/rust-skills

Installs
647
GitHub Stars
1.1K
First Seen
Jan 22, 2026