بنقرة واحدة
verify-global-settings-version
Verify Global Settings Version
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Verify Global Settings Version
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Reset the OpenRegister development environment (stop, remove volumes, restart, install apps)
Iteratively run apply→verify in a loop until verify passes, then auto-archive — runs per-app in Docker context
Process multiple OpenSpec changes in parallel using subagents — full lifecycle from proposal to merged PR
Run automated browser tests for a Nextcloud app — single agent or multi-perspective parallel testing
Apply openspec/app-config.json changes to the actual Nextcloud app files — applies configuration decisions made in app-explore back into the codebase
Verify that a Nextcloud app's files match its openspec/app-config.json — read-only audit that reports drift between config and code
| name | verify-global-settings-version |
| description | 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.
"⚠️ 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)
"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.
/create-pr on the ConductionNL/.github repoglobal-settings/ and want to confirm the version bump is in placeglobal-settings/ includes a version bumpThe 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.
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}.
Regardless of whether other files changed, read both versions:
# Current branch VERSION
current=$(cat "$REPO_DIR/global-settings/VERSION" | tr -d '[:space:]')
# origin/main VERSION
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"
global-settings/✅ No files in
global-settings/were changed relative toorigin/main. No version bump needed.
VERSION was bumped higherVerify the bump is a valid semver increment (major, minor, or patch):
✅
global-settings/changes detected andVERSIONwas correctly bumped fromv{main}→v{current}.Changed files:
{file1}{file2}
VERSION was NOT bumped❌ VERSION BUMP MISSING
The following files in
global-settings/were changed butVERSIONwas not incremented:
{file1}{file2}Current
VERSIONon this branch:v{current}(same asorigin/main)Action required: Increment
global-settings/VERSIONbefore 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.
VERSION was changed but no other files changed⚠️
VERSIONwas bumped fromv{main}→v{current}but no other files inglobal-settings/were changed.This is unusual — confirm the bump is intentional before creating a PR.
/create-prWhen /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 defaultor/model sonnet) when done.