Skip to content

feat(docs): tell agents what Mergify is for in llms.txt - #12597

Open
jd wants to merge 1 commit into
devs/jd/agentic-readiness/serve-markdown-clients-ask--52f9d2a1from
devs/jd/agentic-readiness/tell-agents-what-mergify-llms-txt--03f7b473
Open

feat(docs): tell agents what Mergify is for in llms.txt#12597
jd wants to merge 1 commit into
devs/jd/agentic-readiness/serve-markdown-clients-ask--52f9d2a1from
devs/jd/agentic-readiness/tell-agents-what-mergify-llms-txt--03f7b473

Conversation

@jd

@jd jd commented Aug 28, 2026

Copy link
Copy Markdown
Member

llms.txt was a page index and nothing else: an agent could see every URL we
publish and still not know whether Mergify was the right tool for the task in
front of it, or how to call it.

Add two sections above the index.

"When to use Mergify" names the jobs concretely — keeping main green, merging
at volume without the CI bill, diagnosing CI, flaky tests, merge requirements
GitHub cannot express, stacked PRs — and, just as usefully, says what is out of
scope. GitHub only, no other code host; GitLab appears solely as a source of CI
results. That one line saves an agent from planning an integration that does
not exist, which is worth more than another paragraph of capabilities.

"For agents" points at the machine-readable surfaces: the .md twin of every
page and the Accept: text/markdown equivalent, the OpenAPI document with its
base URL and auth scheme, the sitemap, the .mergify.yml JSON Schema, and how
to install the CLI. That last one because naming a CLI without an install path
leaves an agent exactly where it started; the paths are the Homebrew tap, the
install script and the Windows release zip, per /cli/usage.

Depends-On: #12596

@jd

jd commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 fix(seo): restore the homepage OpenGraph image #12593
2 fix(a11y): stop docset grids skipping a heading level #12594
3 feat(docs): publish the API description where machines look for it #12595
4 feat(docs): serve Markdown to clients that ask for it #12596
5 feat(docs): tell agents what Mergify is for in llms.txt #12597 👈
6 feat(seo): describe the site with schema.org JSON-LD #12598
7 feat(docs): point a lost agent somewhere useful from the 404 #12599

@mergify

mergify Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🔴 3 of 7 protections blocking · waiting on 👀 reviews and ⛓️ dependency

Protection Waiting on
🔴 ⛓️ Depends-On Requirements ⛓️ dependency
🔴 👀 Review Requirements 👀 reviews
🔴 🔎 Reviews 👀 reviews
🟢 🤖 Continuous Integration
🟢 Enforce conventional commit
🟢 📕 PR description
🟢 🚦 Auto-queue

🔴 ⛓️ Depends-On Requirements

Waiting for

This rule is failing.

Requirement based on the presence of Depends-On in the body of the pull request

🔴 👀 Review Requirements

Waiting for

  • #approved-reviews-by >= 2
This rule is failing.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = renovate[bot]
    • all of:
      • author = mergify-ci-bot
      • -head ~= ^docs-agent/

🔴 🔎 Reviews

Waiting for

  • #review-requested = 0
This rule is failing.
  • #review-requested = 0
  • #changes-requested-reviews-by = 0
  • #review-threads-unresolved = 0

Show 4 satisfied protections

🟢 🤖 Continuous Integration

  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|internal|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?!?:

🟢 📕 PR description

  • body ~= (?ms:.{48,})

🟢 🚦 Auto-queue

When all merge protections are satisfied, this pull request will be queued automatically.

@mergify
mergify Bot requested a review from a team August 28, 2026 13:29
Copilot AI lite review requested due to automatic review settings August 28, 2026 13:33
@jd
jd force-pushed the devs/jd/agentic-readiness/tell-agents-what-mergify-llms-txt--03f7b473 branch from e7b612f to f0b222b Compare August 28, 2026 13:33
@jd

jd commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

Revision history

# Type Changes Reason Date
1 initial e7b612f 2026-08-28 13:33 UTC
2 rebase e7b612f → f0b222b (rebase only) 2026-08-28 13:33 UTC
3 content f0b222b → 8e8ca33 Reword the Markdown claim: /api and /cli have no .md twin 2026-08-28 14:37 UTC
4 content 8e8ca33 → fbf4750 Add the CLI install path to the For agents section. The earlier suggestion to link PyPI was wrong (Julien: not published there any more); the real paths are the Homebrew tap, the install script and t… 2026-08-28 15:09 UTC

@mergify
mergify Bot had a problem deploying to Mergify Merge Protections August 28, 2026 13:34 Failure

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enriches the generated llms.txt endpoint so an agent can quickly decide whether Mergify is relevant to a task and, if so, how to consume the docs and API in machine-friendly ways.

Changes:

  • Adds a “When to use Mergify” section describing concrete use-cases and explicitly stating out-of-scope constraints (GitHub-only).
  • Adds a “For agents” section pointing to machine-readable surfaces (Markdown variants, OpenAPI, sitemap, and .mergify.yml JSON Schema).
  • Inserts these sections ahead of the existing auto-generated navigation-based page index.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@jd
jd marked this pull request as ready for review August 28, 2026 14:08
@jd
jd force-pushed the devs/jd/agentic-readiness/tell-agents-what-mergify-llms-txt--03f7b473 branch from f0b222b to 8e8ca33 Compare August 28, 2026 14:37
@mergify
mergify Bot had a problem deploying to Mergify Merge Protections August 28, 2026 14:37 Failure
`llms.txt` was a page index and nothing else: an agent could see every URL we
publish and still not know whether Mergify was the right tool for the task in
front of it, or how to call it.

Add two sections above the index.

"When to use Mergify" names the jobs concretely — keeping main green, merging
at volume without the CI bill, diagnosing CI, flaky tests, merge requirements
GitHub cannot express, stacked PRs — and, just as usefully, says what is out of
scope. GitHub only, no other code host; GitLab appears solely as a source of CI
results. That one line saves an agent from planning an integration that does
not exist, which is worth more than another paragraph of capabilities.

"For agents" points at the machine-readable surfaces: the `.md` twin of every
page and the `Accept: text/markdown` equivalent, the OpenAPI document with its
base URL and auth scheme, the sitemap, the `.mergify.yml` JSON Schema, and how
to install the CLI. That last one because naming a CLI without an install path
leaves an agent exactly where it started; the paths are the Homebrew tap, the
install script and the Windows release zip, per /cli/usage.

Change-Id: I03f7b473ced0969e850d78b48758e1849535062f
@jd
jd force-pushed the devs/jd/agentic-readiness/tell-agents-what-mergify-llms-txt--03f7b473 branch from 8e8ca33 to fbf4750 Compare August 28, 2026 15:09
@mergify
mergify Bot had a problem deploying to Mergify Merge Protections August 28, 2026 15:09 Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants