Skip to content
Development
Hook

Hooks

What rust-skills runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
rust-skills
1.4k38 skills11 agents21 commands1 hook
+1
Install
> /plugin marketplace add zhanghandong/rust-skills
> /plugin install rust-skills@rust-skills

Ships with rust-skills. Installing the plugin gets these hooks.

What fires, and when

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • Matches(?i)(rust|cargo|rustc|crate|Cargo\.toml|\.rs\b|ownership|borrow|${CLAUDE_PLUGIN_ROOT}/.claude/hooks/rust-skill-eval-hook.sh
Read hooks/hooks.json
Ships withrust-skills

AI-powered Rust development assistant with meta-cognition framework

Get the whole plugin