mergepack
Turn pull request diffs into agent-ready merge packets for code review.
- ai-engineering
- coding-agents
- code-review
- developer-tools
- devex
- github-actions
- pull-requests
- codex
- claude-code
- copilot
Turn a pull request diff into an agent-ready merge packet.
I built mergepack: a no-key CLI + GitHub Action that turns a PR diff into a review packet for humans and coding agents.
It includes changed-file roles, repo instructions, likely commands, risk areas, a checklist, and a prompt you can paste into Codex/Claude/Copilot.
I built mergepack, a local-first developer tool for PR handoffs.
Instead of asking a coding agent to inspect a raw diff, mergepack creates a deterministic merge packet: changed files, repo instructions, verification commands, risk areas, checklist, and an agent-ready prompt.
It ships as a CLI, GitHub Action, HTML report, and Agent Skills for Codex, Claude Code, and Copilot-compatible workflows.
Show HN: mergepack - turn PR diffs into agent-ready review packets
I built mergepack, a small local-first CLI/GitHub Action for PR review handoffs.
It does not call an LLM. It reads a local git diff, diff file, or GitHub PR via gh, then emits Markdown/JSON/HTML with changed-file roles, repo instructions, likely verification commands, risks, a checklist, and a prompt for coding agents.
The goal is to make PR-to-agent handoffs less ad hoc.
- Generate
MERGEPACK.mdfrom a local PR branch. - Open the HTML report and see source/test/CI files grouped by role.
- Copy the agent-ready prompt into Codex or Claude Code.
- Upload
MERGEPACK.mdas a GitHub Actions artifact. - Use the Codex/Claude/Copilot skills before PR repair work.
- Add config support for custom command detection.
- Add fixtures for Go, Rust, and Node monorepo PRs.
- Add a
--changed-filesinput mode for CI systems without full git history.
- Add SARIF or GitHub annotation output for risk areas.
- Add optional comment mode guarded by an explicit opt-in flag.
- Add package-aware monorepo grouping for npm workspaces, Python packages, and Cargo workspaces.
mergepack v0.1.0 - PR-to-agent merge packets
Keep the project focused on deterministic PR context packaging. Avoid becoming an AI review bot or broad repo scanner.