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:
co-authored by
Claude Opus 4.6
parent
ec0b012586
commit
d46e3ca247
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user