Post-Merge Watchdog

Automate post-merge branch cleanup, inventory refreshes, and regression checks.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/jimmymalhan/codereview-pilot --skill post-merge-watchdog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Post-Merge Watchdog
Source: https://github.com/jimmymalhan/codereview-pilot/tree/main/.claude/skills/post-merge-watchdog
Command: npx skills add https://github.com/jimmymalhan/codereview-pilot --skill post-merge-watchdog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates essential tasks after a pull request is merged, ensuring a clean repository state and verifying the integrity of the codebase.

Core Features & Use Cases

  • Branch Cleanup: Automatically deletes merged local and remote branches.
  • Inventory Refresh: Updates lists of open PRs and active branches.
  • Verification: Runs tests to check for regressions and updates project milestones/roadmaps.
  • Use Case: After merging a new feature, this Skill ensures the development branch is removed, the project's progress is accurately reflected, and no new bugs were introduced.

Quick Start

Run the post-merge watchdog skill with the details of the recently merged PR.

Frequently Asked Questions about Post-Merge Watchdog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate branch cleanup after merging a pull request?

Automate branch cleanup after merging a pull request by using a post-merge watchdog script to automatically delete merged local and remote branches, ensuring a clean repository state without manual git commands.

What is the best way to run regression checks after a GitHub pull request merge?

Run regression checks after a GitHub pull request merge by triggering automated npm test suites through GitHub Actions, verifying that newly merged code has not introduced bugs into the main branch.

Do I need Git and GitHub CLI to automate post-merge repository tasks?

Yes, you need Git and GitHub CLI to automate post-merge repository tasks like branch cleanup and inventory refreshes, because these tools provide the required repository operations and remote branch management capabilities.

Can I automatically update project milestones and roadmaps after a code merge?

You can automatically update project milestones and roadmaps after a code merge by executing a post-merge verification script that refreshes open PR inventories and reflects project progress accurately.

What steps are required to transition a merged PR to a clean main branch state?

Transitioning a merged PR to a clean main branch state requires deleting development branches, refreshing active branch inventories, and running automated regression tests to verify the integrity of the codebase.

Why does my main branch have stale local branches after a pull request merge?

Your main branch has stale local branches after a pull request merge because automated post-merge cleanup was not configured to delete merged branches locally and remotely, leaving development artifacts in your repository.