2026-03-28 22:09:36 +00:00
|
|
|
export interface SlashCommand {
|
|
|
|
|
name: string;
|
|
|
|
|
description: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const SLASH_COMMANDS: SlashCommand[] = [
|
|
|
|
|
{
|
|
|
|
|
name: "/help",
|
|
|
|
|
description: "Show this list of available slash commands.",
|
|
|
|
|
},
|
2026-04-12 12:58:51 +00:00
|
|
|
{
|
|
|
|
|
name: "/backlog",
|
2026-04-14 09:10:14 +00:00
|
|
|
description:
|
|
|
|
|
"Show all items in the backlog with dependency satisfaction status.",
|
2026-04-12 12:58:51 +00:00
|
|
|
},
|
2026-03-28 22:09:36 +00:00
|
|
|
{
|
|
|
|
|
name: "/status",
|
|
|
|
|
description:
|
|
|
|
|
"Show pipeline status and agent availability. `/status <number>` shows a story triage dump.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/assign <number> <model>",
|
|
|
|
|
description: "Pre-assign a model to a story (e.g. `/assign 42 opus`).",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/start <number>",
|
|
|
|
|
description:
|
|
|
|
|
"Start a coder on a story. Optionally specify a model: `/start <number> opus`.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/show <number>",
|
|
|
|
|
description: "Display the full text of a work item.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/move <number> <stage>",
|
|
|
|
|
description:
|
|
|
|
|
"Move a work item to a pipeline stage (backlog, current, qa, merge, done).",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/delete <number>",
|
|
|
|
|
description:
|
|
|
|
|
"Remove a work item from the pipeline and stop any running agent.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/cost",
|
|
|
|
|
description:
|
|
|
|
|
"Show token spend: 24h total, top stories, breakdown by agent type, and all-time total.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/git",
|
|
|
|
|
description:
|
|
|
|
|
"Show git status: branch, uncommitted changes, and ahead/behind remote.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/overview <number>",
|
|
|
|
|
description: "Show the implementation summary for a merged story.",
|
|
|
|
|
},
|
2026-03-31 11:33:41 +01:00
|
|
|
{
|
|
|
|
|
name: "/ambient",
|
|
|
|
|
description: "Toggle ambient mode: `/ambient on` or `/ambient off`.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/htop",
|
|
|
|
|
description:
|
|
|
|
|
"Show live system and agent process dashboard: `/htop`, `/htop 10m`, `/htop stop`.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/loc",
|
|
|
|
|
description:
|
|
|
|
|
"Show top source files by line count: `/loc` (top 10), `/loc <N>`, or `/loc <filepath>`.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/rmtree <number>",
|
|
|
|
|
description:
|
|
|
|
|
"Delete the worktree for a story without removing it from the pipeline.",
|
|
|
|
|
},
|
2026-03-28 22:09:36 +00:00
|
|
|
{
|
|
|
|
|
name: "/rebuild",
|
|
|
|
|
description: "Rebuild the server binary and restart.",
|
|
|
|
|
},
|
2026-03-31 11:33:41 +01:00
|
|
|
{
|
|
|
|
|
name: "/timer",
|
|
|
|
|
description:
|
|
|
|
|
"Schedule a deferred agent start: `/timer <story_id> <HH:MM>`, `/timer list`, `/timer cancel <story_id>`.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/unblock <number>",
|
|
|
|
|
description:
|
|
|
|
|
"Reset a blocked story: clears blocked flag and resets retry count.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/unreleased",
|
|
|
|
|
description: "Show stories merged to master since the last release tag.",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "/setup",
|
|
|
|
|
description:
|
|
|
|
|
"Show setup wizard progress; or `/setup confirm` / `/setup skip` / `/setup retry` to drive the wizard.",
|
|
|
|
|
},
|
2026-03-28 22:09:36 +00:00
|
|
|
{
|
|
|
|
|
name: "/reset",
|
|
|
|
|
description:
|
|
|
|
|
"Clear the current Claude Code session and start fresh (messages and session ID are cleared locally).",
|
|
|
|
|
},
|
2026-04-07 14:39:47 +00:00
|
|
|
{
|
|
|
|
|
name: "/test",
|
|
|
|
|
description:
|
|
|
|
|
"Run the project's test suite (`script/test`) and show pass/fail with output.",
|
|
|
|
|
},
|
2026-03-28 22:09:36 +00:00
|
|
|
{
|
|
|
|
|
name: "/btw <question>",
|
|
|
|
|
description:
|
|
|
|
|
"Ask a side question using the current conversation as context. The question and answer are not added to the conversation history.",
|
|
|
|
|
},
|
|
|
|
|
];
|