thrash-report-analyzer
Installation
SKILL.md
Layout Thrashing Report Analysis
Analyze a bye-thrash report and produce actionable fix suggestions for every layout thrashing instance found.
Usage
/thrash-report-analyzer <path-to-report.json>
The argument is the absolute path to a JSON file containing the bye-thrash report array. If no file path is provided, ask the user to paste the report JSON directly.
Input format
Each entry in the report array has at minimum:
prop— the layout property that was read (e.g.offsetWidth,clientHeight)count— how many times this thrash was observedstack— a JavaScript call stack string captured at the moment of the layout read