Support skills shortDescription. (#8278)

Allow SKILL.md to specify a more human-readable short description as
skill metadata.
This commit is contained in:
xl-openai authored and GitHub committed 2025-12-18 23:13:18 +00:00
1 parent 1cd1cf17c6
commit 358a5baba0
11 files changed
+94 -2

No files matched your search

+3
View File
@@ -1697,6 +1697,9 @@ pub enum SkillScope {
pub struct SkillMetadata {
pub name: String,
pub description: String,
#[ts(optional)]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub short_description: Option<String>,
pub path: PathBuf,
pub scope: SkillScope,
}