Skip to content

chore(ai): add PR labels, CI checks and bot comments rules to AGENTS.md (AI-assisted) - #12661

Merged
slorber merged 1 commit into
mainfrom
slorber/agents-pr-ci-rules
Oct 15, 2026
Merged

slorber merged 1 commit into
mainfrom
slorber/agents-pr-ci-rules

Conversation

@slorber

@slorber slorber commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Add rules to AGENTS.md for things agents currently get wrong when handling PRs as maintainers:

  • Add exactly one pr: <type> label, using pr: ignore for changes that don't belong in the changelog.
  • Add the Argos label when a PR can affect visual rendering.
  • Wait for CI with a single blocking gh pr checks --watch --fail-fast command instead of polling.
  • Don't report routine bot comments (Lighthouse, Netlify, Socket Security, build size reports) unless they show a problem.
  • Ignore the known canary supply chain failure caused by non-atomic npm publishing (ERR_PNPM_NO_MATCHING_VERSION on a @docusaurus/* canary), but block the merge on any other failure of that job.

(AI-assisted)

Test Plan

Docs-only change for agents.

Test links

Deploy preview: https://deploy-preview-12661--docusaurus-2.netlify.app/

Related issues/PRs

A stacked PR restructures these rules into a skill, following the progressive disclosure pattern.

🤖 Generated with Claude Code

@slorber
slorber requested a review from Josh-Cena as a code owner October 15, 2026 20:10
@slorber slorber added the pr: ignore This PR is not meaningful enough to appear in the changelog. label Oct 15, 2026
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Oct 15, 2026
@netlify

netlify Bot commented Oct 15, 2026

Copy link
Copy Markdown

✅ [V2]

Name Link
🔨 Latest commit 9469ea2
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6ad133331e8bece3f655aeb0
😎 Deploy Preview https://deploy-preview-12661--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 51 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🔴 49 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 73 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 70 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 68 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 71 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 71 🟢 100 🟢 100 🟠 86 Report

@slorber
slorber merged commit 09f4b9d into main Oct 15, 2026
19 of 21 checks passed
@slorber
slorber deleted the slorber/agents-pr-ci-rules branch October 15, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: ignore This PR is not meaningful enough to appear in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant