agentleFS
iOfficeAIiOfficeAI/AionUi/.claude/skills/bump-version/SKILL.md

bump-version

Skill33k starsChanged 8 months agoApache-2.0View on GitHub

Use when bumping the AionUi version: query AionCore release, verify artifacts, update package.json, generate CHANGELOG, branch, commit, push, create PR, auto-merge, tag release.

  • Commits and pushes

23 other projects use a version of this, 3 of them edited; most edited versions we compared are an older text (2 of 3).

How people change it

Most projects run an older version: 2 of 3 add nothing and lack rules this one has, most likely added since.

Of the 3 edited versions we compared: 2 are an older text, 1 made changes of their own.

Not in older versions

  1. If --core <version> provided → use that tag instead of latestmissing from 2 of 2
  2. Verify all 7 expected assets exist:missing from 2 of 2
  3. If CHANGELOG.md exists at repo root → read its current content. If not → start with empty string.missing from 2 of 2
  4. If not → start with empty string.missing from 2 of 2
  5. If --skip-core: omit the entire "### Core" sectionmissing from 2 of 2
  6. If no frontend commits since last tag: show _No frontend changes in this release._ under "### Desktop"missing from 2 of 2
  7. Always keep the top-level # Changelog header exactly oncemissing from 2 of 2
  8. Check PR merge status every 5 minutes:missing from 2 of 2

Rules people drop

  1. If --core <version> provided → use that tag instead of latestdropped by 1 of 1
  2. Verify all 7 expected assets exist:dropped by 1 of 1
  3. If CHANGELOG.md exists at repo root → read its current content. If not → start with empty string.dropped by 1 of 1
  4. If not → start with empty string.dropped by 1 of 1
  5. If --skip-core: omit the entire "### Core" sectiondropped by 1 of 1
  6. If no frontend commits since last tag: show _No frontend changes in this release._ under "### Desktop"dropped by 1 of 1
  7. Always keep the top-level # Changelog header exactly oncedropped by 1 of 1
  8. Check PR merge status every 5 minutes:dropped by 1 of 1

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Trending

Less talk lately.about the whole repository

Jan 2026: 7 mentionsFeb 2026: 4 mentionsMar 2026: 2 mentionsApr 2026: 1 mentionMay 2026: 4 mentionsJun 2026: 13 mentionsJul 2026: 17 mentionsAug 2026: 10 mentionsSep 2026: 3 mentionsOct 2026: 5 mentionsNov 2026: 2 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the iOfficeAI/AionUi repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about iOfficeAI/AionUi

The biggest 5 of 70 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 70

Talked about on GitHub, Bluesky and Hacker News (70 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 16

11 more on Bluesky

Used with

Projects with it also use oss-pr, pr-automation and 4 more.

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.
  • CES-LtdSkill

    oss-pr

    Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.

    Also in 3 projects that use this

  • CES-LtdSkill

    pr-automation

    PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".

    Also in 3 projects that use this

  • volovelySkill

    pr-fix

    This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR comments", provides a GitHub PR URL with intent to fix, or says "pr-fix". It reads all review comments on a PR, decides which need code fixes vs. replies, makes the fixes, and posts replies — all with explicit user approval before any GitHub action.

    Also in 3 projects that use this

  • AWSSkill

    pr-review

    AWS CDK CLI general PR reviewer. Use when reviewing any pull request to aws/aws-cdk-cli — the CLI (packages/aws-cdk), toolkit-lib, cloud-assembly-schema, cdk-assets, cloudformation-diff, integ-runner, or the projen/monorepo config. Precision-first: flags only concrete defects the PR introduces, across compatibility, architecture, error handling, testing, correctness, and PR scope.

    Also in 3 projects that use this

  • +2 more from CES-Ltd

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read package.json → extract version field.

    line 39
  2. Very specific:

    If --core <version> provided → use that tag instead of latest

    line 54
  3. Distinctive:

    Verify all 7 expected assets exist:

    line 66
  4. Distinctive:

    Use Edit tool to replace:

    line 80
  5. Very specific:

    If CHANGELOG.md exists at repo root → read its current content.

    line 114
  6. Distinctive:

    If not → start with empty string.

    line 115
  7. Very specific:

    If --skip-core: omit the entire "### Core" section

    line 145
  8. Very specific:

    If no frontend commits since last tag: show _No frontend changes in this release._ under "### Desktop"

    line 146
  9. Very specific:

    Always keep the top-level # Changelog header exactly once

    line 148
  10. Distinctive:

    Check PR merge status every 5 minutes:

    line 203
  11. Distinctive:

    After merge is confirmed (either via polling or user confirmation):

    line 226
  12. Distinctive:

    Check if remote branch still exists:

    line 234
  13. Distinctive:

    Create and push tag:

    line 243
  14. Distinctive:

    Wait a few seconds for GitHub to pick up the tag push, then fetch the triggered workflow run:

    line 250

“Common” is measured: kept by at least 6 in 10 of the 21 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Bump Version

Automate the AionUi release preparation: query AionCore release → verify artifacts → update versions → generate CHANGELOG → branch → PR → tag.

Usage: /bump-version [version] [flags]

  • /bump-version — auto patch + latest AionCore
  • /bump-version 2.2.0 — explicit AionUi version + latest AionCore
  • /bump-version 2.2.0 --core v0.1.12 — explicit both versions
  • /bump-version --skip-core — pure frontend release (don't touch aioncoreVersion)

Workflow

Step 1: Pre-flight Checks

git branch --show-current
git status --short
  • Not on main → Stop: "Please switch to main before running bump-version."
  • Dirty working tree → Stop: "There are uncommitted changes. Please commit or stash them first."

Step 2: Pull Latest

git pull --rebase origin main

Fails → Stop: "Failed to pull latest code. Please resolve conflicts or network issues first."

Step 3: Determine AionUi Target Version

Read package.json → extract version field.

  • Argument provided → use as-is
  • No argument → parse major.minor.patch, increment patch by 1

Display: "Bumping AionUi: {current} → {target}"

Step 4: Query AionCore Latest Release

Skip entirely if --skip-core is set.

gh release view --repo iOfficeAI/AionCore --json tagName,body
  • If --core <version> provided → use that tag instead of latest
  • Display the AionCore version and ask user to confirm before continuing
  • Also read current aioncoreVersion from package.json — if it already matches the queried version, warn the user and ask whether to proceed or use --skip-core

Step 5: Verify AionCore Artifacts

Skip if --skip-core.

gh release view <tag> --repo iOfficeAI/AionCore --json assets --jq '.assets[].name'

Verify all 7 expected assets exist:

  • aioncore-<tag>-x86_64-unknown-linux-gnu.tar.gz
  • aioncore-<tag>-aarch64-unknown-linux-gnu.tar.gz
  • aioncore-<tag>-x86_64-apple-darwin.tar.gz
  • aioncore-<tag>-aarch64-apple-darwin.tar.gz
  • aioncore-<tag>-x86_64-pc-windows-msvc.zip
  • aioncore-<tag>-aarch64-pc-windows-msvc.zip
  • aioncore-checksums.txt

Missing → Stop: "AionCore {tag} is missing artifacts: {list}. Wait for CI to complete or check for build failures."

Step 6: Update package.json

Use Edit tool to replace:

  • "version": "{current}" → "version": "{target}"
  • "aioncoreVersion": "{old}" → "aioncoreVersion": "{new core tag}" (skip if --skip-core)

Step 7: Generate CHANGELOG Entry

7a: Determine Previous Tag

git describe --tags --abbrev=0

This gives the most recent tag (e.g. v2.1.2).

7b: Collect Frontend Changes

git log v{previous}..HEAD --oneline --no-merges --format="%s"
  • Filter to conventional commit types: feat, fix, refactor, perf, style
  • Exclude commits matching chore: bump version
  • Group by type (Features, Bug Fixes, Refactoring, Performance, Styling)
  • Format each as: - **scope:** description (#PR)

7c: Collect AionCore Changes

From step 4's release body (already in conventional-changelog format from release-please). Parse into same grouped format.

Skip if --skip-core.

7d: Compose and Write CHANGELOG.md

If CHANGELOG.md exists at repo root → read its current content. If not → start with empty string.

Prepend the new entry in this format:

# Changelog

## [{target}](https://github.com/iOfficeAI/AionUi/compare/v{previous}...v{target}) ({date YYYY-MM-DD})

### Desktop

#### Bug Fixes

- **upload:** abort in-flight uploads when switching conversations (#3019)

#### Features

- **thinking:** add streaming indicator (#3015)

### Core ([{core tag}](https://github.com/iOfficeAI/AionCore/releases/tag/{core tag}))

#### Bug Fixes

- **acp:** load user MCP servers and emit empty-finish diagnostic (#327)

---

Rules:

  • If --skip-core: omit the entire "### Core" section
  • If no frontend commits since last tag: show _No frontend changes in this release._ under "### Desktop"
  • Date format: YYYY-MM-DD
  • Always keep the top-level # Changelog header exactly once

Step 8: Quality Checks

bun run lint
bun run format
bunx tsc --noEmit
  • lint fails → Stop: "Lint errors found. Please fix them before bumping."
  • format → Auto-fixes silently.
  • tsc fails → Stop: "TypeScript errors found. Please fix them before bumping."

Step 9: Run Tests

bunx vitest run

Fails → Stop: "Tests failed. Please fix before bumping."

Step 10: Branch, Commit, Push

git checkout -b chore/bump-version-{target}
git add package.json CHANGELOG.md
git commit -m "chore: bump version to {target} and aioncore to {core tag}"
just push -u origin chore/bump-version-{target}

If --skip-core:

git commit -m "chore: bump version to {target}"

Step 11: Create PR + Enable Auto-Merge

gh pr create --base main \
  --title "chore: bump version to {target}" \
  --body "<the CHANGELOG entry generated in Step 7>"

Capture the PR number from the output. Then enable auto-merge (squash):

gh pr merge {PR_NUMBER} --auto --squash

Display: "PR created: {URL}. Auto-merge enabled — will merge automatically once CI passes."

Step 12: Poll for Merge

Check PR merge status every 5 minutes:

gh pr view {PR_NUMBER} --json state,mergedAt,mergeStateStatus

Decision logic:

stateAction
MERGEDProceed to Step 13
CLOSED (not merged)Stop: "PR was closed without merging. Please check and confirm how to proceed."
OPEN with mergeStateStatus: BLOCKED or CI failure persisting > 3 checksStop: "PR merge is blocked (CI failure or review required). Please investigate: {URL}"
OPEN otherwiseWait 5 minutes, check again

Maximum wait: 30 minutes (6 checks). If not merged after 30 minutes:

"PR has not merged after 30 minutes. Please check status: {URL}. Reply 'continue' when merged, or 'abort' to stop."

Wait for user confirmation only in this timeout case.

Step 13: Cleanup + Tag

After merge is confirmed (either via polling or user confirmation):

git checkout main
git pull --rebase origin main
git branch -d chore/bump-version-{target}

Check if remote branch still exists:

git ls-remote --heads origin chore/bump-version-{target}
  • Has output → git push origin --delete chore/bump-version-{target}
  • No output → skip

Create and push tag:

git tag v{target}
git push origin v{target}

Wait a few seconds for GitHub to pick up the tag push, then fetch the triggered workflow run:

gh run list --workflow=release.yml --branch v{target} --limit 1 --json databaseId,url

Display: "Tag v{target} created and pushed. Release build triggered! Action: {run URL}"

Quick Reference

 1. Must be on clean main
 2. git pull --rebase
 3. Determine AionUi target version (patch+1 or explicit)
 4. Query AionCore latest release (or --core / --skip-core)
 5. Verify AionCore artifacts (7 files)
 6. Edit package.json (version + aioncoreVersion)
 7. Generate CHANGELOG entry (frontend commits + AionCore release body)
 8. lint + format + tsc
 9. vitest run
10. branch → commit → push
11. gh pr create → enable auto-merge (squash)
12. poll merge status (every 5min, max 30min) → stop on failure
13. cleanup → git tag → git push tag

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.