From sdlc
Git workflows — push, merge, PR lifecycle, worktrees, branch management, and CI integration. Invoke for any git operation beyond a simple commit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdlc:gitsonnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Handles the full git collaboration lifecycle: pushing branches, waiting for CI, merging PRs, managing worktrees, and syncing remotes.
Handles the full git collaboration lifecycle: pushing branches, waiting for CI, merging PRs, managing worktrees, and syncing remotes.
For individual granular git commands (explicit user control), see the /sdlc:git_* slash commands.
ACTION: $1 || "" # push | merge | worktree | fetch | pr | auto-detect BRANCH: $2 || "" # target branch (auto-detected if blank) OPTIONS: $ARGUMENTS # pass-through flags
If ACTION is blank, infer from context:
pushmergeworktreefetchgit push -u origin <branch>)gh pr checks — poll every 30s, timeout 600sgh pr checks) — block if failuresgh pr view --json reviewDecision) — warn if not approvedgh pr merge --squash (default) or --merge / --rebase../repo_worktrees/)git worktree add ../repo_worktrees/<name> -b <branch>git fetch --prune to update remote refsgit pull --rebaseConfigure commit author for bot/agent contexts:
git config user.name "<name>"
git config user.email "<email>"
## Git: <action>
**Branch:** <branch>
**Remote:** origin
| Step | Status | Detail |
|------|--------|--------|
| Push | ✅/❌ | |
| CI | ✅/❌/⚠️ | |
| Merge | ✅/❌/— | |
**Next:** <suggested next step>
npx claudepluginhub agentparadise/agentic-primitives --plugin sdlcFeature branches, commit hygiene, rebasing vs. merging, and collaborative workflows.
Provides git command patterns, branching strategy, and safety protocols for managing branches, resolving merge conflicts, and running commit/merge/push operations.
Manages Git branch strategy, worktrees, commits, PR preparation, merge/rebase decisions, conflict resolution, tagging, and release notes. Validates state before making changes.