MCPcopy Create free account
hub / github.com/continuedev/continue / getSkillSlashCommands

Function getSkillSlashCommands

extensions/cli/src/commands/commands.ts:233–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

231 * Get skill-based slash commands from Markdown skills
232 */
233export 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}

Callers 1

getAllSlashCommandsFunction · 0.85

Calls 2

getSkillSlashCommandNameFunction · 0.85
loadMarkdownSkillsFunction · 0.50

Tested by

no test coverage detected