mergelisted
Install: claude install-skill iansmith/slopstop
# /slopstop:merge
## Project scope
Read `.project-conf.toml` from cwd; if absent, fall back to the main worktree at `dirname "$(git rev-parse --git-common-dir)"`. Set `$PREFIX` (`prefix` field), `$SYSTEM` (`system` field). Stop with a clear error if `prefix` is absent; stop if it doesn't match `^[A-Za-z][A-Za-z0-9]*$`. Only operate on `$PREFIX-\d+` branches.
Resolve `$TRACKING_DIR` and `$ARCHIVE_DIR` **together**, via the shared resolution ladder:
→ Read `~/.claude/commands/slopstop-start-refs/tracking-dir-resolution.md`
Missing from both: stop with `"No .project-conf.toml in cwd or main worktree. Run /slopstop:gh-init or create the file manually with system + key."`
## Autonomous mode
Active when either is true: `[autonomous] enabled = true` in `.project-conf.toml` (the same trigger `:start`, `:pr` and `:plan` use), or `--autonomous` passed for this invocation only. Either way prompts are skipped per **Autonomous behavior** at the bottom; nothing else changes.
## Arguments
- **Positional `<TICKET>`** (e.g. `BILL-132`) — target a ticket from *outside* its branch, for the orchestrator pattern where `:merge` runs at the root against a finished worktree. Sets `$TARGET_GIVEN = true`; `$BRANCH` is then resolved from the PR's `headRefName` in Step 1b, and two pre-flight gates are skipped (see Pre-flight). Absent → `$TARGET_GIVEN = false` and behavior is unchanged.
- `--pr <N>` — disambiguate when the branch has more than one PR.
- `--strategy <squash|merge|rebase>` — defaul