← ClaudeAtlas

ops-mergelisted

Autonomous salvage + PR merge pipeline. FIRST scans every repo in every org for orphan worktrees, feature branches without PRs, uncommitted/staged/stashed work, and unpushed commits — dispatches subagents to finish/PR all loose local work. THEN scans all open PRs, dispatches fixers for CI/conflicts/reviews, and merges. Use --main to also sync dev↔main branches. Use --no-salvage to skip Phase 0 (PR-only mode). Use --salvage-only to stop after Phase 0.
Lifecycle-Innovations-Limited/claude-ops · ★ 17 · AI & Automation · score 86
Install: claude install-skill Lifecycle-Innovations-Limited/claude-ops
## Runtime Context Before executing, load: 1. **Preferences**: `cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json` — read `owner`, `timezone`, project registry 2. **Daemon health**: `cat ${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json` — if `action_needed` set, surface to user 3. **Secrets**: GitHub token: env `$GITHUB_TOKEN` → Doppler MCP (`mcp__doppler__*`) → `doppler secrets get GITHUB_TOKEN --plain` → password manager # OPS ► MERGE ## CLI/API Reference ### gh CLI (GitHub) | Command | Usage | Output | |---------|-------|--------| | `gh pr list --repo <owner/repo> --json number,title,state,headRefName,statusCheckRollup,reviewDecision,mergeable,isDraft` | List PRs with status | JSON array | | `gh pr view <n> --repo <repo> --json title,body,state,mergeable,reviews` | PR details | JSON | | `gh pr checks <n> --repo <repo>` | CI check status | Check list | | `gh pr merge <n> --repo <repo> --squash --admin` | Squash merge PR | Merge result | | `gh pr create --repo <repo> --title "<t>" --body "<b>" --base dev` | Create PR | PR URL | | `gh run list --repo <repo> --limit 5 --json conclusion,name,headBranch` | CI runs | JSON array | | `gh run view <id> --repo <repo> --log-failed` | Failed CI logs | Log output | | `gh run watch <run-id> --repo <repo>` | Stream CI run | Live output (use with Monitor) | | `gh api repos/<repo>/pulls/<n>/comments --jq '.[].body'` | PR review comments | Comment text | --- ## Agent Teams support If `CLAUDE_