agentleFS
mcpc-techmcpc-tech/mcpc/.agents/skills/version-upgrade/SKILL.md

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.

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
  1. Very specific:

    Read each packages/*/deno.json to find current versions.

    line 22
  2. Distinctive:

    If CLI is updated:

    line 37
  3. Very specific:

    Update to match cli deno.json version

    line 40
  4. Distinctive:

    Always upgrade core first, then dependents

    line 66
  5. Very specific:

    Check for dependency warnings with deno lint

    line 67
  6. Very specific:

    Update CLI_VERSION to match deno.json version

    line 68

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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_VERSION in packages/cli/src/config/loader.ts
  • Update to match cli deno.json version

4. Verify

deno lint
deno test --allow-all packages/*/tests/

Version Patterns

TypePatternWhen
Core0.3.xFeature additions
CLI0.1.xFeature additions
Utils0.2.xFeature additions
Plugins0.0.xPatch=fix, Minor=feature

Key Files to Update

  • packages/core/deno.json - base version
  • packages/*/deno.json - each package's version + core dependency
  • packages/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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.