upgrade-vallorcine
Skill0 starsChanged 7 months agoMITView on GitHub
Check for and apply updates from the vallorcine source repository
In this repository45 other files it gives its agents.
- decisions/CLAUDE.mdCLAUDE.md
- kb/CLAUDE.mdCLAUDE.md
- spec/CLAUDE.mdCLAUDE.md
- work/CLAUDE.mdCLAUDE.md
- script-devSkill
- architectSkill
- auditSkill
- capabilitiesSkill
- curateSkill
- decisionsSkill
- feature-cleanupSkill
- feature-completeSkill
- feature-coordinateSkill
- feature-domainsSkill
- feature-hardenSkill
- feature-implementSkill
- feature-planSkill
- feature-prSkill
- feature-quickSkill
- feature-refactorSkill
- feature-resumeSkill
- feature-retroSkill
- featureSkill
- feature-testSkill
- kbSkill
- project-contextSkill
- researchSkill
- setup-vallorcineSkill
- spec-authorSkill
- spec-backfillSkill
- spec-initSkill
- spec-resolveSkill
- specSkill
- spec-splitSkill
- spec-verifySkill
- spec-writeSkill
- uninstall-vallorcineSkill
- vallorcine-helpSkill
- work-decomposeSkill
- work-planSkill
- work-resumeSkill
- work-runSkill
- workSkill
- work-startSkill
- work-statusSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Run silently before displaying anything:
- Very specific: line 20
Check that .claude/upgrade.sh exists.
- Very specific: line 51
Check that bash and either curl or gh are available.
- Distinctive: line 52
If neither: stop with message explaining what's needed.
- Distinctive: line 85
Do not proceed to apply if the version check itself failed.
- Very specific: line 204
If any command behaviour seems unexpected, check CHANGELOG.md in the source repository for breaking changes: …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/upgrade-vallorcine
Checks the source repository for a newer release of vallorcine and, with confirmation, downloads and applies it to this project.
Safe to run at any time. Never touches .kb/, .decisions/, .feature/, .work/, or .spec/. User-populated index files are preserved even when kit files are updated.
Pre-flight checks
Run silently before displaying anything:
- Check that
.claude/upgrade.shexists. If not:
Stop.⬆️ UPGRADE ─────────────────────────────────────────────── upgrade.sh not found in .claude/. This project was installed from an older version of vallorcine that did not include the upgrade command. To upgrade manually: 1. Download the latest release zip from the repository 2. Run: FORCE_UPDATE=1 bash install.sh <project-path> - Check that
.claude/.vallorcine-sourceexists. If not:
Stop.⬆️ UPGRADE ─────────────────────────────────────────────── .vallorcine-source not found. This file tells the upgrade command where to check for new releases. It is written by install.sh from the release package. Re-install from a release zip to restore it: bash install.sh <project-path> - Check that
bashand eithercurlorghare available. If neither: stop with message explaining what's needed.
Display opening header:
───────────────────────────────────────────────
⬆️ UPGRADE
───────────────────────────────────────────────Step 1 — Check for new release
Run:
bash .claude/upgrade.sh --checkCapture the full output. Parse for:
- "Already up to date" → installed version IS the latest
- "Available : v
<X>" → a newer version exists - Any error output → fetch failed
If already up to date:
⬆️ UPGRADE
───────────────────────────────────────────────
Already up to date. v<VERSION> is the latest release.
───────────────────────────────────────────────Stop.
If fetch failed: display the error output from upgrade.sh and stop. Do not proceed to apply if the version check itself failed.
If a new version is available: display:
── New release available ────────────────────────
Installed : v<INSTALLED>
Available : v<LATEST>
── What's new ───────────────────────────────────
<release notes from upgrade.sh output>
─────────────────────────────────────────────────Step 2 — Explain what will change
Display:
── What upgrade does ────────────────────────────
Updates (overwritten with new version):
.claude/commands/ all slash commands
.claude/agents/ all agent definitions
.claude/rules/ all rules files
.claude/upgrade.sh this upgrade script
Preserved (never touched):
.kb/ your knowledge base
.decisions/ your architecture decisions
.spec/ your specifications + registry
.feature/ your in-progress feature work
.work/ your work groups + orchestrator state
.kb/CLAUDE.md if you have added topics
.decisions/CLAUDE.md if you have added decisions
.spec/CLAUDE.md if you have authored specs
Use AskUserQuestion with options:
- "Apply upgrade"
- "Stop"
If "Stop": exit cleanly with "Upgrade cancelled. No changes made."
---
## Step 3 — Apply
Run:
```bash
bash .claude/upgrade.shStream the output directly to the user as it runs — do not buffer it.
If upgrade.sh exits non-zero: display the error and stop.
Step 4 — Commit upgrade
Kit upgrades are a separate concern from feature work. Commit them immediately so they don't leak into feature PRs.
First, check if there are already staged changes from other work:
git diff --cached --statIf there ARE already-staged files: stash them first so they don't get swept into the upgrade commit:
git stash push --staged -m "pre-upgrade: stash staged changes"Then stage only kit-managed files:
git add .claude/skills/ .claude/agents/ .claude/rules/ .claude/scripts/ \
.claude/upgrade.sh .claude/.vallorcine-version .claude/.vallorcine-manifestAlso stage .gitattributes and .gitignore if they were modified by the
installer (merge driver entries, runtime file entries).
Verify only kit files are staged with git diff --cached --stat. If non-kit
files are accidentally staged, unstage them before committing.
Commit with:
chore: upgrade vallorcine to v<LATEST>If staged changes were stashed earlier, restore them:
git stash popDisplay:
── Committed ───────────────────────────────────
Upgrade committed as a standalone change.
This keeps kit updates out of your feature PRs.If the commit fails (e.g. pre-commit hook rejects formatting on kit files): display the error and suggest the user commit manually with the same message. Do not block the upgrade — the files are already updated on disk. If staged changes were stashed, restore them regardless of commit success.
Step 5 — Post-upgrade notice
Display:
───────────────────────────────────────────────
⬆️ UPGRADE complete · v<INSTALLED> → v<LATEST>
───────────────────────────────────────────────
New commands and agents are active immediately.
Upgrade committed — won't appear in feature PRs.
If any command behaviour seems unexpected, check CHANGELOG.md
in the source repository for breaking changes:
<REPO_URL>/blob/main/CHANGELOG.md
───────────────────────────────────────────────Note: the new commands are live as soon as the files are written — Claude Code picks up slash command changes without a restart.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

