Merge pull request #1698 from Luodian/fix/merge-skill-into-slashcommand

refactor: merge slashcommand behavior into skill tool to reduce prompt size
This commit is contained in:
YeonGyu-Kim
2026-02-19 15:51:59 +09:00
committed by GitHub
13 changed files with 307 additions and 123 deletions
+3 -1
View File
@@ -202,7 +202,9 @@ export async function executeSlashCommand(parsed: ParsedSlashCommand, options?:
if (!command) {
return {
success: false,
error: parsed.command.includes(":") ? `Marketplace plugin commands like "/${parsed.command}" are not supported. Use .claude/commands/ for custom commands.` : `Command "/${parsed.command}" not found. Use the slashcommand tool to list available commands.`,
error: parsed.command.includes(":")
? `Marketplace plugin commands like "/${parsed.command}" are not supported. Use .claude/commands/ for custom commands.`
: `Command "/${parsed.command}" not found. Use the skill tool to list available skills and commands.`,
}
}