Skip to content

ship-loop-change: choose branch base by checking open PRs - #3

Merged
ryleckenby merged 1 commit into
document-skill-systemfrom
add-branch-base-guidance
Jul 29, 2026
Merged

ship-loop-change: choose branch base by checking open PRs#3
ryleckenby merged 1 commit into
document-skill-systemfrom
add-branch-base-guidance

Conversation

@ryleckenby

Copy link
Copy Markdown
Owner

Adds guidance to the ship-loop-change skill: before creating a branch, check open PRs to decide the base — branch off main for independent work, but stack on an open PR's head branch when the change depends on it or edits the same files (e.g. append-only LOG.md), to avoid guaranteed merge conflicts.

  • New "Choosing the branch base" section with the gh pr list --json ... / gh pr view <n> --json files checks and the stack-vs-main rule of thumb.
  • New "Do not" rule against blindly branching off main when an open PR already edits the same files.

Stacked on #2 (base document-skill-system), not main — because this change edits LOG.md, which #1 and #2 also append to. That's the exact rule this PR documents, applied. GitHub will retarget this to main once #1 and #2 merge.

🤖 Generated with Claude Code

Before creating a branch, check open PRs: branch off main for independent work,
but stack on an open PR's head branch when the change depends on it or edits the
same files (e.g. append-only LOG.md) — avoids guaranteed merge conflicts. Adds a
"Choosing the branch base" section and a matching "Do not" rule.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ryleckenby
ryleckenby merged commit 4af5b2a into document-skill-system Jul 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant