| name | verify-global-settings-version |
| description | Verify Global Settings Version |
Verify Global Settings Version
Model check — only apply when this skill is run standalone (invoked directly by the user via /verify-global-settings-version). Skip this section entirely if this skill was called from within another skill — the calling skill is responsible for model selection.
- On Haiku: proceed normally — this is the right model for this task.
- On Sonnet: inform the user and ask using AskUserQuestion:
"⚠️ You're on Sonnet. This skill runs git commands to check version file consistency — no reasoning required. Haiku is a better fit and conserves quota for heavier tasks. Switch with /model haiku, or proceed with Sonnet."
Options: Proceed with Sonnet / Switch to Haiku first (stop here if switching)
- On Opus: stop immediately:
"You're on Opus. This skill runs git commands to check version file consistency — no reasoning required. Opus is overkill here and will waste quota unnecessarily. Please switch to Haiku (/model haiku) and re-run."
Checks whether the global-settings/VERSION file has been correctly bumped after any changes to files in the global-settings/ directory. Run this before creating a PR on the ConductionNL/.github repo to ensure users will be notified to update.
When to use
- Before running
/create-pr on the ConductionNL/.github repo
- Any time you modify a file in
global-settings/ and want to confirm the version bump is in place
- During code review to verify a PR touching
global-settings/ includes a version bump
Step 1: Locate the repo
The canonical global-settings/ directory lives in the ConductionNL/.github repo:
REPO_DIR="/home/wilco/nextcloud-docker-dev/workspace/server/apps-extra/.claude"
git -C "$REPO_DIR" rev-parse --show-toplevel
If the repo cannot be found, stop and tell the user.
Step 2: Check for changes in global-settings/
Compare the current branch (HEAD) against origin/main to find which files in global-settings/ have been modified:
git -C "$REPO_DIR" fetch origin main --quiet --depth=1 2>/dev/null
git -C "$REPO_DIR" diff --name-only origin/main...HEAD -- global-settings/
Store the result as {CHANGED_FILES}.
Step 3: Check if VERSION was bumped
Regardless of whether other files changed, read both versions:
current=$(cat "$REPO_DIR/global-settings/VERSION" | tr -d '[:space:]')
main=$(git -C "$REPO_DIR" show origin/main:global-settings/VERSION 2>/dev/null | tr -d '[:space:]')
echo "Current branch : $current"
echo "origin/main : $main"
Step 4: Evaluate and report
Case A — No changes to global-settings/
✅ No files in global-settings/ were changed relative to origin/main. No version bump needed.
Case B — Changes found AND VERSION was bumped higher
Verify the bump is a valid semver increment (major, minor, or patch):
✅ global-settings/ changes detected and VERSION was correctly bumped from v{main} → v{current}.
Changed files:
Case C — Changes found but VERSION was NOT bumped
❌ VERSION BUMP MISSING
The following files in global-settings/ were changed but VERSION was not incremented:
Current VERSION on this branch: v{current} (same as origin/main)
Action required: Increment global-settings/VERSION before creating a PR.
Suggested next version: v{suggested} (patch bump — use minor if behavior changed, major if breaking)
To apply the suggested bump:
echo "{suggested}" > "$REPO_DIR/global-settings/VERSION"
Then commit the change and re-run /verify-global-settings-version.
Case D — VERSION was changed but no other files changed
⚠️ VERSION was bumped from v{main} → v{current} but no other files in global-settings/ were changed.
This is unusual — confirm the bump is intentional before creating a PR.
Integration with /create-pr
When /create-pr is run and the selected repository is ConductionNL/ConductionNL/.github, this check runs automatically as part of Step 3.5 (before local quality checks). If a missing version bump is detected (Case C), the PR flow is paused and the user is asked to fix it before continuing.
💡 If you switched models to run this command, don't forget to switch back to your preferred model with /model <name> (e.g. /model default or /model sonnet) when done.