Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ mergify --token your_token_here <command>
|---|---|---|
| `mergify stack` | Create and manage stacked pull requests | [Stacks](/stacks) |
| `mergify freeze` | Schedule and manage merge freezes | [Scheduling Freezes](/merge-protections/freeze) |
| `mergify queue` | Monitor merge queue status | [Monitoring](/merge-queue/monitoring) |
| `mergify queue` | Monitor and control merge queue | [Monitoring](/merge-queue/monitoring) |
| `mergify config` | Validate and simulate config | [Config](/configuration/file-format#validating-with-the-cli) |
| `mergify ci` | Upload and analyze CI results | [CI Insights](/ci-insights) |
14 changes: 14 additions & 0 deletions src/content/docs/merge-queue/pause.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ the queue.

<Image alt="Pause button is in the top right corner in Mergify's dashboard" src={screenshotButtonPause} />

### Using the CLI

Pause the queue from the terminal with an optional reason:

```bash
mergify queue pause --reason "deploying hotfix"
```

Resume when ready:

```bash
mergify queue unpause
```

### Using the API

You can also pause the merge queue programmatically using the [Mergify
Expand Down
33 changes: 30 additions & 3 deletions src/content/docs/stacks/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,36 @@ This installs:
- A `pre-push` hook that warns you if you accidentally use `git push` instead
of `mergify stack push`.

- A [Claude Code](https://claude.ai/code) skill that teaches the AI
coding agent how to work with Mergify Stacks, so it automatically uses
`mergify stack push` instead of `git push`.
## AI Agent Skills

Mergify CLI provides AI skills that teach coding agents how to work with
Stacks — so they automatically use `mergify stack push` instead of `git push`,
amend commits instead of creating fixup commits, and follow stack conventions.

### Install via npx (all agents)

This works with [Claude Code](https://claude.ai/code),
[Cursor](https://cursor.sh), and
[many other AI agents](https://skills.sh):

```bash
npx skills add Mergifyio/mergify-cli
```

### Install as a Claude Code plugin

From the official marketplace:

```text
/plugin install mergify@claude-plugins-official
```

Or from the repository:

```text
/plugin marketplace add Mergifyio/mergify-cli
/plugin install mergify
```

## Verify It Works

Expand Down