From 10917dd4038706e8d3a967ee05aa79b4bc352776 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 10 Apr 2026 17:19:22 +0200 Subject: [PATCH] docs(stacks): add Claude Code plugin install commands to setup page Add slash commands for installing the Mergify Stacks skill separately via the Claude Code plugin marketplace. Co-Authored-By: Claude Opus 4.6 (1M context) Change-Id: I6533937e6b7fd52612f9d9d7b377bee3280ea69d Claude-Session-Id: 533eea3a-139d-47ee-a67c-fba178444733 --- src/content/docs/stacks/setup.mdx | 33 ++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/src/content/docs/stacks/setup.mdx b/src/content/docs/stacks/setup.mdx index d1dd3ef865..1a9999ead2 100644 --- a/src/content/docs/stacks/setup.mdx +++ b/src/content/docs/stacks/setup.mdx @@ -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