Git Workflow Standards
Apply this skill when planning, committing, reviewing, merging, or releasing
changes with Git.
Workflow
- Inspect
git status --short before making Git decisions.
- Keep unrelated user changes intact. Do not revert changes that were not made
for the current task.
- Load
references/git-workflow-standards.md before creating branches,
commits, pull requests, tags, or release branches.
- Keep each branch, commit, and PR small enough to review and validate.
- Run relevant checks before committing or requesting review.
- Use Conventional Commits for commits and PR titles.
Defaults
- Use trunk-based development.
- Treat
main as the only long-lived branch.
- Create short-lived
feature/, bugfix/, hotfix/, or release/ branches
from main.
- Avoid force pushing
main.
- Prefer feature flags for large features that cannot be completed quickly.
- Use squash merge for pull requests unless the project explicitly requires a
different merge strategy.
Commit Message Shape
Use:
<type>(<scope>): <subject>
[body]
[footer]
Use types: feat, fix, docs, style, refactor, perf, test,
build, ci, chore, revert.
Release Shape
Use semantic version tags:
v<major>.<minor>.<patch>[-prerelease]
Examples: v1.2.3, v2.0.0-rc.1.
Reference Files
references/git-workflow-standards.md - Detailed branch, commit, pull
request, versioning, tag, and prohibited-pattern rules.
Source: LIghtJUNction/lightjunction — distributed by TomeVault.
1---2name: git-workflow-standards-23description: This skill should be used when the user asks to "add Git standards", "create a branch", "commit changes", "write a commit message", "open a PR", "review a PR", "prepare a release", "tag a version", or mentions trunk-based development, Conventional Commits, branch naming, PR checklist, semantic versioning, or release tags. Use when this capability is needed.4---56# Git Workflow Standards78Apply this skill when planning, committing, reviewing, merging, or releasing9changes with Git.1011## Workflow12131. Inspect `git status --short` before making Git decisions.142. Keep unrelated user changes intact. Do not revert changes that were not made15 for the current task.163. Load `references/git-workflow-standards.md` before creating branches,17 commits, pull requests, tags, or release branches.184. Keep each branch, commit, and PR small enough to review and validate.195. Run relevant checks before committing or requesting review.206. Use Conventional Commits for commits and PR titles.2122## Defaults2324- Use trunk-based development.25- Treat `main` as the only long-lived branch.26- Create short-lived `feature/`, `bugfix/`, `hotfix/`, or `release/` branches27 from `main`.28- Avoid force pushing `main`.29- Prefer feature flags for large features that cannot be completed quickly.30- Use squash merge for pull requests unless the project explicitly requires a31 different merge strategy.3233## Commit Message Shape3435Use:3637```text38<type>(<scope>): <subject>3940[body]4142[footer]43```4445Use types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`,46`build`, `ci`, `chore`, `revert`.4748## Release Shape4950Use semantic version tags:5152```text53v<major>.<minor>.<patch>[-prerelease]54```5556Examples: `v1.2.3`, `v2.0.0-rc.1`.5758## Reference Files5960- `references/git-workflow-standards.md` - Detailed branch, commit, pull61 request, versioning, tag, and prohibited-pattern rules.6263---64> Source: [LIghtJUNction/lightjunction](https://github.com/LIghtJUNction/lightjunction) — distributed by [TomeVault](https://tomevault.io).65<!-- tomevault:4.0:skill_md:2026-06-15 -->