From d46e3ca2479261bb790c72da04b42ffa668ddc23 Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Sun, 12 Apr 2026 14:09:08 +0100 Subject: [PATCH] Fix slash command invocation: /analyse not /project:analyse The project: prefix is not valid Claude Code syntax. Slash commands in .claude/commands/ are invoked as /$TASK_TYPE directly. Co-Authored-By: Claude Opus 4.6 --- coder/cloudflare-worker/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coder/cloudflare-worker/main.tf b/coder/cloudflare-worker/main.tf index 2fc8517..f820e38 100644 --- a/coder/cloudflare-worker/main.tf +++ b/coder/cloudflare-worker/main.tf @@ -580,7 +580,7 @@ LOGEOF fi # Run Claude Code in non-interactive mode with tool access - claude -p --dangerously-skip-permissions --verbose "/project:$TASK_TYPE $ARGS" 2>&1 | tee ~/task-output.log + claude -p --dangerously-skip-permissions --verbose "/$TASK_TYPE $ARGS" 2>&1 | tee ~/task-output.log EXIT_CODE=$? echo "Claude exited with code: $EXIT_CODE" | tee -a ~/task-output.log