Skip to content

Add reviewer dimension: Implementation–Documentation Alignment#13834

Open
Copilot wants to merge 1 commit into
mainfrom
copilot/add-reviewer-skills-implementation-alignment
Open

Add reviewer dimension: Implementation–Documentation Alignment#13834
Copilot wants to merge 1 commit into
mainfrom
copilot/add-reviewer-skills-implementation-alignment

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 21, 2026

Context

The expert reviewer's 24-dimension methodology had no dimension explicitly checking that code changes ship with the corresponding doc updates in the same PR. Existing dimension #18 (Documentation Accuracy) covers general doc quality (XML comments, spec completeness, learn.microsoft.com URLs) but doesn't target alignment — the case where a behavior change lands without updating the wiki/spec/XML-doc/sample that describes the old behavior.

Changes Made

  • New dimension Make MSBuild Unix aware. #25 "Implementation–Documentation Alignment" in .github/agents/expert-reviewer.agent.md (Severity: MAJOR). Rules cover: behavior changes requiring matching updates under documentation/wiki/, documentation/specs/, READMEs; XML doc comments on touched members reflecting new semantics; ChangeWave additions updating ChangeWaves.md; new/changed MSBxxxx codes synced with docs that enumerate them; public API changes synced with reference docs/samples; stale inline // returns null when X comments above edited code; full sweep when renames or defaults change so half-updated docs aren't left behind.
  • Count bumps from 24 → 25: agent frontmatter description, intro line, Wave 1 batch math (4 batches5 batches of 6), and Wave 4 summary-table examples (22/2423/25, 24/2425/25).
  • .github/skills/reviewing-msbuild-code/SKILL.md: description and invocation line updated to the 25-dimension methodology, with "implementation/documentation alignment" added to the category list.

Testing

N/A — spec/skill text only; no code, build, or test changes.

Notes

Distinct from #18: #18 asks "is the doc well-written and accurate in isolation"; #25 asks "did this PR keep code and docs in sync". Both can fire on the same PR.

@JanProvaznik JanProvaznik marked this pull request as ready for review May 21, 2026 15:55
@JanProvaznik JanProvaznik requested a review from a team as a code owner May 21, 2026 15:55
Copilot AI review requested due to automatic review settings May 21, 2026 15:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new review dimension to the @expert-reviewer methodology to explicitly check that behavior changes and their documentation updates land together, and updates the related skill metadata to reflect the expanded 25-dimension framework.

Changes:

  • Added Dimension #25: Implementation–Documentation Alignment (Severity: MAJOR) to the expert reviewer agent methodology.
  • Updated all methodology count references/examples from 24 → 25 in the agent doc.
  • Updated the reviewing-msbuild-code skill description/invocation text to reference the 25-dimension methodology and include the new alignment dimension.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/agents/expert-reviewer.agent.md Introduces Dimension #25 and updates count/math/examples to reflect 25 total dimensions.
.github/skills/reviewing-msbuild-code/SKILL.md Updates the skill metadata and invocation line to match the 25-dimension methodology.

Comment on lines +525 to +532
1. Any change to user-observable behavior (properties, items, targets, tasks, CLI switches, error codes, environment variables, ChangeWaves) must update the matching docs in the same PR: `documentation/wiki/`, `documentation/specs/`, `documentation/*.md`, and any README in the affected folder.
2. XML doc comments (`<summary>`, `<param>`, `<returns>`, `<remarks>`) on touched public/protected members must reflect the new behavior. Update — don't just preserve — them when semantics shift.
3. When a property default, target order, or task parameter changes, search the docs tree for references to the old behavior and update every occurrence. Don't leave half-updated docs.
4. When introducing a ChangeWave, update `documentation/wiki/ChangeWaves.md` in the same PR (see Dimension 2).
5. When adding/changing an `MSBxxxx` error or warning code, update any spec or wiki page that enumerates codes or shows example output.
6. When changing public API surface, update XML docs and any API reference / sample referenced from `documentation/`.
7. Code comments that describe the algorithm must match the post-change algorithm. Stale `// returns null when X` style comments above edited code are a finding.
8. If a spec exists for the feature being changed (`documentation/specs/`), update it — don't write a new spec that contradicts the old one without retiring the old one.
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.

3 participants