Skip to content

Add Copilot repository instructions#3238

Merged
anegg0 merged 1 commit intomasterfrom
dl/copilot-instructions
Apr 24, 2026
Merged

Add Copilot repository instructions#3238
anegg0 merged 1 commit intomasterfrom
dl/copilot-instructions

Conversation

@douglance
Copy link
Copy Markdown
Contributor

Description

Adds .github/copilot-instructions.md so GitHub Copilot (cloud agent, code review, and IDE) has repo-specific context. Without it, Copilot guesses at our conventions and reviewers end up correcting the same issues on every PR.

The file encodes what the existing PR_REVIEW_RUBRIC (derived from 6,852 review comments across 1,181 PRs) flags most often:

  • Ordered build / format / typecheck / lint commands matching build.yml, main.yml, and test.yml.
  • Pre-commit hook behavior, Node 22.x pin, docs/sdk/** is auto-generated.
  • Content-tree map of docs/ and the standard + glossary frontmatter shapes.
  • House-style rules: sentence-case, descriptive link text, ::: admonitions (not > [!NOTE]), parent chain / child chain over L1 / L2, Orbit vs. Arbitrum chain distinction, actor distinctions.
  • The four-step checklist when moving or renaming a page (sidebars.js, vercel.json, internal links, i18n/ mirrors).

Document type

  • Codebase changes

Checklist

  • Passes yarn prettier --check
  • Passes yarn markdownlint
  • No content changes under docs/
  • No sidebar, redirect, or navigation impact

Additional notes

Kept under ~2 pages per GitHub's guidance for Copilot instructions files. The "trust these instructions" closer tells Copilot not to re-explore the repo unless something here is wrong or missing.

Adds .github/copilot-instructions.md with build/validate commands,
project layout, house-style rules, and the rename/move checklist so
Copilot (cloud agent, code review, and IDE) produces changes that
match what this repo expects and CI enforces.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arbitrum-docs Ready Ready Preview Apr 24, 2026 6:35pm

Request Review

@anegg0 anegg0 merged commit 186e261 into master Apr 24, 2026
6 checks passed
@anegg0 anegg0 deleted the dl/copilot-instructions branch April 24, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants