Skip to content

/elite-merge

New
Skill 12

Watch a PR for agent reviews and CI, fix auto-addressable feedback, escalate HITL, and squash-merge only when green with no human decisions open.

What It Covers

  • Poll unresolved review threads and general PR comments
  • Classify each item as auto-fix or HITL
  • Wait for review-bots (Greptile, Bugbot, Copilot) to post
  • Wait for CI to go green — failed and pending empty
  • Squash-merge only when the merge gate passes
  • Never auto-merge when needs-decision / HITL is open
  • gh scripts for threads, checks, replies, and the merge gate
  • SKILL.state — each cycle is skill spec + JSON state + latest observe only

Install This Skill

npx skills add https://eliteskills.ai --skill elite-merge

Or install all skills:

npx skills add https://eliteskills.ai

Skill Structure

tree
.claude/skills/elite-merge/
├── REFERENCE.md
├── SKILL.md
├── scripts/
├── mark-handled.sh
├── pr-checks.sh
├── pr-merge.sh
├── pr-reply.sh
├── pr-threads.sh
└── state.sh

Example Prompts

Watch this PR
> /elite-merge This PR
Babysit reviews
> /elite-merge PR 42
Fix failing CI
> /elite-merge PR 42, CI is currently red
Do not merge HITL
> /elite-merge This PR, do not merge

Best Practices

  • Never merge when HITL is open or the PR has the needs-decision label
  • A pending review-bot means the review has not happened yet — keep polling
  • One commit per auto-fix; run the project pre-flight before every push
  • Use pr-merge.sh — do not call gh pr merge around a failed gate
  • Rebase onto main before fixing if the branch is stale or conflicted
  • Stop after three unchanged pending-check polls and escalate HITL
  • Next cycle is SKILL.md + state.json + latest observe — do not replay dumps

Compatible Tools