template-version-release
Automates PowerShell template versioning and releases. Handles SemVer, changelogs, and GitHub release tagging.
Install
mkdir -p .claude/skills/template-version-release && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18286" && unzip -o skill.zip -d .claude/skills/template-version-release && rm skill.zipInstalls to .claude/skills/template-version-release
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when asked to prepare, validate, finalize, tag, publish, or clean up a powershell-dev-template release version, including SemVer bump decisions, VERSION, CHANGELOG.md, README template badge, Test-TemplateVersion.ps1, vX.Y.Z tags, GitHub Releases, post-merge release tagging, or merged branch cleanup.Key capabilities
- →Update `VERSION` to the chosen `X.Y.Z` value
- →Update the README template badge
- →Add a `CHANGELOG.md` heading
- →Run `Test-TemplateVersion.ps1` for version check
- →Run `Invoke-RepoChecks.ps1` for full repo check
- →Create a lightweight git tag `vX.Y.Z`
How it works
The skill updates version files, runs validation scripts, creates git tags, and publishes GitHub Releases based on SemVer rules for the `powershell-dev-template` repository.
Inputs & outputs
When to use template-version-release
- →Preparing a new release
- →Updating version numbers
- →Generating changelogs
About this skill
Template Version Release
Overview
Use this skill to manage template release versioning for powershell-dev-template. The version describes the reusable template baseline, not downstream repositories created from it.
Use scripts/Test-TemplateVersion.ps1 as the deterministic validator for version metadata.
Reference Docs
Use these repository docs for release policy context:
docs/template-evolution.mdfor SemVer policy, release metadata expectations, post-merge tag guidance, and GitHub Release guidanceREADME.mdfor the public Template Versioning summary and badge expectations
Required Context
Before acting, identify:
- the current version from
VERSION - the intended next version and whether it is major, minor, or patch
- the release date for the
CHANGELOG.mdheading - whether the user wants pre-merge release prep, post-merge release finalization, or GitHub Release publishing
If the next version or bump level is unclear, inspect the change impact and ask before editing release metadata.
Pre-Merge Release Prep
When preparing a release PR:
-
Update
VERSIONto the chosenX.Y.Zvalue. -
Update the README template badge to
template-X.Y.Z. -
Add a
CHANGELOG.mdheading in this format:## X.Y.Z - YYYY-MM-DD -
Keep historical changelog version references unchanged.
-
Run the version check:
powershell.exe -NoProfile -File ./scripts/Test-TemplateVersion.ps1 -
Run the full repo check before opening or updating the PR:
powershell.exe -NoProfile -File ./scripts/Invoke-RepoChecks.ps1 -IncludeTemplates
Use a conventional commit such as feat(skills): add template version release skill, docs(version): prepare 0.9.0 release, or another message that matches the actual change.
Post-Merge Release Finalization
After the release PR is merged:
-
Fetch and prune remotes.
-
Switch to
main. -
Fast-forward
mainfromorigin/main. -
Confirm
VERSION, README badge, andCHANGELOG.mdmatch the release version. -
Create a lightweight tag:
git tag vX.Y.Z -
Push the tag:
git push origin vX.Y.Z -
Optionally validate tag placement:
powershell.exe -NoProfile -File ./scripts/Test-TemplateVersion.ps1 -CheckTag -
Publish a GitHub Release from the tag:
- tag:
vX.Y.Z - title:
vX.Y.Z - body: the matching
CHANGELOG.mdsection - draft: no
- prerelease: no, unless explicitly requested
- tag:
-
Delete the merged local branch only after the remote branch is deleted or the merge is confirmed.
Success Criteria
The workflow is complete when:
VERSION, the README template badge, andCHANGELOG.mdagree on the release versionscripts/Test-TemplateVersion.ps1passes before the release PR is opened or updated- after merge,
mainis fast-forwarded and the lightweightvX.Y.Ztag is pushed scripts/Test-TemplateVersion.ps1 -CheckTagpasses after tagging- a GitHub Release exists for
vX.Y.Zwith notes derived from the matchingCHANGELOG.mdsection`n- GitHub shows the pushed tag as verified and associated with the intended merged release commit - the merged local branch has been cleaned up after the remote branch deletion or merge is confirmed
Stop Conditions
Stop and report instead of improvising when:
VERSION, README badge, andCHANGELOG.mddisagree- the requested version is not a SemVer
X.Y.Zvalue - the changelog entry for the release is missing
vX.Y.Zalready exists on a different commit- a GitHub Release already exists for
vX.Y.Zwith conflicting notes mainis not fast-forwardable after merge- the working tree is dirty before tagging or branch cleanup
Agent Role
Treat the validator, Git state, and published GitHub Release state as the source of truth. The agent role is to coordinate release metadata updates, inspect diffs, run validation, prepare PR text, tag the merged release, publish the GitHub Release, and clean up local branches.
When not to use it
- →When the requested version is not a SemVer `X.Y.Z` value
- →When `VERSION`, README badge, and `CHANGELOG.md` disagree
- →When `vX.Y.Z` already exists on a different commit
Limitations
- →Specific to `powershell-dev-template` repository
- →Requires SemVer `X.Y.Z` values for versions
- →Stops if `VERSION`, README badge, and `CHANGELOG.md` disagree
How it compares
This workflow automates the versioning and release process for a specific template repository, ensuring consistency and adherence to SemVer, unlike manual version updates and release creation.
Compared to similar skills
template-version-release side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| template-version-release (this skill) | 0 | 17d | No flags | Intermediate |
| machine-learning-ops-ml-pipeline | 4 | 3mo | No flags | Advanced |
| uv | 3 | 4mo | Review | Beginner |
| vastai-core-workflow-b | 1 | 10d | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
machine-learning-ops-ml-pipeline
sickn33
Design and implement a complete ML pipeline for: $ARGUMENTS
uv
mitsuhiko
Use `uv` instead of pip/python/venv. Run scripts with `uv run script.py`, add deps with `uv add`, use inline script metadata for standalone scripts.
vastai-core-workflow-b
jeremylongshore
Execute Vast.ai secondary workflow: Core Workflow B. Use when implementing secondary use case, or complementing primary workflow. Trigger with phrases like "vastai secondary workflow", "secondary task with vastai".
mflux-dev-env
filipstrand
Set up and work in the mflux dev environment (arm64 expectation, uv, Makefile targets, lint/format/test).
hugging-face-jobs
patchy631
This skill should be used when users want to run any workload on Hugging Face Jobs infrastructure. Covers UV scripts, Docker-based jobs, hardware selection, cost estimation, authentication with tokens, secrets management, timeout configuration, and result persistence. Designed for general-purpose compute workloads including data processing, inference, experiments, batch jobs, and any Python-based tasks. Should be invoked for tasks involving cloud compute, GPU workloads, or when users mention running jobs on Hugging Face infrastructure without local setup.
mlops-initialization
fmind
Guide to initialize a new MLOps project with standard tools (uv, git, VS Code) and best practices.