fn is_slash_command(content: &str) -> boolExpand description
Checks if content looks like a slash command.
Slash commands (e.g., /commit, /sigint:augment) should not be echoed
in hook output to prevent Claude’s injection detection from flagging
the user’s own commands as potential attacks.