Skip to content

Add exception catching comment to code review skill#124201

Merged
stephentoub merged 1 commit intodotnet:mainfrom
stephentoub:skillexception
Feb 9, 2026
Merged

Add exception catching comment to code review skill#124201
stephentoub merged 1 commit intodotnet:mainfrom
stephentoub:skillexception

Conversation

@stephentoub
Copy link
Member

No description provided.

@stephentoub stephentoub requested review from Copilot and jkotas February 9, 2026 21:28
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Feb 9, 2026
Copy link
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

Updates the code review skill guidance to explicitly encourage reviewers to question newly introduced try/catch blocks that silently discard exceptions, aligning reviews toward surfacing unexpected failures instead of masking them.

Changes:

  • Adds a new guideline emphasizing skepticism of exception swallowing that could hide unexpected/root-cause failures.
  • Includes an illustrative quote supporting a “fail fast / don’t mask malformed input” strategy.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks!

@jkotas jkotas added area-skills Agent Skills and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Feb 9, 2026
@stephentoub
Copy link
Member Author

/ba-g markdown only

@stephentoub stephentoub enabled auto-merge (squash) February 9, 2026 22:04
@stephentoub stephentoub merged commit 3deccf6 into dotnet:main Feb 9, 2026
27 of 28 checks passed
@stephentoub stephentoub deleted the skillexception branch February 9, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-skills Agent Skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants