# mergify

Operates Mergify merge queues, manages stacked pull requests, and validates configuration files directly from Claude Code.

- plugin · `type=plugin` · Claude Code · ★ 32
- Author: Mergify
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Mergifyio/mergify-cli
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/plugins/mergify

## What it does

This plugin links Claude Code with the `mergify` command-line binary. The assistant can split local commit series into individual pull requests using `mergify stack push` and sync stacked branches against trunk.

The integration inspects merge queue status, triggers test reporting pipelines, and verifies `.mergify.yml` files against the schema. Authentication relies on `mergify auth login` or a defined `MERGIFY_TOKEN` variable.

Stack commands talk directly to GitHub endpoints. Missing GitHub credentials will cause stack synchronization to fail, even with a valid Mergify session.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin install mergify@claude-plugins-official
```
In the agent chat (not a shell):
```text
/plugin marketplace add anthropics/claude-plugins-community
```
In the agent chat (not a shell):
```text
/plugin install mergify@claude-community
```
In the agent chat (not a shell):
```text
/plugin marketplace add anthropics/claude-plugins-official
```

## When to use it
- turn local commits into stacked pull requests
- inspect repository merge queue progress
- validate `.mergify.yml` files against the schema
- submit JUnit test reports from CI environments

## Example prompts
- Check the repository merge queue state using `mergify queue status`
- Push local commits as a pull request stack with `mergify stack push`
- Validate our `.mergify.yml` configuration file

## Similar
- [plate](https://affpapa.org/en/nevibecode/skills/plate.md) — skill · 495 installs
- [resolve-backport-conflicts](https://affpapa.org/en/nevibecode/skills/resolve-backport-conflicts.md) — skill · 447 installs
- [verify-and-ship](https://affpapa.org/en/nevibecode/skills/verify-and-ship.md) — skill · 843 installs
- [detailed-pr-description](https://affpapa.org/en/nevibecode/skills/detailed-pr-description.md) — skill · 800 installs
- [work-with-pr](https://affpapa.org/en/nevibecode/skills/work-with-pr.md) — skill · 763 installs
- [gh-issues](https://affpapa.org/en/nevibecode/skills/gh-issues.md) — skill · 5000 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
