waffle-upgrade
Skill2 starsChanged 3 months agoApache-2.0View on GitHub
Move this repo's wafflestack pin to the toolkit's current version — runs migrations, re-renders, and doctors. Use to adopt a new toolkit release; review the diff before committing.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accurateSkill
- adversarial-reviewSkill
- auditSkill
- autopilotSkill
- clean-upSkill
- delegateSkill
- diagramSkill
- docs-agentSkill
- docs-humanSkill
- docsSkill
- github-project-boardSkill
- github-project-managementSkill
- git-workflowSkill
- hygieneSkill
- issueSkill
- label-hookSkill
- md-maximalistSkill
- proseSkill
- pr-responseSkill
- qaSkill
- releaseSkill
- standupSkill
- waffle-doctorSkill
- waffle-ejectSkill
- waffle-initSkill
- waffle-installSkill
- waffle-renderSkill
- waffle-reportSkill
- waffle-setupSkill
- waffle-toggleSkill
- waffle-validateSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Run *that* command verbatim, and review *its* output instead.
- Distinctive: line 48
Only after one of those actually moves the version is "already up to date" a true report.
- Very specific: line 73
Handle doctor's verdict: If upgrade ends with drift or warnings, surface them and recommend the fix (usually /waffle-render to restore, or …
≈ “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 the toolkit pin
Wraps wafflestack upgrade — it moves this repo's version pin to the toolkit version being
run, applies any ordered migrations between the two versions, bumps the pinned
toolkitRef config keys to the toolkit that rendered, re-renders the current selection, and
runs doctor. It takes no refs. Your job is to run it and then review what changed
before anything is committed.
Run it
npx --yes github:dustinkeeton/wafflestack upgradeThe version this moves TO is the version you RAN (read this before reporting "already up to date")
upgrade renders the content of the toolkit npx just fetched — it cannot render a version it is
not. And since #469 waffle.toolkitRef defaults to a pin — the release that rendered this repo
— so the command above normally fetches the toolkit you are already on, and it reports
already on toolkit X. That is the expected first result, not a misconfiguration and not "you
are up to date": an upgrade from a pinned ref is always a two-step move, and step 1 is asking the
pinned CLI which release to reach for. Escalate, in this order:
- The run printed
a newer toolkit release exists: vX.Y.Z — … run:followed by a command. Run that command verbatim, and review its output instead. It is the release you actually want, and the pinned CLI just told you how to reach it. It said
already on toolkit Xand printed no such line (a CLI predating this check, or one whose release lookup could not answer). Probe with the ref unpinned — strip the#tag:npx --yes github:OWNER/REPO upgradeThat normally runs at a genuine release, or refuses and names the exact pinned command to run instead. The refusal is the answer, not a failure — run the command it prints.
There is a third outcome, and it is the dangerous one. The gate refuses only what it can prove is unreleased; a probe that cannot establish its own provenance (a network blip, a
dlx-shaped layout) resolves tounverified, which fails open — it warns and renders anyway, from the default branch. So if the probe neither refuses nor reports a real release, stop and report — do not let it render. Rendering default-branch content into the repo is the exact failure this pinning exists to prevent.- Only after one of those actually moves the version is "already up to date" a true report.
The pins move themselves from there on: a successful upgrade rewrites a release-pinned
waffle.toolkitRef / doctor.toolkitRef in .waffle/waffle.yaml to the toolkit that rendered,
before the render — so the new pin lands in the skills and the doctor workflow in the same run.
An unpinned key is left floating and an absent one is never introduced; that is deliberate,
not a miss. Neither key needs introducing when absent: both stack defaults are pinned to the
release that rendered the lock (github:dustinkeeton/wafflestack#vX.Y.Z — doctor.toolkitRef
since #461, waffle.toolkitRef since #469), so the re-render alone moves the workflow's pin and
every /waffle-* skill's.
Review the diff (the point of this skill)
upgrade narrates the version move, the changelog between versions, migrations applied, any
pin bumps, and the render. After it completes:
- Read the changelog span it printed — call out anything a consuming repo must act on (behavior changes, renamed keys, new required config, removed items).
- Diff the rendered output so the user sees exactly what moved in their tree — including
.github/, which carries the doctor workflow's pinned ref:
Summarize the substantive changes; distinguish pure re-renders from behavior changes. Call out anygit diff -- .waffle/ .claude/ .github/toolkitRefbump explicitly: it changes which toolkit CI and the skills fetch. - Handle doctor's verdict. If
upgradeends with drift or warnings, surface them and recommend the fix (usually/waffle-renderto restore, or resolving a migration note), rather than reporting success. - Do not commit automatically. Present the diff and let the user (or the git-workflow skill) commit the render + lock + version bump together.
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.

