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

+5 -1
View File
@@ -86,7 +86,11 @@ impl SkillPopup {
.and_then(|n| n.to_str())
.unwrap_or(&skill.name);
let name = format!("{} ({slug})", skill.name);
let description = skill.description.clone();
let description = skill
.short_description
.as_ref()
.unwrap_or(&skill.description)
.clone();
GenericDisplayRow {
name,
match_indices: indices,