versioning
Skill0 starsChanged 44 days agoMITView on GitHub
Use when setting up versioning in a new project, when asked "are we current / what's deployed?", when adding a version field, endpoint, or stamp to an artifact, when a repo has several independently-deployed artifacts (firmware, server, UI, CLI) that can silently drift out of sync, or when a version bump did not show up in what is actually running.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- e-reitbauer/habitstheir own version, first seen Nov 8, 2026
- AnyOrgName/php-skillstheir own version, first seen Nov 8, 2026
- nerymurillohnd/the-claude-factorytheir own version, first seen Nov 1, 2026
- vmikhailov/code-explorertheir own version, first seen Oct 20, 2026
- syntropic137/software-leverage-pointstheir own version, first seen Oct 14, 2026
- aiqadam/qadam-flowtheir own version, first seen Oct 13, 2026
Used with
Projects with it also use dependencies and security.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dbtlrSkilldependencies
Use when adding, evaluating, or updating Rust crate dependencies. Also use when considering whether to implement something yourself vs pulling in a library.
Also in 3 projects that use this
0xSeroSkillsecurity
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- cunarist/rinf★ 2.8ksame name
- vmikhailov/code-explorer★ 17same name
- xiaomingleng/Chinese-New-Year-Skills★ 9same name
- aiqadam/qadam-flow★ 5same name
- AnyOrgName/php-skills★ 4same name
- pyand3v/skills★ 2same name
- e-reitbauer/habits★ 1same name
- nerymurillohnd/the-claude-factory★ 1same name
- syntropic137/harness-app-template★ 0same name
- syntropic137/software-leverage-points★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- avoid-sycophantic-blowbackSkill
- cadquery-modelingSkill
- capturing-judgment-as-dataSkill
- deletion-tripwireSkill
- educational-html-prepSkill
- emoting-on-8x8Skill
- feynman-explanationSkill
- guarding-silent-failuresSkill
- iterative-lesson-refinementSkill
- look-driven-iterationSkill
- managing-assumption-debtSkill
- nemesis-reviewSkill
- paladin-reviewSkill
- pause-before-nuclear-fanoutSkill
- rehearsing-against-a-counterpartySkill
- review-courtSkill
- sandwich-testSkill
- stretching-frontier-tokensSkill
- training-the-readerSkill
- skill-name-with-hyphensSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 65
Don't add versioning theater.
- Distinctive: line 69
Prefer runtime-read of the stamped manifest over a compiled-in constant when the platform allows it.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Versioning: know what's actually deployed
The failure this prevents: a repo ships several artifacts that deploy on separate
steps (compile/flash, bundle upload, server restart, container redeploy), and nothing
reports which version of each is actually live. You're left guessing whether a change
landed. A hardcoded version: "1.0.0" that never changes is worse than nothing; it
looks like a signal but isn't.
The pattern (portable across any repo)
- One canonical source of truth. A single
VERSIONfile (SemVer) at the repo root. Nothing else is authoritative; everything is stamped from it. - Enumerate the deployable artifacts: the things that ship independently. Ask: "what are the separate deploy steps, and could each carry a different version?" Each one is an artifact. (Examples: firmware, a static web bundle, an API server, a DB migration set, a CLI binary, a published package, a container image.)
- Give each artifact a self-report channel: a way to ask the running/deployed thing
its version: a
/statusor/versionendpoint field, a servedversion.json, a runtime-read manifest, a--versionflag, an image label, a__version__. - Stamp
VERSIONinto each artifact's source (a script that writes the header/manifest/ constant). Generated files carry a "do not edit by hand" banner. - Add an automatic build marker where it's free: e.g. a compiler's
__DATE__ __TIME__, a build-time git SHA, an image digest. This updates on every rebuild even if someone forgets to bump, so it proves the artifact was actually rebuilt. - Check drift: a tool that reads
VERSION, probes each artifact's self-report, and prints a per-artifact ✓ / ⚠ DRIFT report. Expose it where it's needed (a CLI script, a tool the agent can call, a CI gate).
The rule that trips people up
A version bump is not live until its artifact is redeployed. Editing VERSION makes the
repo say 0.5.0 instantly, but each deployed artifact still reports its old version until
its own deploy step runs (reflash / re-upload / restart / redeploy). So:
- Drift between repo and a not-yet-redeployed artifact is expected, not a bug. The check is telling you "you haven't deployed this one yet," which is exactly what you want to know.
- Therefore bump deliberately (a command you run when shipping), not automatically on every push; auto-bump-on-push manufactures false drift for changes that never reach some artifacts (docs, CI, one service), and you'll learn to ignore the alert.
Adapting to a new repo (checklist)
- Create
VERSIONat repo root (start0.1.0unless there's reason to call it 1.0.0). - List the independently-deployed artifacts. Most repos have 1 to 3; don't invent more.
- For each, pick a self-report channel and wire it to read the stamped value at runtime (so a bump doesn't require recompiling that artifact when avoidable).
- Write a stamp script (
VERSION→ each artifact source). Keep generated files marked. - Add a free auto build-marker to any artifact that compiles.
- Write a check that diffs
VERSIONagainst each self-report; surface ✓ / ⚠ per artifact. - Add a deliberate bump command (
bump:patch|minor|major→ rewrite VERSION, stamp, commit). - Document in the repo's CLAUDE.md: the VERSION source, the bump command, what each artifact reports, how to check, and the "bump isn't live until redeploy" rule.
Keep it honest
- Don't add versioning theater. If a repo deploys as one unit, one version + one self-report is the whole job; don't split it into fake per-component versions.
- The check must compare the deployed self-report, not re-read the repo source on both sides (that always "matches" and proves nothing).
- Prefer runtime-read of the stamped manifest over a compiled-in constant when the platform allows it; it means a bump goes live on restart instead of a full rebuild.
Worked example: ESP32-S3 Matrix (a two-repo split)
Originally one repo with three artifacts. A 2026-06 repo split moved the MCP server into
its own repo, so the tooling re-scoped to each repo's own artifacts, which is itself a
reusable lesson: when a repo splits, re-scope stamp/check to the artifacts that ship
from THIS repo. A copied tooling file silently checks phantom artifacts that always read
"unknown", or crashes stamping a source file that no longer exists.
Firmware repo (peckworks-esp32s3matrix): 2 artifacts, both reported by one /api/status probe:
| Artifact | Self-report | Stamp target | Goes live on |
| firmware | /api/status → fw_version + fw_built (auto __DATE__ __TIME__) | esp32_matrix_webserver/version.h | flash |
| web bundle | /api/status → web_version (read from data/version.json at boot) | esp32_matrix_webserver/data/version.json | LittleFS upload |
Studio repo (claude-expression-studio): 1 artifact, the MCP server (shipped as an .mcpb):
| Artifact | Self-report | Stamp target | Goes live on |
| MCP server | initialize serverInfo / matrix_version tool | mcp_server/package.json (runtime-read) + the .mcpb manifest.json + shared/manifest.json appVersion | rebuild + reconnect |
- Canonical per repo: repo-root
VERSION. Stamp:scripts/version-stamp.js. Check:npm run check. - Don't clobber a field that already means something.
shared/manifest.json'sversionis the manifest schema version, so the product version is stamped into a separateappVersionfield; never overwrite a schema/format version with the release version. - Stamp a hand-formatted or CRLF file with a targeted text edit, not a
JSON.parse→JSON.stringifyround-trip; the round-trip reflows aligned columns and can flip CRLF→LF, burying the real one-line change in whitespace churn. - Full design:
docs/superpowers/specs/2026-06-16-version-certainty-design.md(now in the studio repo).
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.

