alexander-kastil

Git Contribute Sync — Git skill for Claude Code

Git community

Merge the owner's latest master into your claude-harness feature branch, run the tests and push it to your fork.

How to install Git Contribute Sync

Installs to ~/.claude/commands/alexander-kastil-claude-harness-git-contribute-sync.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alexander-kastil/claude-harness/HEAD/.claude/commands/git-contribute-sync.md -o ~/.claude/commands/alexander-kastil-claude-harness-git-contribute-sync.md

Restart Claude Code, or start a new session, for it to be picked up.

What Git Contribute Sync does


description: Merge the owner's latest master into your claude-harness feature branch, run the tests and push it to your fork. Step 6 of CONTRIBUTE.md, and step 8 while the pull request is open. disable-model-invocation: true

git-contribute-sync

The step that avoids conflicts: run it right before the pull request, and again whenever master moves on while the pull request is open. Running this command is the instruction; it needs no further confirmation.

Never

  • Rebase or force-pu

Alternatives in Git

  • Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
  • Git Master 24.1k ★
  • OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★

Full documentation available on GitHub

View Source Repository