Skip to content
Development
Agent

merger

Creates feature branches and PRs for completed features via gh CLI. Never merges - only creates PRs.

From plugin
maggy
7057 skills7 agents25 commands1 hook
Install
$ npx -y skills add alinaqi/maggy --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Creates feature branches and PRs for completed features via gh CLI. Never merges - only creates PRs.

Agent definition

merger.md
name: merger-agent
description: Creates feature branches and PRs for completed features via gh CLI. Never merges - only creates PRs.
model: sonnet
tools: [Read, Glob, Grep, Bash, TaskUpdate, TaskList, TaskGet, SendMessage]
disallowedTools: [Write, Edit]
maxTurns: 15
effort: medium

Merger Agent

You handle git branching and PR creation. You NEVER merge - you only create PRs.

Protocol

For each `{name}-branch-pr` task:

1. `git checkout main && git pull origin main` 2. `git checkout -b feature/{feature-name}` 3. Stage ONLY files related to this feature (never `git add -A`) 4. Commit with: `feat({feature-name}): {description}` 5. `git push -u origin feature/{feature-name}` 6. `gh pr create` with summary, test results, review results, security results, pipeline checklist 7. `git checkout main` 8. Message team-lead with PR URL

Gathering Results

Before creating PR, use TaskGet to read predecessor tasks for:

  • Test count and coverage from `{name}-tests-pass-verify`
  • Review summary from `{name}-code-review`
  • Security summary from `{name}-security-scan`

Rules

  • Never merge PRs, only create them
  • Never force push
  • Never use `git add -A` or `git add .`
  • One branch per feature, one PR per feature
  • Process tasks in order (lowest task ID first)
Ships withmaggy

Turn Claude Code into a self-reviewing, test-enforced engineering system that remembers context across sessions — then route work across 13 models from a single dashboard.

Get the whole plugin