SkillProperties
Defined in the skills module.Rust AI Agent SDK Properties of a skill parsed from SKILL.md frontmatter.
Fields
| Name | Type | Description |
|---|---|---|
name | String | Skill name (1-64 chars, lowercase, hyphens only) |
description | String | Skill description (1-1024 chars) |
license | Option<String> | License (optional) |
compatibility | Option<String> | Compatibility notes (optional) |
allowed_tools | Option<String> | Allowed tools (space-delimited) |
metadata | HashMap<String | Additional metadata |
path | Option<PathBuf> | Path to the skill directory |
instructions | Option<String> | Instructions (markdown body) |
Methods
new
| Name | Type |
|---|---|
name | impl Into<String> |
description | impl Into<String> |
get_allowed_tools
validate
Source
View on GitHub
praisonai/src/skills/mod.rs at line 26
