Skill Tracer
Skills › gstack › plan-ceo-review › mode-handoff-hook

mode-handoff-hook

6 lines · plan-ceo-review/bin/mode-handoff-hook at 3f79d81

1#!/usr/bin/env bash
2# Bash shim — Claude Code runs hook commands through /bin/sh; this runs the
3# TypeScript hook with bun.
4GSTACK_BUN_CONFIG=/dev/null; case "${OSTYPE:-}" in msys*|cygwin*) if command -v cygpath >/dev/null 2>&1; then GSTACK_BUN_CONFIG=NUL; fi ;; esac
5HERE="$(cd "$(dirname "$0")" && pwd)"
6exec bun --no-env-file --config="${GSTACK_BUN_CONFIG:-/dev/null}" "$HERE/mode-handoff-hook.ts"