| name | pr-analysis |
| description | Analyze PR source code changes and correlate with screenshot diffs. Use when pr-diff.txt is present and you need to understand which code changes caused visual differences. |
PR Analysis
When debug-data/pr-diff.txt is present in the workspace, analyze the source code changes and correlate
them with the screenshot diffs.
- Read
debug-data/pr-diff.txt to understand what code changed
- Read the diff summaries in
debug-data/diffs/*.summary.json to see which screenshots differ
- For each screenshot that differs, identify which code changes are most likely responsible
Provide a structured analysis:
- Which files were modified and what the key changes are
- Which code changes are most likely to affect visual output (CSS, layout, component rendering)
- For each differing screenshot, the most likely code change that caused it
- Whether the visual changes appear intentional (matching the code intent) or unintentional