You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ hooks/
20
20
check-vgv-cli.sh # Validates VGV CLI installed and >= 1.1.0
21
21
format.sh # Runs dart format on modified .dart files
22
22
vgv-cli-common.sh # Shared utilities for VGV CLI hook scripts
23
+
warn-missing-mcp.sh # Warns at session start if VGV CLI is missing/outdated
23
24
skills/
24
25
accessibility/SKILL.md
25
26
accessibility/reference.md
@@ -69,7 +70,13 @@ Every `SKILL.md` follows this structure:
69
70
70
71
## Hooks
71
72
72
-
The `hooks/` directory contains PreToolUse and PostToolUse hooks defined in `hooks.json`.
73
+
The `hooks/` directory contains SessionStart, PreToolUse, and PostToolUse hooks defined in `hooks.json`.
74
+
75
+
### SessionStart Hooks
76
+
77
+
These run **when a session begins**:
78
+
79
+
-`warn-missing-mcp.sh` — checks if Very Good CLI is installed and >= 1.1.0; outputs a warning to Claude's context if missing or outdated (non-blocking)
echo"⚠️ Very Good CLI is not installed. The Very Good CLI MCP server will not work without Very Good CLI >= ${MIN_VERSION}. Install with: dart pub global activate very_good_cli"
13
+
;;
14
+
outdated:*)
15
+
version="${cli_status#outdated:}"
16
+
echo"⚠️ Very Good CLI ${version} is too old. The Very Good CLI MCP server requires >= ${MIN_VERSION}. Update with: dart pub global activate very_good_cli"
0 commit comments