Stats
Actions
Tags
From project-orchestrator
Runs shell scripts before Write/Edit/Bash to remind of skills, and after Skill events to mark completion. Executes bash commands and writes files.
2 events · 4 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
BashINPUT=$(cat); CMD=$(echo "$INPUT" | jq -r '.tool_input.command // empty' 2>/dev/null || echo ''); if echo "$CMD" | grep -qE 'git\s+commit'; then bash "${CLAUDE_PLUGIN_ROOT}/hooks/pre-commit-lint.sh"; fiAgentbash "${CLAUDE_PLUGIN_ROOT}/hooks/phase-validator.sh"BashINPUT=$(cat); CMD=$(echo "$INPUT" | jq -r '.tool_input.command // empty' 2>/dev/null || echo ''); if echo "$CMD" | grep -qE 'git\s+commit'; then HASH=$(git rev-parse --short HEAD 2>/dev/null || echo '?'); MSG=$(git log -1 --format='%s' 2>/dev/null || echo ''); BRANCH=$(git branch --show-current 2>/dev/null || echo '?'); TS=$(date '+%Y-%m-%d %H:%M'); echo "[$TS] $HASH | $BRANCH | $MSG" >> claude-progress.txt 2>/dev/null || true; fiWrite|EditINPUT=$(cat); FILE=$(echo "$INPUT" | jq -r '.tool_input.file_path // empty' 2>/dev/null || echo ''); if [ -n "$FILE" ]; then EXT="${FILE##*.}"; case "$EXT" in ts|tsx|js|jsx|json) npx prettier --write "$FILE" 2>/dev/null || true ;; py) ruff format "$FILE" 2>/dev/null || true ;; dart) dart format "$FILE" 2>/dev/null || true ;; kt|kts) command -v ktlint >/dev/null 2>&1 && ktlint --format "$FILE" 2>/dev/null || true ;; go) gofmt -w "$FILE" 2>/dev/null || true ;; esac; finpx claudepluginhub vivekmano27/agent-orchestrator --plugin project-orchestrator