Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ validator
Function
validator
core/src/skills/validator.rs:230–232 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
228
}
229
230
fn validator() -> DefaultSkillValidator {
231
DefaultSkillValidator::default()
232
}
233
234
// --- Name validation ---
235
Callers
10
test_valid_kebab_case_names
Function · 0.85
test_invalid_names
Function · 0.85
test_name_too_long
Function · 0.85
test_reserved_names_blocked
Function · 0.85
test_content_within_limit
Function · 0.85
test_content_exceeds_limit
Function · 0.85
test_dangerous_tool_patterns
Function · 0.85
test_safe_tool_patterns_allowed
Function · 0.85
test_prompt_injection_detected
Function · 0.85
test_normal_content_passes
Function · 0.85
Calls
no outgoing calls
Tested by
10
test_valid_kebab_case_names
Function · 0.68
test_invalid_names
Function · 0.68
test_name_too_long
Function · 0.68
test_reserved_names_blocked
Function · 0.68
test_content_within_limit
Function · 0.68
test_content_exceeds_limit
Function · 0.68
test_dangerous_tool_patterns
Function · 0.68
test_safe_tool_patterns_allowed
Function · 0.68
test_prompt_injection_detected
Function · 0.68
test_normal_content_passes
Function · 0.68