Skip to content

Add auto-merge skill for claude/* branch PRs - #25

Merged
robdevops merged 1 commit into
mainfrom
claude/auto-merge-skill
Oct 7, 2026
Merged

robdevops merged 1 commit into
mainfrom
claude/auto-merge-skill

Conversation

@robdevops

Copy link
Copy Markdown
Owner

Adds a new skill that automates merging of pull requests opened from claude/* branches, replacing the manual "Auto-merge when ready" workflow described in CLAUDE.md.

Changes

  • New skill: .claude/skills/auto-merge/SKILL.md defines the auto-merge behavior:

    • Automatically enables GitHub auto-merge on eligible PRs (open, not draft, from claude/* branch, targeting default branch)
    • Falls back to immediate merge if auto-merge can't be enabled but the PR is already mergeable with passing checks
    • Stays silent except when auto-merge fails or CI breaks
    • Never merges PRs from other branches, forks, drafts, or with failed/missing checks
    • Uses GitHub MCP tools instead of gh CLI
  • Updated CLAUDE.md: Replaces the manual "tick Auto-merge when ready" instruction with a reference to the new skill, clarifying that the skill handles the automation while the CI button's checkbox remains available as an alternative per-PR method.

Implementation notes

The skill is designed to be invoked automatically after PR creation or when pointed to a claude/* PR. It prioritizes silent operation—no status updates, CI progress reports, or merge confirmations—keeping the user's focus on the Claude Code CI button for monitoring.

https://claude.ai/code/session_014k4kywyN5dAo39izUPvxbw

… chatter

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014k4kywyN5dAo39izUPvxbw
@robdevops
robdevops merged commit a106d89 into main Oct 7, 2026
1 check 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.

2 participants