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
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- flisk-agentsSkill
- flisk-benchmarkSkill
- flisk-build-runtimesSkill
- flisk-byoSkill
- flisk-contributingSkill
- flisk-databasesSkill
- flisk-dataSkill
- flisk-demo-bubblesSkill
- flisk-deploy-awsSkill
- flisk-deploy-azureSkill
- flisk-deploy-cloudflareSkill
- flisk-deploy-digitaloceanSkill
- flisk-deploy-flySkill
- flisk-deploy-gcpSkill
- flisk-deploy-herokuSkill
- flisk-deploy-railwaySkill
- flisk-deploy-renderSkill
- flisk-deploy-vercelSkill
- flisk-doctorSkill
- flisk-dry-runSkill
- flisk-frontendSkill
- flisk-generated-filesSkill
- flisk-helmSkill
- flisk-import-composeSkill
- flisk-import-procfileSkill
- flisk-layoutSkill
- flisk-portsSkill
- flisk-scaffoldSkill
- flisk-secretsSkill
- flisk-service-jsonSkill
- flisk-starlark-perfSkill
- flisk-troubleshootSkill
- flisk-uiSkill
- flisk-unfollowersSkill
- layer-autoresearchSkill
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
- Very specific: line 15
Check the current version: flisk --version.
- Distinctive: line 21
Read the changelog for flags that were renamed or are scheduled for removal.
- Very specific: line 25
Add a floor to .flisk/project.json and commit it:
- Distinctive: line 35
Never hand-merge generated files after an upgrade.
- Very specific: line 36
Do not run flisk upgrade inside tests or probes: on a git-linked install it updates and rebuilds that checkout.
≈ “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.
Files
Upgrading Flisk
Workflow
- Check the current version:
flisk --version. - Upgrade:
flisk upgradeupdates the install it runs from to the latest release (it has no version argument).flisk upgrade --all --dry-runlists every Flisk install onPATH;flisk upgrade --allupdates each of them.- A specific version from npm:
npm install -g @flisk-sh/flisk@<version>.
- In each project run
flisk doctor, thenflisk up.flisk upregenerates the service files; runflisk config regenerateifflisk config verifystill reports project-level drift. - 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 upgradeinside tests or probes: on a git-linked install it updates and rebuilds that checkout. - Guide: docs/upgrading.md.
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.

