πŸ™GitHub

AI for Code Review & PR Comments

Write constructive code reviews and clear PR descriptions. Select code or text on GitHub, press Alt+A, and communicate effectively with your team.

Selected Text
this code is wrong and inefficient
Alt+A→
AI ResultVariant 1
I noticed a potential issue with this implementation. The current approach has O(nΒ²) complexity due to the nested loops. Consider using a hash map for O(n) lookup time. I'd be happy to pair on this if you'd like to discuss alternatives!
😫

The GitHub Writing Struggle

Code reviews are crucial but time-consuming. You want to give helpful feedback without sounding harsh, explain complex issues clearly, and write PR descriptions that actually help reviewers understand your changes.

LLM Hotkey fixes this↓

Why Use LLM Hotkey for GitHub

AI-powered writing assistance right where you need it

🀝

Constructive Feedback

Turn blunt observations into helpful, encouraging code review comments.

πŸ“

Better PR Descriptions

Generate clear, comprehensive PR descriptions from your commit messages.

πŸ’‘

Explain Complex Code

Write clear explanations of tricky implementations for reviewers.

πŸ›

Bug Report Clarity

Create detailed issue descriptions with reproduction steps.

πŸ“š

Documentation Help

Write clear README sections and inline documentation.

⚑

Faster Reviews

Speed up your review process without sacrificing quality.

What You Can Do in GitHub

Real examples of how LLM Hotkey helps

Constructive Code Review

Give feedback that helps without demoralizing.

Before
This function is a mess. You're doing it wrong.
After
Thanks for tackling this feature! I have a few suggestions that might help with maintainability: 1. Consider extracting the validation logic into a separate functionβ€”it'll make testing easier 2. The error handling on L45 could be more specific to help with debugging Happy to chat through these if helpful!

PR Descriptions

Help reviewers understand your changes.

Before
fixed the bug
After
## Summary Fixes the race condition in user authentication that caused intermittent 401 errors. ## Changes - Added mutex lock around token refresh logic - Implemented retry mechanism with exponential backoff - Added unit tests for concurrent access scenarios ## Testing - [x] Unit tests pass - [x] Manual testing in staging - [x] Load tested with 100 concurrent users

Issue Descriptions

Create helpful bug reports.

Before
login doesnt work
After
## Bug Report: Login Failure on Mobile Safari ### Environment - iOS 17.2, Safari - Production environment ### Steps to Reproduce 1. Navigate to /login on mobile Safari 2. Enter valid credentials 3. Tap 'Sign In' ### Expected Redirect to dashboard ### Actual Page refreshes, user remains on login screen. Console shows: `SecurityError: localStorage access denied`

Code Explanations

Document complex logic clearly.

Before
this algorithm does the thing with the data
After
This function implements a sliding window algorithm to find the maximum sum subarray of size k. **How it works:** 1. Initialize window with first k elements 2. Slide window right, adding new element and removing leftmost 3. Track maximum sum seen across all windows **Time Complexity:** O(n) **Space Complexity:** O(1)

How It Works

1

Open GitHub

Navigate to any PR, issue, or code file on GitHub

2

Select & Press Alt+A

Highlight text or code, then press Alt+A to open the menu

3

Post Your Comment

Choose the best AI variant and submit your review

Keyboard shortcuts:Alt+AmenuAlt+Sscreenshot

Frequently Asked Questions

When you select code along with surrounding context, the AI can understand the programming language and provide relevant suggestions. For best results, include enough context around the specific lines you're commenting on.

Write Better Code Reviews

Give constructive feedback, write clear PR descriptions, and communicate effectively with your team.

Free forever plan available. No credit card required.