version-upgrade
Skill103 starsChanged 7 months agoMITView on GitHub
Upgrades mcpc package versions and their dependencies. Handles core version bump and syncs all dependent packages accordingly. Also updates CLI version in code.
In this repository4 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- creating-slidev-presentationsSkill
- mcpc-coreSkill
- release-v5-acpSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Read each packages/*/deno.json to find current versions.
- Distinctive: line 37
If CLI is updated:
- Very specific: line 40
Update to match cli deno.json version
- Distinctive: line 66
Always upgrade core first, then dependents
- Very specific: line 67
Check for dependency warnings with deno lint
- Very specific: line 68
Update CLI_VERSION to match deno.json version
≈ “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
Version Upgrade Skill
Upgrade mcpc package versions and their dependencies.
When to Use
User asks to upgrade versions, like:
- "upgrade core version"
- "upgrade all packages"
- "bump versions"
Steps
1. Read Current Versions
Read each packages/*/deno.json to find current versions.
- Core is the base - upgrade it first
- Other packages depend on core
2. Increment Version
For each package:
- Increment the appropriate segment (patch/minor/major)
- Match the pattern: if core goes 0.3.38 → 0.3.39, dependents should reference ^0.3.39
3. Sync CLI Version
If CLI is updated:
- Find
CLI_VERSIONinpackages/cli/src/config/loader.ts - Update to match cli deno.json version
4. Verify
deno lint
deno test --allow-all packages/*/tests/Version Patterns
| Type | Pattern | When |
| Core | 0.3.x | Feature additions |
| CLI | 0.1.x | Feature additions |
| Utils | 0.2.x | Feature additions |
| Plugins | 0.0.x | Patch=fix, Minor=feature |
Key Files to Update
packages/core/deno.json- base versionpackages/*/deno.json- each package's version + core dependencypackages/cli/src/config/loader.ts- CLI_VERSION constant
Tips
- Always upgrade core first, then dependents
- Check for dependency warnings with
deno lint - Update CLI_VERSION to match deno.json version
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.

