Skip to content

Conversation

@akshayutture-augment
Copy link
Contributor

@akshayutture-augment akshayutture-augment commented Nov 25, 2025

Refine code review prompt templates to improve AI review quality and focus.

Key Changes

  • Simplify instructions: Remove verbose workflow steps, focusing the AI on its core role as a code reviewer
  • Clarify review focus: Explicitly define what to review (bugs, security, documentation) and what to avoid (style, performance, testing, linter issues)
  • Streamline limitations: Remove redundant sections about team context and scope boundaries
  • Improve comment guidelines: Add explicit note that posting zero comments is acceptable when there are no confident suggestions

These changes help the AI provide more focused, high-confidence reviews by reducing noise and clarifying priorities.


🤖 This description was generated automatically. Please react with 👍 if it's helpful or 👎 if it needs improvement.

@akshayutture-augment akshayutture-augment changed the title Akshay improve cli prompt Improve Code Review Github action prompt Nov 25, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

The changes streamline the prompt templates by removing redundant content and focusing on high-confidence, low-noise reviews. The simplification improves clarity and reduces token usage.

- "This could lead to a race condition if multiple threads access... Consider using..."
- "The current implementation has O(n²) complexity. You could optimize this by..."
- "This input isn't validated, which could lead to security issues. Consider adding..."
- Consider existing reviews, do not be repetitive with other reviews
Copy link
Contributor

Choose a reason for hiding this comment

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

The file is missing a newline at the end. While this doesn't affect functionality, it's a common convention to end text files with a newline character. This can cause issues with some tools and version control systems.

Suggested improvement:

- Consider existing reviews, do not be repetitive with other reviews

(Add a newline after the last line)

@justinxu421
Copy link
Contributor

thanks!

@justinxu421 justinxu421 merged commit 089818a into main Nov 25, 2025
3 checks passed
@github-actions github-actions bot mentioned this pull request Nov 25, 2025
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