skills/git-workflow/SKILL.md
GIT WORKFLOW SKILL — Exact command sequences for all branch lifecycle operations in this project. USE FOR: creating a work branch for a backlog item; committing and merging work; tagging design versions or releases. Eliminates the need to look up git-workflow.md during implementation. DO NOT USE FOR: deciding what to work on (use backlog-entry or agent-orientation).
npx skillsauth add zcross00/ProcessDocumentation git-workflowInstall 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.
Exact command sequences for every branch lifecycle operation. Copy and substitute {placeholders}.
# 1. Start from the active branch
git checkout {active-branch}
git pull
# 2. Create the work branch
git checkout -b work/BL-{N}
Periodically sync with the active branch to catch conflicts early:
git fetch origin
git merge origin/{active-branch}
# Resolve any conflicts now; do not wait until merge time.
Include the BL-N identifier in the commit message:
git add .
git commit -m "{type}(BL-{N}): {imperative description}"
Run the build-verify skill before merging. All tests must pass.
mvn clean test
# All tests must pass. Zero failures, zero errors.
No PRs required. Merge directly after build passes.
# 1. Switch to the active branch and pull latest
git checkout {active-branch}
git pull
# 2. Merge the work branch
git merge work/BL-{N}
# 3. Push
git push
# 4. Delete the work branch (local and remote if pushed)
git branch -d work/BL-{N}
git push origin --delete work/BL-{N} # only if branch was pushed to remote
Always communicate to the user after merging:
# Design version tag
git tag design/v{N.M}
git push origin design/v{N.M}
# Release tag (annotated)
git tag -a v{N.M.P} -m "{release description}"
git push origin v{N.M.P}
{type}(BL-N): {imperative description}
When not tied to a backlog item:
{type}: {imperative description}
| Type | Use For |
|------|---------|
| feat | New functionality |
| fix | Bug fix |
| refactor | Code restructuring |
development
TEST WRITING SKILL — Write correctly structured JUnit 5 tests that match this project's conventions. USE FOR: adding tests for a new backlog item; flagging missing test coverage; writing tests for engine classes, domain logic, or persistence. Covers class placement, naming conventions, setup patterns, assertion style, and what not to test. DO NOT USE FOR: running tests (use build-verify skill); diagnosing test failures (read the Surefire report directly).
development
STANDARDS CHECK JAVA SKILL — Apply standards/general.md and standards/java.md systematically to a Java file or diff. USE FOR: pre-commit standards compliance check; reviewing a file for standards adherence before or after a change. Produces a categorized violation list with the specific rule cited for each. DO NOT USE FOR: general code review (use planner-review skill for implementation review).
testing
REFINEMENT SKILL — Analyze design, features, backlog, and drift to identify and plan needed work. USE FOR: PLANNER producing new backlog items from gaps between design and current state; evaluating tech debt and drift for resolution; structured backlog growth when the user asks the PLANNER to refine or plan more work. DO NOT USE FOR: implementing backlog items (EXECUTOR work); reviewing completed work (use planner-review skill).
development
PLANNER REVIEW SKILL — Review a completed backlog item and update design artifacts accordingly. USE FOR: PLANNER reviewing an EXECUTOR's completed work; updating FEATURES.md after a feature lands; removing completed items from BACKLOG.md; checking for drift. DO NOT USE FOR: implementing backlog items (EXECUTOR work); initial planning (read GOALS and DESIGN directly).