بنقرة واحدة
merge
Rebase a PR onto master, merge it, and clean up branches/worktrees
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Rebase a PR onto master, merge it, and clean up branches/worktrees
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Implement a GitHub issue in an isolated worktree, commit, push, and create a PR
Review open PRs and address feedback from tkadauke
Scan GitHub issues and create PRs or comment with questions
استنادا إلى تصنيف SOC المهني
| name | merge |
| description | Rebase a PR onto master, merge it, and clean up branches/worktrees |
| disable-model-invocation | true |
| argument-hint | <PR number> |
| allowed-tools | ["Read","Edit","Grep","Glob","Bash","Skill"] |
Merge PR #$ARGUMENTS into master with full cleanup.
export GH_TOKEN=$(~/.github/gh-token.sh)
gh pr view NUMBER --repo tkadauke/tiny_ci --json headRefName,state,title
Abort if not open.
git worktree list
git worktree remove --force PATH
git fetch origin master
git checkout BRANCH
git rebase origin/master
Resolve conflicts following CLAUDE.md if needed.
bundle install --quiet
bundle exec rails zeitwerk:check
bundle exec rails test
Both must be clean. zeitwerk:check catches load-order issues across
the autoloaded tree; the test suite catches behaviour regressions. As
of 2026-04-27 the suite has ~210 runs and ~17 expected skips — see
test/disabled/README.md for which subsystems are still parked. Fix any
breakage, git add -A && git commit, repeat until clean.
To bypass the rbenv shim's permission-prompt loop, invoke through the absolute path of the versioned binary:
/Users/tkadauke/.rbenv/versions/3.2.3/bin/bundle exec rails test
git push --force-with-lease origin BRANCH
gh pr merge NUMBER --repo tkadauke/tiny_ci --merge --delete-branch
gh issue close ISSUE_NUMBER --repo tkadauke/tiny_ci
Issue number = digits after fix/issue- in branch name.
Remove the merged PR from .trackers/pr-tracker.json (delete its entry from
the "prs" object). Save the file.
git checkout master
git pull
git branch -D BRANCH
zeitwerk:check AND the test suite before pushing