fix(cli): improve command conflict handling for skills (#21942)

This commit is contained in:
N. Taylor Mullen
2026-03-14 16:33:14 -07:00
committed by GitHub
parent 0bf7ea60c5
commit bd590bbde6
11 changed files with 76 additions and 9 deletions
@@ -174,6 +174,7 @@ export class SlashCommandResolver {
private static getPrefix(cmd: SlashCommand): string | undefined {
switch (cmd.kind) {
case CommandKind.EXTENSION_FILE:
case CommandKind.SKILL:
return cmd.extensionName;
case CommandKind.MCP_PROMPT:
return cmd.mcpServerName;
@@ -185,7 +186,6 @@ export class SlashCommandResolver {
return undefined;
}
}
/**
* Logs a conflict event.
*/