Release new version

From LeCheenaX/WordFlow-Tracker · View interactive version

Release new version is an AI agent skill from the GitHub repository LeCheenaX/WordFlow-Tracker. Prepare and publish a new Wordflow Tracker version. Load when bumping versions, writing release notes, tagging releases, re-releasing a withdrawn package, or updating release statistics.

How to use this skill

Skill file

Release New Version Skill

Use this skill when preparing a new Wordflow Tracker release.

This skill is project-specific. It is based on the recent version update

commits and the current GitHub Actions release workflow.

Evidence From Recent Release Commits

Recent version update commits consistently changed:

Occasional release commits also changed:

Release Philosophy

Obsidian plugin exposure is driven heavily by download activity. Prefer frequent

small releases when there is a real bug fix, small feature, or improvement.

Use SemVer loosely but pragmatically for this project:

For discovery, a single small bug fix or a single small feature can justify a

patch release.

Files To Check Before Editing

Read these before making release edits:

Inspect recent version commits when uncertain:

git log --oneline --decorate -n 30
git show <version-update-commit> -- manifest.json src/changeLog.ts

Version Bump Workflow

  1. Choose the next version.
  1. Update manifest.json.
  1. Update src/changeLog.ts.
  1. Update release statistics.

Download Statistics Workflow

Use this when the user asks to update download data, refresh the chart, or

prepare release analytics.

The current chart data lives in miscellaneous/downloads-Trend.py:

data = [
    ("2026-06-25", 0, "2.2.9"),
]

Each tuple means:

The script computes cumulative downloads itself and appends an unreleased

point for today's date. Do not enter cumulative totals into data.

Pull Data From GitHub Release Stats

Primary data source:

https://qwertycube.com/github-release-stats/

Manual browser workflow:

  1. Open GitHub Release Stats.
  2. Enter the owner and repository:
  1. Fetch the repository release stats.
  2. For each release tag, read:
  1. Compare the website values against the existing rows in downloads-Trend.py.
  2. Add missing release rows and correct stale counts.

When the site shows per-asset counts, use the release total across release

assets, not only one asset. The release workflow uploads main.js,

manifest.json, and styles.css; the chart tracks release-level downloads.

Fallback Via GitHub API

If the website is unavailable or cannot be accessed from the current agent

environment, fetch equivalent data from the GitHub Releases API:

gh api repos/LeCheenaX/WordFlow-Tracker/releases

For each release:

Only use this fallback when the user accepts GitHub API data as equivalent to

the website source.

Update `downloads-Trend.py`

Keep rows sorted by release date, and preserve same-day releases in version

order:

("2026-06-19", 10, "2.2.7"),
("2026-06-19", 306, "2.2.8"),
("2026-06-25", 0, "2.2.9"),

For a brand-new release, add a row using the release date and current download

count. It is normal for a just-created release to start at 0.

Note: You should always prepare an item of the latest version to be released, with a download number of 0 and release date of current date.

For an existing release, replace the old count with the latest count from the

data source. Do not add a duplicate row for the same version.

Regenerate The Chart

After editing downloads-Trend.py, run:

python miscellaneous/downloads-Trend.py

This overwrites:

miscellaneous/cumulative_downloads_trend.png

Then verify:

git diff -- miscellaneous/downloads-Trend.py
git status --short

If the image changed, include both the script and PNG in the release-statistics

update.

Changelog Structure

Write release notes so users can scan the impact immediately.

Use these buckets when applicable:

English heading format:

### 2.2.10 updates
✨ **New Features:**
- ...

Chinese heading format:

### 2.2.10 更新说明
✨ **新功能:**
- ...

Keep English and Chinese notes aligned in meaning, but write them naturally.

Verification

Before tagging:

npm run build
git diff -- manifest.json src/changeLog.ts versions.json miscellaneous/downloads-Trend.py
git status --short

Check these manually:

Git And Release Rules

Follow obsidian-ops: do not run git commit, git push, or automatic staging

without explicit user approval for each step.

The current workflow at .github/workflows/release.yml triggers on every tag

push and creates a draft GitHub release with:

The release workflow builds on GitHub Actions, attaches artifact attestations,

and creates the release as a draft.

Publish Commands

After the user approves committing and publishing, you must sync the local git with the cloud git.

Only when the sync is successful, could you create a version commit, then

tag and push the tag.

Standard release:

git tag -a 2.2.10 -m "2.2.10"
git push WordFlow-Tracker 2.2.10

-a creates an annotated version tag. -m sets the tag message.

After pushing:

Withdraw And Re-release

If the sync failed but you accidentally push the version to github, you should withdraw the version and sync again until the cloud version on github is the same as local git tree.

Use this only when a broken release/tag needs to be replaced.

Confirm the exact version first. The example below re-releases 2.2.10.

git tag -d 2.2.10
git push WordFlow-Tracker main --delete 2.2.10
git tag -a 2.2.10 -m "2.2.10"
git push WordFlow-Tracker 2.2.10

Before re-tagging:

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.