()
| 231 | * Get skill-based slash commands from Markdown skills |
| 232 | */ |
| 233 | export async function getSkillSlashCommands(): Promise<SlashCommand[]> { |
| 234 | const { skills } = await loadMarkdownSkills(); |
| 235 | |
| 236 | return skills.map((skill) => ({ |
| 237 | name: getSkillSlashCommandName(skill), |
| 238 | description: skill.description, |
| 239 | category: "assistant" as const, |
| 240 | })); |
| 241 | } |
no test coverage detected