Files
cline-multi-mirror/src/shared/slashCommands.ts
T

55 lines
1.2 KiB
TypeScript

export interface SlashCommand {
name: string
description?: string
section?: "default" | "custom"
cliCompatible?: boolean
}
export const BASE_SLASH_COMMANDS: SlashCommand[] = [
{
name: "newtask",
description: "Create a new task with context from the current task",
section: "default",
cliCompatible: true,
},
{
name: "smol",
description: "Condenses your current context window",
section: "default",
cliCompatible: true,
},
{
name: "newrule",
description: "Create a new Cline rule based on your conversation",
section: "default",
cliCompatible: true,
},
{
name: "reportbug",
description: "Create a Github issue with Cline",
section: "default",
cliCompatible: true,
},
{
name: "deep-planning",
description: "Create a comprehensive implementation plan before coding",
section: "default",
cliCompatible: true,
},
{
name: "subagent",
description: "Invoke a Cline CLI subagent for focused research tasks",
section: "default",
cliCompatible: true,
},
]
// VS Code-only slash commands
export const VSCODE_ONLY_COMMANDS: SlashCommand[] = [
{
name: "explain-changes",
description: "Explain code changes between git refs (PRs, commits, branches, etc.)",
section: "default",
},
]