.claude/skills/version-increment/SKILL.md
Increment the project version (SemVer) and consolidate the agent session changelog into a formal release entry in CHANGELOG.md
npx skillsauth add harryeslick/pyTemplate version-incrementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Increment the project version and consolidate the agent session changelog into a formal release entry.
$ARGUMENTS must be one of: patch | minor | major
Default to patch if no argument is provided.
Search for the version string in this priority order:
pyproject.toml → [project] version = "..." or [tool.poetry] version = "..."setup.cfg → version = ...setup.py → version="..."src/<package>/__init__.py or <package>/__init__.py → __version__ = "..."Report the file found and current version before proceeding.
Apply SemVer rules to the detected version:
patch: increment Z in X.Y.Zminor: increment Y, reset Z to 0major: increment X, reset Y and Z to 0Read .claude/AGENT-CHANGELOG.md. For each new session entry, which is more recent than the current version, summarise the major changes and classify according to the keep a change log headings:
## Version [<X.Y.Z>] - <YYYY-MM-DD>
### Added
new features, scripts, models, datasets, analysis pipelines
### Changed
modifications to existing behaviour or interfaces
### Deprecated
functionality flagged for future removal
### Removed
deleted files, functions, or data
### Fixed
bug fixes, data corrections, broken tests
### Security
If an object changes multiple times, or is created and removed within the new session entries DO NOT record these into the CHANGELOG. CHANGELOG version entry should reflect the current state of the package at the time the version is incremented.
AGENT-CHANGELOG.md = a full record of all changes iterations and tests made during development
CHANGELOG.md = a record of the major changes which remain at the time of version increment.
If ambiguous, default to Changed. Only include headings that have entries.
Prepend a new version block to CHANGELOG.md in the project root (create if absent).
Run markdownlint --fix CHANGELOG.md to auto-fix any formatting issues.
Write the new version string back to the exact file and line detected in Step 1.
.claude/AGENT-CHANGELOG.md → .claude/archive/sessions-to-vX.Y.Z.md.claude/AGENT-CHANGELOG.md to:# Agent Session Log
Run `/version-increment` to consolidate into the project CHANGELOG.md.
---
Do not delete individual files in .claude/sessions/ — they are the permanent record.
Version bumped: X.Y.Z → A.B.C (patch|minor|major)
Version file: pyproject.toml
CHANGELOG.md: N entries consolidated under [A.B.C]
Session log: archived to .claude/archive/sessions-to-vA.B.C.md
Suggested next steps:
git add CHANGELOG.md pyproject.toml .claude/
git commit -m "chore: release vA.B.C"
git tag -a vA.B.C -m "Release vA.B.C"
development
Use when implementing a scientific modeling function, creating a contract notebook for a new model or function, building out internals from a defined API specification, archiving a notebook before an API-breaking change, adding a new module to a scientific modeling project, or working on any task inside a repo that contains a notebooks/contracts/ or notebooks/archive/ directory. Also trigger when the user describes an epidemiology, crop science, or ecological simulation model and wants to implement or test it.
documentation
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
documentation
Maintain the OpenClaw memory wiki vault with deterministic pages, managed blocks, and source-backed updates.
documentation
Feishu knowledge base navigation. Activate when user mentions knowledge base, wiki, or wiki links.