.ai/skills/git-workflow/SKILL.md
Canonical Git, commit/push, and Directory.Build.props versioning workflow for XerahS. Use for any task that changes version numbers or requires commit/push.
npx skillsauth add sharex/xerahs ShareX Workflow and VersioningInstall 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.
This file is the single source of truth for Git and versioning rules that involve:
Directory.Build.props updatesThis supersedes the retired docs/development/RELEASE_PROCESS.md.
Directory.Build.props file as the working XerahS app version source of truth..csproj files.Directory.Build.props in the repository that intentionally carries the XerahS app version so values match.build/windows/chocolatey/xerahs.nuspec, must be synchronized from the root version during release automation..nupkg, so release metadata under build/windows/chocolatey/ must stay automation-friendly.0.0.z rule: keep major/minor, increase z).Before committing and pushing:
git pull --recurse-submodules
git submodule update --init --recursive
dotnet build src/desktop/XerahS.sln
Only continue when build succeeds with 0 errors.
git add .
git commit -m "[vX.Y.Z] [Type] concise description"
git push
Directory.Build.props <Version> as [vX.Y.Z], but only after verifying that version is strictly greater than the highest existing XerahS git tag.Directory.Build.props first and then commit with that bumped version.[Fix], [Feature], [Build], [Docs], [Refactor].ShareX.ImageEditor): omit [vX.Y.Z]; use [Type] description per AGENTS.md..githooks active (git config core.hooksPath .githooks).--no-verify unless explicitly requested for emergency use.testing
Reference for writing effective XerahS Improvement Proposals (XIPs), including structure, templates, review checks, and implementation patterns. Use sync-xips for creating, editing, and syncing XIP GitHub issues and local backups.
documentation
Rules and workflows for updating docs/CHANGELOG.md, including version grouping, consolidation, and commit-entry attribution.
testing
Create and maintain XerahS Improvement Proposals (XIPs) with GitHub as source of truth and docs/proposals/xip folder as backup. Use when creating or editing XIPs, syncing XIPs between GitHub issues and the docs/proposals/xip folder, or when the user mentions XIP, GitHub issues for XIP, or local XIP files.
documentation
Repository maintenance preparation for XerahS. Use before release or changelog work to sync repositories, inspect submodule state, identify version/changelog needs, and hand off commit/push/version rules to git-workflow.