npx claudepluginhub sjarmak/agent-workflowsDefined in hooks/hooks.json
Edit|WriteFILE=$(jq -r '.tool_input.file_path // empty'); if [ -n "$FILE" ]; then case "$FILE" in *.js|*.ts|*.jsx|*.tsx|*.json|*.css|*.md) npx prettier --write "$FILE" 2>/dev/null || true;; *.py) black --quiet "$FILE" 2>/dev/null || true;; *.go) gofmt -w "$FILE" 2>/dev/null || true;; esac; fiif command -v osascript &>/dev/null; then osascript -e 'display notification "Claude Code needs your attention" with title "Agent Workflows"' 2>/dev/null; elif command -v notify-send &>/dev/null; then notify-send 'Agent Workflows' 'Claude Code needs your attention' 2>/dev/null; fi; exit 0if [ -n "$WORKTREE_PATH" ]; then cd "$WORKTREE_PATH" && if [ -f package.json ]; then npm install --silent 2>/dev/null; elif [ -f requirements.txt ]; then pip install -q -r requirements.txt 2>/dev/null; elif [ -f go.mod ]; then go mod download 2>/dev/null; elif [ -f Cargo.toml ]; then cargo fetch --quiet 2>/dev/null; fi; fi; exit 0CHANGED=$(git diff --name-only HEAD 2>/dev/null); UNTRACKED=$(git ls-files --others --exclude-standard 2>/dev/null); if [ -n "$CHANGED" ] || [ -n "$UNTRACKED" ]; then echo "Changed files since last commit:
$CHANGED"; if [ -n "$UNTRACKED" ]; then echo "
Untracked files:
$UNTRACKED"; fi; fiAuto-formats JS/TS/Python/Go files with Prettier/Black/Gofmt after Edit/Write, installs deps via npm/pip/go mod/cargo on worktree create, shows git changes on prompt submit, verifies outputs on stop, sends macOS/Linux notifications. Writes files.
Share bugs, ideas, or general feedback.