Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated review prompt with code analysis guidelines #16

Merged
merged 2 commits into from
Nov 21, 2024
Merged

Updated review prompt with code analysis guidelines #16

merged 2 commits into from
Nov 21, 2024

Conversation

bstanga
Copy link
Contributor

@bstanga bstanga commented Nov 21, 2024

No description provided.

Copy link

github-actions bot commented Nov 21, 2024

PR Summary

Added important guidelines for code review to prevent making assumptions about code outside the visible diff context. The update emphasizes not suggesting optional variables or null checks without clear evidence of potential runtime errors.

Changes

File Summary
dist/index.js Added guidelines in the review prompt to avoid making assumptions about code outside the diff context and prevent suggesting unnecessary null checks.
src/prompts.ts Enhanced the review prompt by adding important guidelines about not making assumptions on code outside the diff context and avoiding suggestions about optional variables without type declarations.

autogenerated by presubmit.ai

@github-actions github-actions bot changed the title @presubmit Updated review prompt with code analysis guidelines Nov 21, 2024
@bstanga bstanga merged commit 2b2d6de into main Nov 21, 2024
1 check failed
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.

1 participant