Chrome extension for GitHub PR context. Analyze code diffs directly on GitHub Pull Request pages and get instant context cards with risk assessment.
- 🔍 GitHub Integration: Works directly on GitHub PR pages
- 🎯 Risk Assessment: Instant risk level categorization
- 📋 Context Cards: Beautiful inline cards showing analysis results
- 🚩 Smart Flags: Automatic detection of dangerous operations and patterns
- Clone this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the
diff-focus-chromedirectory
- Navigate to any GitHub Pull Request page
- Click the Diff-Focus extension icon in your toolbar
- Click "Analyze Current PR"
- View the analysis card that appears on the PR page
You'll need to create icon files:
icons/icon16.png(16x16)icons/icon48.png(48x48)icons/icon128.png(128x128)
Or use a placeholder icon generator tool.
The extension uses:
- Manifest V3: Modern Chrome extension format
- Content Scripts: Injected into GitHub PR pages
- Popup UI: Extension popup for triggering analysis
MIT