Skip to content
Back to skills

Sp Post Merge

ASecurity

Orchestrator mode — after merging an agent PR, dispatch the post-merge cleanup: label transitions, tracking-doc updates, follow-up issues, branch cleanup.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 20, 2026
ai-agentsbash

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add jnurre64/sandbox-pal-action --skill sp-post-merge --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sp Post Merge?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sp Post Merge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jnurre64-sp-post-merge/badge)](https://www.skillsdirectory.com/skills/jnurre64-sp-post-merge)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sp-post-merge
description: Orchestrator mode — after merging an agent PR, dispatch the post-merge cleanup: label transitions, tracking-doc updates, follow-up issues, branch cleanup.
user-invocable: true
argument-hint: "<pr-number>"
---

# sp-post-merge: Dispatch Post-Merge Cleanup

Run after you merge an agent PR. The pipeline transitions the linked issues to `agent:done`, does tracking-doc work, files follow-up issues from the session's structured output, and cleans up.

> Never do the cleanup yourself in this session — the pipeline owns it. Your job is dispatch, notify, report.

## Run

- Script: `.sandbox-pal-dispatch/scripts/sandbox-pal-dispatch.sh` if it exists, else `scripts/sandbox-pal-dispatch.sh`.
- Repo: `gh repo view --json nameWithOwner -q .nameWithOwner`.

```bash
AGENT_EXECUTION_MODE=orchestrator <script> post_merge <owner/repo> <pr-number>
```

## Parse the final stdout line (compact JSON)

- `success` / `agent:done` — report the linked issues marked done, doc commits made, and any follow-up issues filed (they are named in the notify line and on the PR).
- `error` — the PR or issue has the failure detail; quote it.

Then name the next issue worth working, if the operator asks: open issues labeled `agent:plan-approved` first, then `agent:plan-review`, then unlabeled candidates.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.