MCPcopy Create free account
hub / github.com/AI45Lab/Code / make_skill_load_event

Function make_skill_load_event

core/src/hooks/matcher.rs:399–407  ·  view source on GitHub ↗
(skill_name: &str)

Source from the content-addressed store, hash-verified

397 }
398
399 fn make_skill_load_event(skill_name: &str) -> HookEvent {
400 HookEvent::SkillLoad(crate::hooks::events::SkillLoadEvent {
401 skill_name: skill_name.to_string(),
402 tool_names: vec!["tool1".to_string()],
403 version: None,
404 description: None,
405 loaded_at: 0,
406 })
407 }
408
409 fn make_skill_unload_event(skill_name: &str) -> HookEvent {
410 HookEvent::SkillUnload(crate::hooks::events::SkillUnloadEvent {

Callers 3

test_skill_matcherFunction · 0.70

Calls

no outgoing calls

Tested by 3

test_skill_matcherFunction · 0.56