merged

Installation
SKILL.md

Merged

Objective

A PR/change was just merged. Move the local checkout to the merged primary branch, prove the landed state is healthy with lightweight high-signal checks, verify relevant deployment/release follow-through, clean up safe stale branch state, and recommend the next sensible slice.

Default Workflow

  1. Read repo instructions first when present (AGENTS.md, CLAUDE.md, repo README/TODO/work tracker) so post-merge verification matches the project.
  2. Inspect current git state before switching branches: git status --short --branch, git branch --show-current, and git remote -v.
  3. If unrelated uncommitted work exists, preserve it before switching only when safe. Prefer a narrow stash of conflicting files with a clear message; stop and ask only when ownership or safety is ambiguous.
  4. Resolve the primary branch from GitHub/default-branch metadata when possible; otherwise use main, then master if that is the repo default.
  5. Confirm the merge when a PR number, URL, or current branch PR is discoverable. Prefer gh pr view for state, mergedAt, mergeCommit, headRefName, baseRefName, and check/merge status.
  6. Switch to the primary branch and fast-forward only: git switch <primary> then git pull --ff-only origin <primary>.
  7. Verify the landed commit locally with lightweight project-appropriate checks: typecheck/lint/test/build/smoke commands that are already documented or obvious from package scripts, justfiles, Makefiles, or CI.
  8. Verify post-merge CI/deploy/release status when applicable. Use installed CLIs first: depot for Depot, gh for GitHub Actions/checks/releases, vercel for Vercel, wrangler for Cloudflare Workers, gcloud for GCP, or the repo's documented deploy surface.
  9. If the repo has a relevant deployed app/service, do a simple smoke check of the live or production URL. If no deploy applies, say why.
  10. Delete the old local feature branch only after the merge is confirmed and the branch is not current. Use non-destructive deletion first (git branch -d); use force deletion only if the remote PR is conclusively merged/squashed and there is no unique local work.
  11. End with a concise status summary: primary branch, pulled commit, local verification, remote/deploy verification, cleanup done/skipped, and one recommended next feature/change grounded in current repo state.
Installs
1
First Seen
Jul 16, 2026
merged — anand-testcompare/scripts-prompts-config