Create a draft PR linked to one or more GitHub issues. Accepts issue numbers (#123) or full URLs as arguments. If no arguments provided, infers the issue we've been working on from the session context or .claude/context.md, then confirms it.
Merge the latest origin/main into the current branch, resolve any conflicts, and verify the merged state. If the branch is stacked on another branch, syncs the whole stack from main upwards. Pass "push" to push the branches afterwards. Use when a branch has…
Push the current branch and return a GitHub compare link against the base branch (which may differ from main) so the user can review the diff before opening a PR. If currently on main, cut a new branch first. Pre-step to /draft-pr.
Debug and fix flaky RSpec tests. Accepts a spec file path with line number (e.g. spec/models/foo_spec.rb:42), a full test error report pasted inline, or a GitHub PR URL. Diagnoses the root cause, applies a fix, commits, and verifies stability by running the…