Skip to content

docs: add linter PR review guidelines - #5785

Merged
Yuchao Yan (msyyc) merged 9 commits into
mainfrom
docs/linter-review-instructions
Oct 22, 2026
Merged

Yuchao Yan (msyyc) merged 9 commits into
mainfrom
docs/linter-review-instructions

Conversation

@msyyc

@msyyc Yuchao Yan (msyyc) commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Add concise review guidance for all linter PRs to the existing .github/skills/code-review/SKILL.md:

  • Prefer supported APIs and focused changes; keep rule behavior and enablement consistent.
  • Keep tests lean and scoped to rule-owned behavior, using representative cases and distinct boundaries without redundant permutations or unrelated assertions.
  • Write author-facing documentation and minimal incorrect/correct examples; validate the published excerpts.
  • Instruct reviewing agents to check for redundant changelog entries and ensure entries describe the final changes, not revision history or intermediate review cleanup.

The guidance applies to all linter PRs. Changelog guidance is directed at reviewing agents; general entry-creation instructions are not repeated. The existing review skill is preserved, and .github/copilot-instructions.md is restored to its pre-PR content.

Review evidence

Representative feedback: test ownership, representative coverage, author-facing docs, focused examples, and changelog noise.

Validation

Formatting, final-file Prettier check, root lint, and whitespace checks passed. Unrelated formatter-only output was excluded. Verified that the existing review skill is preserved, the moved authoring-guide link resolves, and general Copilot instructions are restored to their pre-PR content. Documentation-only; no package release entry required.

Source branch: Azure/typespec-azure:docs/linter-review-instructions; target: main.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

This documentation-only change has no blocking issues; the retained feedback is a minor clarification of changelog exclusions.

No open issues 🎉

What changed in this PR

Adds TypeSpec linter implementation and review guidance based on recurring migration feedback.

Changes:

  • Clarifies rule scope, reuse, and focused regression testing.
  • Defines author-facing documentation and example validation expectations.
  • Documents changelog placement, coverage, and validation reporting.
File Description
.github/​copilot-instructions.md Adds linter implementation, testing, documentation, and changelog guidelines.

Review effort: Balanced

Yuchao Yan (msyyc) and others added 3 commits October 21, 2026 15:08
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Yuchao Yan (msyyc) and others added 4 commits October 22, 2026 10:27
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Make lean, rule-scoped test coverage explicit while preserving distinct regression coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused documentation-only addition matches the stated scope and has no identified blocking issues.

No open issues 🎉

Review effort: Balanced

@msyyc
Yuchao Yan (msyyc) added this pull request to the merge queue Oct 22, 2026
Merged via the queue into main with commit dad36fa Oct 22, 2026
31 checks passed
@msyyc
Yuchao Yan (msyyc) deleted the docs/linter-review-instructions branch October 22, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants