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

Function handleImportSkill

extensions/cli/src/slashCommands.ts:138–153  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

136}
137
138async function handleImportSkill(args: string[]): Promise<SlashCommandResult> {
139 const query = args.join(" ").trim();
140
141 if (!query) {
142 return {
143 exit: false,
144 output: chalk.yellow(
145 "Please provide a skill URL or name. Usage: /import-skill <url-or-name>",
146 ),
147 };
148 }
149
150 return {
151 newInput: buildImportSkillPrompt(query),
152 };
153}
154
155function handleSessions() {
156 return { openSessionSelector: true };

Callers 1

slashCommands.tsFile · 0.85

Calls 1

buildImportSkillPromptFunction · 0.85

Tested by

no test coverage detected