package com.claudecode.command; import java.util.List; /** * 斜杠命令接口 —— 对应 claude-code/src/commands.ts 中的 Command 类型。 *
* 用于处理以 / 开头的用户输入命令。
*/
public interface SlashCommand {
/** 命令名称(不含 / 前缀) */
String name();
/** 命令描述 */
String description();
/** 命令别名列表 */
default List