بنقرة واحدة
merge-pr
Merges an approved PR and performs post-merge cleanup. Use after PR is approved.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Merges an approved PR and performs post-merge cleanup. Use after PR is approved.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implements a task from spec/tasks in a git worktree following TDD. Use when working on a specific task by keyword.
Analyzes ROADMAP and implements tasks in parallel using worktrees and subagents. Use when starting implementation work.
Reviews a PR from the main repository without a worktree. Use for lightweight PR review.
Cleans up completed phases in ROADMAP, moving relevant info to specs or docs.
Implements a task locally (without worktree) following TDD with IPC status reporting. Use when working on a task in an existing branch.
Creates a new task file from template. Use when adding a new task to the project.
| name | merge-pr |
| description | Merges an approved PR and performs post-merge cleanup. Use after PR is approved. |
PR $ARGUMENTS をマージし、後処理を行います。
gh pr view $ARGUMENTS --json state,reviewDecision,statusCheckRollup
gh pr merge $ARGUMENTS --squash --delete-branch
git checkout main
git pull origin main
PARENT_DIR="$(cd "$(git rev-parse --show-toplevel)/.." && pwd)"
PROJECT_NAME="$(basename "$(git rev-parse --show-toplevel)")"
WORKTREE_DIR="${PARENT_DIR}/${PROJECT_NAME}--worktrees"
# Remove worktree for the merged branch if it exists
git worktree list | grep "$WORKTREE_DIR" && git worktree prune
spec/tasks/completed/ へ移動git add spec/tasks/ROADMAP.md spec/tasks/completed/
git commit -m "docs: update roadmap and move completed task"
git push origin main