Repository navigation
docs(contributing): state what a PR description must cover - #21080
Conversation
AGENTS.md said nothing about writing PRs, and the template's section comments could be satisfied without ever telling a reviewer what changed for the user or which mechanism moved. Name the same four requirements in both places: no jargon, user-facing before/after, the mechanism, and why over the alternatives.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughUpdated Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The updated guidance is consistent and does not affect runtime behavior, so the change is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Documentation-only change stating the four things every PR description must cover, in the two surfaces contributors actually read.
.github/pull_request_template.md— expands the## ELI5,## What Changed, and## Whysection comments to name plain language, the user-facing before/after, the mechanism, and why over the alternatives; the## Checklistbullet now enumerates the same four.AGENTS.md— new top-level# Writing Pull Requestssection listing the four requirements and linking to the template, so there is one copy to keep current.
Verification I did while reviewing: CLAUDE.md is a one-line @AGENTS.md import, so the new section reaches Claude as well with no stale duplicate; the nested AGENTS.md files (src/main/daemon, tests, tests/e2e) are scoped and unaffected; .github/CONTRIBUTING.md says "follow the template. In particular:", i.e. a non-exhaustive subset, so leaving it untouched does not contradict the new wording; no test or snapshot asserts the template body (src/main/github/client-create-pr.test.ts only exercises candidate path resolution), and config/scripts/pr-code-change-scope.mjs already classifies .github/pull_request_template.md as docs-only. The new AGENTS.md link resolves root-relative from the repo root.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
…21080) AGENTS.md said nothing about writing PRs, and the template's section comments could be satisfied without ever telling a reviewer what changed for the user or which mechanism moved. Name the same four requirements in both places: no jargon, user-facing before/after, the mechanism, and why over the alternatives.

ELI5
PR descriptions here vary a lot. This writes down the small set of things every PR description has to cover, in the two places people actually read:
AGENTS.mdfor agents, and the PR template's own section comments for everyone opening a PR by hand.What Changed
Before:
AGENTS.mdhad no PR-writing guidance at all, and the template gave headers with minimal hints ("Simple high-level explanation", "Describe the change clearly"). A description could answer every prompt in the template and still leave a reviewer without two things — what a user experiences differently, and which mechanism actually moved.After: both surfaces name the same four requirements. No jargon; the before and after as the user experiences it; the mechanism changed, not just the symptom; and why this approach over the alternatives considered.
Where the guidance lives is the part that matters: it went into the template's existing section comments rather than a new "how to write this PR" block, so each requirement sits inside the section that governs it and the template does not get longer.
AGENTS.mdlinks to the template instead of restating it, so there is one copy to keep current.Why
Three alternatives, and why not:
CONTRIBUTING.mdonly. It already carries PR bullets, so this looked like the natural home. Rejected because agents readAGENTS.mdand the template is what a contributor sees at the moment they are writing — guidance in a third file is the copy that goes stale.Linked Issue
No issue — requested directly. Flagging rather than inventing a number, since the template asks for one.
Visual Proof
N/A— documentation and template text only; no UI, no interaction change.Testing
Docs-only; no runtime code path is touched, so there is nothing to unit-test and no platform-specific behavior to exercise.
Verified by hand: the new
AGENTS.mdlink resolves to.github/pull_request_template.md, and the repo'scheck:readme-local-linksgate scans onlyREADME.mdplusdocs/readme/, so no existing check covers that link either way.Review
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Security, cross-platform (Linux/Windows/macOS), remote SSH, mobile, backwards compatibility, performance: no code changes, so none are affected.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred) — CI covers; no source files changed