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 <noreply@anthropic.com>
This commit is contained in:
Daniel Samson
2026-04-12 14:09:08 +01:00
co-authored by Claude Opus 4.6
parent ec0b012586
commit d46e3ca247
+1 -1
View File
@@ -580,7 +580,7 @@ LOGEOF
fi fi
# Run Claude Code in non-interactive mode with tool access # 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=$? EXIT_CODE=$?
echo "Claude exited with code: $EXIT_CODE" | tee -a ~/task-output.log echo "Claude exited with code: $EXIT_CODE" | tee -a ~/task-output.log