global-hook-fix-and-qa-rename #2

Merged
tux merged 3 commits from global-hook-fix-and-qa-rename into main 2026-06-26 10:47:33 +02:00
Owner
No description provided.
The PostToolUse hook passed "$CLAUDE_TOOL_INPUT_FILE", which is not a
Claude Code hook variable, so the script received an empty argument and
no-opped. Read the edited file from the hook's stdin JSON
(.tool_input.file_path) instead, with a $1 fallback for manual runs, and
point the command at an absolute path ($HOME/.claude/hooks/...) so it
resolves regardless of the project working directory. Ship the script in
global/.claude/hooks/ so the template is self-contained; the if/then
refactor keeps shellcheck clean (was 19 SC2015 infos).

Also allow WebSearch and WebFetch in the global permission set.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The bundled /review skill (GitHub pull-request review) takes precedence
over a same-named custom command, so the project's pre-commit reviewer
was never reachable via /review — and the bundled one is GitHub-specific,
so it does nothing useful on a non-GitHub remote. Rename the command to
/qa and update the references: the pre-commit gate in
project-template/CLAUDE.md and the README usage/listing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The agent's frontmatter is `model: sonnet`; the README listing called it
"Haiku-based (saves tokens)". project-scout (line 170) genuinely is Haiku
and is left unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
tux merged commit 010fc83f96 into main 2026-06-26 10:47:33 +02:00
tux deleted branch global-hook-fix-and-qa-rename 2026-06-26 10:47:41 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tux/claude-code!2
No description provided.