ship-it
Run the sibling checkout-commit-push-pr and soft-delete-git skills in sequence, merge the resulting green pull request, and safely remove the merged local branch. Use when the user says "ship it" or asks to commit, push, open, validate, merge, and clean up a pull request as one autonomous end-to-end workflow.
How do I install this agent skill?
npx skills add https://github.com/rubenflamshepherd/ruben-agent-skills --skill ship-itIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a workflow coordinator for Git and GitHub operations. It automates committing, pushing, merging pull requests, and cleaning up branches by orchestrating existing local skills. It includes explicit security constraints such as prohibiting administrative bypasses and respecting branch protection rules.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Ship It
Coordinate the two sibling skills without replacing or weakening either skill's instructions.
Workflow
-
Resolve these paths relative to this skill's directory:
../checkout-commit-push-pr/SKILL.md../soft-delete-git/SKILL.md
Stop and report the missing dependency if either file is unavailable.
-
Record the current branch name and, when
git rev-parse --git-common-dirdoes not print.git, the linked worktree path fromgit rev-parse --show-toplevel, so the same branch and worktree can be cleaned up later. -
Read
../checkout-commit-push-pr/SKILL.mdcompletely and follow it through PR creation and CI monitoring. Preserve all of its safety checks and stop conditions. Capture the resulting PR URL or number. -
Treat the
ship-itinvocation as authorization to merge only the PR created by this run. After every required check passes, merge it withgh pr merge:- Follow a merge strategy required by repository guidance when one is documented.
- Otherwise prefer
--merge, because retaining branch ancestry allows the subsequent safe delete to usegit branch -d. - If merge commits are explicitly disabled, fall back to an allowed strategy, preferring
--squashand then--rebase. Do not change strategy merely because the PR has conflicts, lacks approval, or is blocked by policy. - Do not pass
--delete-branch; leave local branch cleanup tosoft-delete-git. - Never use
--adminor bypass branch protection. Surface any review, conflict, permission, or policy blocker.
-
Verify the merge rather than trusting the merge command's exit status:
gh pr view <PR-NUMBER> --json state,mergedAt,urlIf the repository uses a merge queue, monitor until the PR reports
MERGED. Do not begin branch cleanup while it remains open. -
Once the exact PR reports
MERGED, read../soft-delete-git/SKILL.mdcompletely and follow it for the branch recorded in step 2. When step 2 recorded a linked worktree, the child skill removes that worktree as well; before invoking it, perform any worktree teardown the repository's own instructions require, such as stopping a local preview and removing its data volumes. Preserve the child skill's dirty-worktree and merged-PR verification safeguards. For a verified squash or rebase merge, treat the originalship-itrequest as advance confirmation for the child skill'sgit branch -Dexception, but only for that recorded branch and exact merged PR. Never force-delete an unmerged or different branch. -
Finish by reporting the PR URL, CI result, merge result, and whether the local branch and its worktree were deleted.
If either child skill stops or fails, stop the sequence at that point and surface its exact blocker. Do not skip ahead or duplicate the child skill's procedure from memory.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/rubenflamshepherd/ruben-agent-skills/ship-it">View ship-it on skillZs</a>