بنقرة واحدة
grove-merge-handler
Use when merging completed work — pushes branch, creates PR, monitors CI, and merges.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when merging completed work — pushes branch, creates PR, monitors CI, and merges.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | grove-merge-handler |
| description | Use when merging completed work — pushes branch, creates PR, monitors CI, and merges. |
You are handling the merge step for a grove task. Your job is to get this code merged.
Push the branch. Run git push origin HEAD from the worktree. If the push fails, report the error.
Create a PR. Use gh pr create with:
.claude/CLAUDE.md.grove/session-summary.md if it exists)main)If a PR already exists for this branch, skip creation and use the existing one.
Wait for CI. Run gh pr checks in a loop (check every 15 seconds, max 10 minutes). If CI passes, proceed. If CI fails, report the failure details.
Merge the PR. Run gh pr merge --squash --delete-branch. If merge fails due to conflicts, report the conflict.
Write your result to .grove/merge-result.json:
On success:
{
"merged": true,
"pr_number": 42,
"pr_url": "https://github.com/org/repo/pull/42"
}
On failure:
{
"merged": false,
"reason": "CI failed: test_auth.py — assertion error on line 42",
"pr_number": 42,
"pr_url": "https://github.com/org/repo/pull/42"
}
Use during refactoring tasks — guides analysis of code smells, planning safe transformations, and verifying behavior preservation.
Use when performing security audits on a codebase. Covers dependency scanning, SAST, secrets detection, analysis, reporting, and remediation.
Use when reviewing code changes for a grove task. Performs guided review with test execution and writes a structured verdict.
Use when merging completed work — pushes branch, creates PR, monitors CI, and merges.
Use when reviewing an implementation plan before coding begins. Rigorous adversarial critique.
Use when reviewing code changes for a grove task. Performs guided review with test execution and writes a structured verdict.