From 58468701b9af9301722651fcedad1fe0cd352fcc Mon Sep 17 00:00:00 2001 From: Meleki Date: Fri, 6 Mar 2026 15:31:53 +0100 Subject: [PATCH] feat(skills): read description from skill.json --- Services/SkillService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Services/SkillService.cs b/Services/SkillService.cs index c6b73b4..632521f 100644 --- a/Services/SkillService.cs +++ b/Services/SkillService.cs @@ -92,6 +92,8 @@ public class SkillService var root = doc.RootElement; if (string.IsNullOrEmpty(info.Name) && root.TryGetProperty("name", out var n)) info.Name = n.GetString(); + if (string.IsNullOrEmpty(info.Description) && root.TryGetProperty("description", out var d)) + info.Description = d.GetString(); if (string.IsNullOrEmpty(info.Version) && root.TryGetProperty("version", out var v)) info.Version = v.GetString(); if (root.TryGetProperty("slug", out var s) && !string.IsNullOrEmpty(s.GetString()))