Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0"
Releases
Use this skill when cutting a release of JARVIS — bumping package.json, updating CHANGELOG.md, and opening the PR. Releases are manual; release-please is gone.
When to bump
Per semver.org (verbatim):
Given a version number MAJOR.MINOR.PATCH, increment the:MAJOR version when you make incompatible API changesMINOR version when you add functionality in a backward compatible mannerPATCH version when you make backward compatible bug fixes
Quick heuristics for JARVIS:
| Change | Bump | |
|---|---|---|
| Bug fix, refactor, docs, internal cleanup, deps | patch | |
| New Telegram command, new skill, new feature, new env knob | minor | |
| Breaking CLI flag rename, removed config key, schema-incompatible changes to scheduler/skills layout, Node version bump | major |
If in doubt, ask the owner. When unsure, patch is the safe default — it's always easy to add another.
Every merged/deployed change must increment the version. Prepare one SemVer bump and changelog entry for every PR targeting main; the required Version gate compares it with the PR base. The deploy pipeline activates only the already-merged main SHA and never bypasses this PR policy.
Pre-release labels (-rc.1, -beta.2) and build metadata (+sha.abc) are allowed by the semver regex in scripts/bump-version.mjs and src/lib/version.ts; use --set= for those (the bump subcommand can't construct them).
Workflow
- Decide the bump type from the diff scope (see table above).
- Make sure the working tree is clean (
git status --short) before preparing the release changes. - Run the orchestrator:
``bash node skills/release/scripts/release.mjs patch --message="fix: foo no longer crashes on empty input" # or node skills/release/scripts/release.mjs minor --message-file=notes.md # or for an explicit version (pre-release, build meta, etc.) node skills/release/scripts/release.mjs --set=0.2.0-rc.1 --message="release candidate" `` This:
- bumps
package.jsonviascripts/bump-version.mjs - prepends a new
## <version>section toCHANGELOG.mdin the existing format - leaves a
- _Describe changes_placeholder if no--messagewas given (and warns about it) - prints the new version + a suggested commit message
- Review the diff:
``bash git diff --stat git diff -- CHANGELOG.md package.json ` If the placeholder was used, edit CHANGELOG.md` now to describe the change.
- Run checks:
``bash pnpm run check ``
- Commit (version bump + CHANGELOG together — never split):
``bash git add package.json CHANGELOG.md git commit -m "chore(release): v<version>" ``
- Main JARVIS may push the release branch and open/watch its PR via the
github-prskill. The PR body should mention the version and link the CHANGELOG entry. Fix a redVersion gatebefore enabling auto-merge. - Enable auto-merge only after all required checks pass. After GitHub merges it, update local
mainand deploy that exact merged SHA; safe deploy never pushesmain. - Tagging is separate. After the PR merges, the owner decides whether to tag (
git tag v<version>) and push the tag.
Notes
scripts/bump-version.mjsis the single source of truth for version arithmetic. Don't editpackage.json'sversionfield by hand.- The runtime version reader (
src/lib/version.ts) reads only frompackage.json. There is no other version file to keep in sync. - Never edit a section under
## <version>inCHANGELOG.mdafter it's been released — release a new version instead. - For multi-line changelog entries, use
--message-fileor use\nin--message; the script splits on newlines and prefixes each with-. - The script is idempotent only in the "you haven't committed yet" sense: re-running with
--set=<same>is fine, but re-running withpatchafter a successful bump will increment again.
Files in this skill
SKILL.md— this filescripts/release.mjs— the orchestrator