/miranda:oh-joinfrom miranda
Merges multiple dependency PRs into a common base branch and updates issue dependencies for scheduler compatibility.
Ships in miranda. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when an issue has 2+ open dependencies and scheduler cannot auto-stack because there is no single base branch.
/oh-join <issue-number>
<issue-number>: target GitHub issue (for example 1178 or #1178)For target issue #X:
Depends on: dependenciesLoad issue and dependencies
gh issue view <issue-number> --json number,title,body,state,url
Depends on: lines.blocked (not a join case).Discover open PRs for dependency issues
gh pr list --state open --json number,title,headRefName,baseRefName,body,url
issue/<N> or issue-<N>Closes #N / Fixes #N / Resolves #Nblocked and list missing deps.Determine common base branch
baseRefName across dependency PRs.blocked and report conflicting bases.Readiness checks for each dependency PR For each dep PR:
gh pr checks <pr-number> --fail-on-error
gh pr view <pr-number> --json reviewDecision,isDraft,mergeable
CHANGES_REQUESTED
If any fail: stop with blocked and report specific PR reasons.Merge dependency PRs in deterministic order and close their issues
(issue #D, PR #P) in order:
gh pr merge <pr-number> --squash
gh issue close <dep-issue-number> --comment "Closed via oh-join after merging PR #<pr-number> into <base-branch>."
Closes #N.signal_completion(status: "error", error: "...")Update target issue dependencies
Depends on: to one explicit scheduler-readable base dependency.issue/<B> or issue-<B>; then set: **Depends on:** #<B>main/master), stop with blocked and do NOT rewrite dependencies to none.~~#N~~) form — remove them completely.<!-- oh-join -->
Joined deps: #A (PR #PA), #B (PR #PB)
Base branch: <branch>
Updated: <ISO timestamp>
gh issue edit <issue-number> --body-file <temp-file>
Completion signaling
signal_completion(status: "success", message: "Merged dep PRs #... into <base>; updated issue #<issue-number> dependencies")
signal_completion(status: "blocked", blocker: "<reason>")
signal_completion(status: "error", error: "<reason>")
Depends on: #<base-issue> when base is an issue branch.You MUST call signal_completion as your final action.
If the tool is unavailable, end with one line:
COMPLETION: status=success message=<...>COMPLETION: status=blocked blocker=<...>COMPLETION: status=error error=<...>What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
9 skills in this plugin
/jira-planCreate Jira subtasks from task descriptions or session context. Investigates when needed, skips when context exists./oh-ciDiagnose and fix CI failures on a PR, push fixes/oh-conflictResolve merge conflicts on a PR by merging base into head/oh-mergeReview and merge open PRs for GitHub issues as a cohesive batch/oh-notesAddress PR comments for GitHub issue PRs, resolve feedback, push fixes/oh-planCreate GitHub issues from task descriptions or session context. When Problem Weave is present, plan only selected S&T steps and preserve their lineage.npx claudepluginhub open-horizon-labs/miranda --plugin miranda2 plugins ship this exact skill · first indexed Aug 17, 2026