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:
1 parent
ec0b012586
commit
d46e3ca247
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user