skills/gh-version-control-workflow/SKILL.md
Script-first worktree/branch/PR workflow using local scripts under `scripts/` plus direct `git`/`gh`. Use this when you need the sanctioned mutating git and GitHub workflow tools. [skill-hash:7b3f0c2]
npx skillsauth add robertmsale/.codex gh-version-control-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.
Use this skill when you need the sanctioned wrappers for mutating git or GitHub operations.
git directly for read-only inspection commandsUse the shared ~/.codex skill script paths shown here unless a project-local skill explicitly says otherwise.
Run each mutating git wrapper as its own command. Do not chain git-stage-paths,
git-commit, git-publish-worktree, or other mutating wrappers with &&,
||, ;, pipes, or shell wrappers. Wait for one step to finish, inspect the
result if needed, then run the next step.
git-worktree-create <repo_path> <base_branch> <branch_name> <worktree_name>git-worktree-refresh-branch <worktree_path> <new_branch> [integration_branch]git-sync-worktree <worktree_path> [integration_branch]git-recover-published-worktree <worktree_path> [integration_branch]qa-fastforward <worktree_path> [integration_branch].worktrees/... checkout, stashes scratch/untracked QA artifacts, updates that checkout onto the latest integration branch, then restores the stashorigin/<integration_branch> and surfaces dirty/conflict failures directlygit-commit <worktree_path> "<message>"git-publish-worktree <worktree_path> [integration_branch]git-merge-worktree <worktree_path> [integration_branch]git-worktree-cleanup <worktree_path> [integration_branch].worktrees/git-stage-paths <repo_or_worktree_path> <path> [path...]git-unstage-paths <repo_or_worktree_path> <path> [path...]git-rebase-abort <repo_or_worktree_path>git-rebase-continue <repo_or_worktree_path>Read-only git commands such as git status, git branch, git diff, git show, git rev-parse, and git merge-base are intentionally not wrapped. Use raw git directly for inspection.
git-commit.git-publish-worktree.git-merge-worktree. Let hook-owned archive cleanup run unless manual cleanup is explicitly needed.If a published PR branch is behind, conflicted, or non-mergeable:
git-recover-published-worktree <worktree_path> [integration_branch].git-rebase-continue <worktree_path>.git-publish-worktree <worktree_path> [integration_branch] to update the existing PR branch with force-with-lease if needed.Do not create a fresh branch/worktree to replay the old commit. Do not cherry-pick the old commit onto a new branch unless an operator explicitly tells you to do that.
For a clean unpublished branch that is merely stale, use git-sync-worktree.
For an idle/pre-implementation worker whose worktree is dirty or polluted,
stop and report the exact status so the orchestrator can archive or recreate it
cleanly. Do not run recovery commands that preserve broad unrelated state.
git-merge-worktree owns merge plus worktree cleanup for managed worktree branches.git-worktree-refresh-branch refuses protected integration branch names as the target branch.git-sync-worktree, which refuses dirty worktrees.development
Use this when QA is piloting product goals, golden paths, simulator flows, or workflow-scale usability for a real user persona.
development
Use for orchestrating or executing screenshot-driven Flutter redesign work where workers generate reference images, capture atomic Design Lab Bun/WebView proof when available, run visual design review, and implement only after visual approval. [skill-hash:2c4d9f0]
content-media
Ran into a sandbox issue, approval request, or privileged-exec rejection? Use this skill immediately for the sanctioned resolution path. [skill-hash:b8f4a20]
development
Use this when a designer needs to pilot an ad-hoc iOS simulator directly, launch Flutter from their own worktree in tmux, or trigger hot reload without the broker/device-harness path.