feat: make skills invokable as slash commands in the TUI (#11390)

This commit is contained in:
Dax
2026-01-31 00:41:55 -05:00
committed by GitHub
parent c0e71c4261
commit 81ac41e089
5 changed files with 25 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ export namespace Skill {
name: z.string(),
description: z.string(),
location: z.string(),
content: z.string(),
})
export type Info = z.infer<typeof Info>
@@ -74,6 +75,7 @@ export namespace Skill {
name: parsed.data.name,
description: parsed.data.description,
location: match,
content: md.content,
}
}