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
2025-12-18 15:13:18 -08:00
committed by GitHub
parent 1cd1cf17c6
commit 358a5baba0
11 changed files with 94 additions and 2 deletions

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,
}