Agent skill

Rust Trait Explorer

by fjrevoredo in fjrevoredo/mini-diarium

Explore Rust trait implementations using LSP. An agent skill from fjrevoredo/mini-diarium.

MITAuto-check: warnings

Install Rust Trait Explorer

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add fjrevoredo/mini-diarium --skill rust-trait-explorer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fjrevoredo/mini-diarium rust-trait-explorer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fjrevoredo/mini-diarium.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rust-trait-explorer .claude/skills/rust-trait-explorer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rust-trait-explorer
GitHub stars
308
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
214 words
Files
1
Skills in repo
41
Repo updated
First seen
Licence
MIT

At a glance

Explore Rust trait implementations using LSP. An agent skill from fjrevoredo/mini-diarium.

  • Find implementations
  • SKILL.md covers Usage, LSP Operations, Workflow and Output Format, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Rust Trait Explorer is an agent skill from fjrevoredo/mini-diarium. Explore Rust trait implementations using LSP. Triggers on: /trait-impl, find implementations, who implements, trait 实现, 谁实现了, 实现了哪些trait

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Rust. The repository describes itself as: A local-only journal with serious encryption. Free, open source, and never touches the internet. The licence is MIT.

When your agent uses it

  • Find implementations

Example prompts

  • “/rust-trait-explorer”

Requirements

  • Pre-approved tools (allowed-tools): LSP, Read, Glob, Grep

What it can do on your machine

Read from SKILL.md and the folder at commit 75c1286. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • LSP
    • Read
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rust Trait Explorer loads about 1.3k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 214 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningContains zero-width charactersSKILL.md:93
    ⟨U+200B⟩```rust
  • WarningContains zero-width charactersSKILL.md:98
    ⟨U+200B⟩```
  • WarningContains zero-width charactersSKILL.md:112
    ⟨U+200B⟩```rust
  • WarningContains zero-width charactersSKILL.md:122
    ⟨U+200B⟩```
  • WarningContains zero-width charactersSKILL.md:125
    ⟨U+200B⟩```rust
  • WarningContains zero-width charactersSKILL.md:135
    ⟨U+200B⟩```
  • WarningContains zero-width charactersSKILL.md:167
    ⟨U+200B⟩```
  • WarningContains zero-width charactersSKILL.md:179
    ⟨U+200B⟩```

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from fjrevoredo/mini-diarium at commit 75c1286, republished under its MIT licence (© fjrevoredo). 214 words, ~1,343 tokens.

Download SKILL.mdSave it as .claude/skills/rust-trait-explorer/SKILL.md (or your agent's skills folder).
name
rust-trait-explorer
description
Explore Rust trait implementations using LSP. Triggers on: /trait-impl, find implementations, who implements, trait 实现, 谁实现了, 实现了哪些trait
allowed-tools
LSP, Read, Glob, Grep
argument-hint
<TraitName|StructName>

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.

LSP(
  operation: "goToImplementation",
  filePath: "src/traits.rs",
  line: 10,
  character: 11
)

Use when:

  • Trait name is known
  • Want to find all implementors
  • Understanding polymorphic code

Workflow

Find Trait Implementors
User: "Who implements the Handler trait?"
    │
    ▼
[1] Find trait definition
    LSP(goToDefinition) or workspaceSymbol
    │
    ▼
[2] Get implementations
    LSP(goToImplementation)
    │
    ▼
[3] For each impl, get details
    LSP(documentSymbol) for methods
    │
    ▼
[4] Generate implementation map
Find Traits for a Type
User: "What traits does MyStruct implement?"
    │
    ▼
[1] Find struct definition
    │
    ▼
[2] Search for "impl * for MyStruct"
    Grep pattern matching
    │
    ▼
[3] Get trait details for each
    │
    ▼
[4] Generate trait list

Output Format

Trait Implementors
## Implementations of `Handler`

**Trait defined at:** src/traits.rs:15

```rust
pub trait Handler {
    fn handle(&self, request: Request) -> Response;
    fn name(&self) -> &str;
}
Implementors (4)
TypeLocationNotes
AuthHandlersrc/handlers/auth.rs:20Handles authentication
ApiHandlersrc/handlers/api.rs:15REST API endpoints
WebSocketHandlersrc/handlers/ws.rs:10WebSocket connections
MockHandlertests/mocks.rs:5Test mock
Implementation Details
AuthHandler
rust
impl Handler for AuthHandler {
    fn handle(&self, request: Request) -> Response {
        // Authentication logic
    }

    fn name(&self) -> &str {
        "auth"
    }
}
ApiHandler
rust
impl Handler for ApiHandler {
    fn handle(&self, request: Request) -> Response {
        // API routing logic
    }

    fn name(&self) -> &str {
        "api"
    }
}

### Traits for a Type

Traits implemented by User

Struct defined at: src/models/user.rs:10

Standard Library Traits
TraitDerived/ManualNotes
Debug#[derive]Auto-generated
Clone#[derive]Auto-generated
DefaultmanualCustom defaults
DisplaymanualUser-friendly output
Serde Traits
TraitLocation
Serialize#[derive]
Deserialize#[derive]
Project Traits
TraitLocationMethods
Entitysrc/db/entity.rs:30id(), created_at()
Validatablesrc/validation.rs:15validate()
Implementation Hierarchy
User
├── derive
│   ├── Debug
│   ├── Clone
│   ├── Serialize
│   └── Deserialize
└── impl
    ├── Default (src/models/user.rs:50)
    ├── Display (src/models/user.rs:60)
    ├── Entity (src/models/user.rs:70)
    └── Validatable (src/models/user.rs:85)

## Trait Hierarchy Visualization

Trait Hierarchy

                ┌─────────────┐
                │    Error    │ (std)
                └──────┬──────┘
                       │
          ┌────────────┼────────────┐
          │            │            │
  ┌───────▼───────┐ ┌──▼──┐ ┌───────▼───────┐
  │  AppError     │ │ ... │ │  DbError      │
  └───────┬───────┘ └─────┘ └───────┬───────┘
          │                         │
  ┌───────▼───────┐         ┌───────▼───────┐
  │ AuthError     │         │ QueryError    │
  └───────────────┘         └───────────────┘

## Analysis Features

### Coverage Check

Trait Implementation Coverage

Trait: Handler (3 required methods)

Implementorhandle()name()priority()Complete
AuthHandler✅✅✅Yes
ApiHandler✅✅❌ defaultYes
MockHandler✅✅✅Yes

### Blanket Implementations

Blanket Implementations

The following blanket impls may apply to your types:

TraitBlanket ImplApplies To
From<T>impl<T> From<T> for TAll types
Into<U>impl<T, U> Into<U> for T where U: From<T>Types with From
ToStringimpl<T: Display> ToString for TTypes with Display

## Common Patterns

| User Says | Action |
|-----------|--------|
| "Who implements X?" | goToImplementation on trait |
| "What traits does Y impl?" | Grep for `impl * for Y` |
| "Show trait hierarchy" | Find super-traits recursively |
| "Is X: Send + Sync?" | Check std trait impls |

## Related Skills

| When | See |
|------|-----|
| Navigate to impl | rust-code-navigator |
| Call relationships | rust-call-graph |
| Project structure | rust-symbol-analyzer |
| Safe refactoring | rust-refactor-helper |

© fjrevoredo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. 8 hidden characters (zero-width or bidirectional) removed. Raw file

Files

Just SKILL.md in .agents/skills/rust-trait-explorer of fjrevoredo/mini-diarium.

Open the folder on GitHubat commit 75c1286

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in fjrevoredo/mini-diarium, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Rust Trait Explorer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rust Trait Explorer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Trait Explorer this skillfjrevoredo/mini-diarium3081 repos~1.3kAutomated safety check: WarnMIT
Update V8 Versionopeninterpreter/openinterpreter69k2 repos~845Automated safety check: PassApache-2.0
Firecrawl Page Scrape Integrationfirecrawl/firecrawl189k1 repos~944Automated safety check: PassISC
Migrate Core Code to Submodulestinyhumansai/openhuman41k—~2.6kAutomated safety check: PassGPL-3.0
Rust TDD Workflowrtk-ai/rtk83k—~753Automated safety check: NotesApache-2.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Update V8 Version

    openinterpreter/openinterpreter

    Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.

    69k GitHub starsUsed in 2 repos~845 tokens
    DevOps & CloudAuto-check passed
  • Adds Firecrawl's /scrape endpoint to application code to pull markdown, HTML, links, screenshots or structured data from a single known URL.

    189k GitHub starsUsed in 1 repo~944 tokens
    Data & AnalyticsAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    41k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Enforces red-green-refactor for Rust work, with idiomatic test patterns, a naming convention and a pre-commit gate of cargo fmt, clippy and test.

    83k GitHub stars~753 tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.

    23k GitHub stars~2.5k tokensUpdated 4 days ago
    DevelopmentAuto-check: notes

More from fjrevoredo/mini-diarium

All 41 skills in this repo
  • Manual Planning

    fjrevoredo/mini-diarium

    Create, update, review, and execute manual Markdown implementation plans when harness planning mode is not being used.

    308 GitHub stars~3.7k tokensUpdated 3 days ago
    Auto-check passed
  • M10 Performance

    fjrevoredo/mini-diarium

    CRITICAL: Use for performance optimization. An agent skill from fjrevoredo/mini-diarium.

    308 GitHub starsUsed in 2 repos~1k tokens
    Auto-check passed
  • Solidjs

    fjrevoredo/mini-diarium

    SolidJS framework development skill for building reactive web applications with fine-grained reactivity.

    308 GitHub stars~2.6k tokensUpdated 3 days ago
    Auto-check passed
  • Rust Symbol Analyzer

    fjrevoredo/mini-diarium

    Analyze Rust project structure using LSP symbols. An agent skill from fjrevoredo/mini-diarium.

    308 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Tauri V2

    fjrevoredo/mini-diarium

    Tauri v2 cross-platform app development with Rust backend. An agent skill from fjrevoredo/mini-diarium.

    308 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed
  • Exploration Mode

    fjrevoredo/mini-diarium

    Enter exploration mode: a thinking partner for researching and thinking through ideas and problems before implementation.

    308 GitHub stars~3.4k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Rust Trait Explorer

What does Rust Trait Explorer do?

Explore Rust trait implementations using LSP. An agent skill from fjrevoredo/mini-diarium. Rust Trait Explorer is an agent skill from fjrevoredo/mini-diarium. Explore Rust trait implementations using LSP.

When should I use Rust Trait Explorer?

Rust Trait Explorer fits situations like: find implementations.

How do I install Rust Trait Explorer in Claude Code?

Run `npx skills add fjrevoredo/mini-diarium --skill rust-trait-explorer -a claude-code`. Or copy the skill folder (.agents/skills/rust-trait-explorer in fjrevoredo/mini-diarium) into .claude/skills/rust-trait-explorer in your project. Claude Code loads it when a task matches its description.

How do I install Rust Trait Explorer in Codex?

Run `npx skills add fjrevoredo/mini-diarium --skill rust-trait-explorer -a codex`. Or copy the skill folder (.agents/skills/rust-trait-explorer in fjrevoredo/mini-diarium) into .agents/skills/rust-trait-explorer in your project. Codex loads it when a task matches its description.

Can I use Rust Trait Explorer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fjrevoredo/mini-diarium --skill rust-trait-explorer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-trait-explorer, .gemini/skills/rust-trait-explorer, .github/skills/rust-trait-explorer and .opencode/skills/rust-trait-explorer in your project.

What does Rust Trait Explorer need to run?

SKILL.md names no scripts, command-line tools or credentials: Rust Trait Explorer is instructions for the agent only. Its frontmatter pre-approves these tools: LSP, Read, Glob, Grep.

Does Rust Trait Explorer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rust Trait Explorer safe to install?

Our automated static check of SKILL.md flagged 8 warning(s): contains zero-width characters. Read the flagged lines before installing; the check is not a guarantee either way.

What licence does Rust Trait Explorer use?

Rust Trait Explorer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rust Trait Explorer use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rust Trait Explorer?

Skills that share tags, products or a category with Rust Trait Explorer: Update V8 Version (openinterpreter/openinterpreter, 69k stars), Firecrawl Page Scrape Integration (firecrawl/firecrawl, 189k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 41k stars) and Rust TDD Workflow (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Trait Explorer?

fjrevoredo (a GitHub user) maintains it in fjrevoredo/mini-diarium, which has 308 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 4, 2026.

Source: fjrevoredo/mini-diarium on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.