← ClaudeAtlas

mergelisted

Merge an approved change request once its gates are green — waiting on the pipeline if needed — then clean up the branch. Use when merging or landing a PR/MR.
chris-peterson/anchor · ★ 0 · Code & Development · score 68
Install: claude install-skill chris-peterson/anchor
# Merge Land an open change request into the default branch. This is the terminal step of the anchor lifecycle: `/anchor:prepare-review` opens the CR and `/anchor:resolve-feedback` drives its threads to done; `/anchor:merge` checks that the CR is actually ready to land, merges it, and cleans up the branch behind it. The job is a **safe merge**: never land a CR that a gate says isn't ready, and never leave the local checkout stranded on a branch that no longer exists. CR = change request: a pull request on GitHub, a merge request on GitLab. Pick the forge tool by the `origin` remote. **Don't narrate your work.** Every step below is an operating instruction, not a script to read aloud — follow the execute-quietly discipline: `${CLAUDE_PLUGIN_ROOT}/guides/execute-quietly.md`. For this skill, the only things worth surfacing are the resolved repo and CR in one line, any gate that blocks, the merge-method decision, and the one-line result. ```mermaid %%{ init: { 'look': 'handDrawn' } }%% flowchart TD Start(["/merge"]) --> Repo["Resolve repo + CR"] subgraph "Step 1: Gates" Repo --> Ready{Marked ready?} Ready -->|Draft| StopDraft["Ask to mark ready"] Ready -->|Ready| Mergeable{Mergeable?} Mergeable -->|Conflicts| StopConflict["Stop: rebase first"] Mergeable -->|Clean| Pipe{Pipeline green?} Pipe -->|Running| Watch["Watch until settled"] Watch --> Pipe Pipe -->|Failed| StopPipe["Stop: report jobs"] Pip