agentleFS
flisk-shflisk-sh/flisk-skills/skills/flisk-upgrade/SKILL.md

flisk-upgrade

Skill4 starsChanged 34 days agoMITView on GitHub

Upgrade the Flisk CLI with `flisk upgrade` (or npm), keep a team on a minimum version with `minFliskVersion` in .flisk/project.json, and handle generated-file drift after an upgrade. Use when moving to a newer flisk, when `flisk doctor` or `flisk up` says the CLI is older than the project requires, or when several flisk installs are on PATH. For drift that is not caused by an upgrade, use flisk-generated-files.

  • Installs packages

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Check the current version: flisk --version.

    line 15
  2. Distinctive:

    Read the changelog for flags that were renamed or are scheduled for removal.

    line 21
  3. Very specific:

    Add a floor to .flisk/project.json and commit it:

    line 25
  4. Distinctive:

    Never hand-merge generated files after an upgrade.

    line 35
  5. Very specific:

    Do not run flisk upgrade inside tests or probes: on a git-linked install it updates and rebuilds that checkout.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Upgrading Flisk

Workflow

  1. Check the current version: flisk --version.
  2. Upgrade:
    • flisk upgrade updates the install it runs from to the latest release (it has no version argument).
    • flisk upgrade --all --dry-run lists every Flisk install on PATH; flisk upgrade --all updates each of them.
    • A specific version from npm: npm install -g @flisk-sh/flisk@<version>.
  3. In each project run flisk doctor, then flisk up. flisk up regenerates the service files; run flisk config regenerate if flisk config verify still reports project-level drift.
  4. Read the changelog for flags that were renamed or are scheduled for removal.

Keep a team on one version

Add a floor to .flisk/project.json and commit it:

{ "minFliskVersion": "1.4.0" }

flisk doctor and flisk up (also --dry-run) then fail on an older CLI and print Run: flisk upgrade. It is a floor, not a pin. flisk up --ignore-version skips the check once, with a warning.

Guardrails

  • Never hand-merge generated files after an upgrade; regenerate them.
  • Do not run flisk upgrade inside tests or probes: on a git-linked install it updates and rebuilds that checkout.
  • Guide: docs/upgrading.md.

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.