diff --git a/.claude/hooks/check-gstack.sh b/.claude/hooks/check-gstack.sh new file mode 100755 index 0000000..2ade7db --- /dev/null +++ b/.claude/hooks/check-gstack.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# Block skill usage when gstack is not installed globally. + +if [ ! -d "$HOME/.claude/skills/gstack/bin" ]; then + cat >&2 <<'MSG' +BLOCKED: gstack is not installed globally. + +gstack is required for AI-assisted work in this repo. + +Install it: + git clone --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack + cd ~/.claude/skills/gstack && ./setup --team + +Then restart your AI coding tool. +MSG + echo '{"permissionDecision":"deny","message":"gstack is required but not installed. See stderr for install instructions."}' + exit 0 +fi + +echo '{}' diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..13181ed --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "PreToolUse": [ + { + "matcher": "Skill", + "hooks": [ + { + "type": "command", + "command": "\"$CLAUDE_PROJECT_DIR/.claude/hooks/check-gstack.sh\"" + } + ] + } + ] + } +} diff --git a/assets/overview-dark.png b/assets/overview-dark.png new file mode 100644 index 0000000..71ebed5 Binary files /dev/null and b/assets/overview-dark.png differ diff --git a/assets/overview-light.png b/assets/overview-light.png new file mode 100644 index 0000000..a7ddc2f Binary files /dev/null and b/assets/overview-light.png differ