Loading...
Loading...
Watch a bug video, screen recording, or screenshot, understand what's broken, find the relevant code, implement a fix, and raise a PR. Supports Loom, YouTube, and local files. Uses Gemini Flash for video understanding.
npx skill4agent add mnvsk97/eyeroll video-to-preyeroll watchpip install eyeroll
eyeroll init # set up Gemini API key
brew install yt-dlp # for URL downloadsexport GEMINI_API_KEY=your-key1. Run: eyeroll watch <source> --context "..." --verbose
2. Read the structured notes — extract error messages, URLs, affected pages
3. Search the codebase:
- Route/URL visible → match to routing config → find page/handler files
- Error message visible → grep codebase for exact string
- Component/page name → find source file
- API endpoint → find handler
4. Read the identified files
5. Diagnose: cross-reference video observations with code
6. If context mentions regression ("after PR #X", "since last deploy"):
- Check recent git history for the relevant files
- git log --since="1 week ago" -- <identified-files>
7. Implement the fix
8. Write a test that would have caught the bug
9. Create branch, commit, push, open PR with:
- Link to original video (if URL)
- Summary of what was broken and why
- What was fixedeyeroll watch https://loom.com/share/abc123src/pages/checkout.tsxapi/payments.pyeyeroll watch video.mp4 --context "broken after PR #432"gh pr view 432eyeroll watch## Summary
Fix [brief description of the bug]
## Root Cause
[What was wrong and why]
## Bug Evidence
- Video: [link to original video if URL]
- Error: [exact error message from video]
- Affected page: [URL/route from video]
## Changes
- [file1]: [what changed and why]
- [file2]: [what changed and why]
## Test Plan
- [how to verify the fix]