What problem does it solve?
Optimizing a rich-text editor's performance without breaking typing, selection, or IME behavior is risky and time-consuming. This Skill automates the fastest-safe performance loop for Slate v2 by picking the highest-value target, running benchmarks, and enforcing correctness checks before keeping any optimization.
Core Features & Use Cases
- Automatic Target Selection: When no target is named, it picks the hottest performance surface, prioritizing user-visible latency, then legacy regressions, then architectural fanout.
- No-Regression Enforcement: Every kept optimization packet requires correctness evidence covering selection, typing, copy, paste, undo, IME, focus, and cursor placement.
- Stop-Rule Discipline: Halts when the target threshold is met, legacy parity is reached, improvements plateau below 5%, or correctness blocks further work.
- Use Case: A developer notices the Slate v2 editor feels sluggish during typing. They invoke this Skill, which loads current status, picks the typing latency target, runs benchmarked optimization packets, and stops once the threshold is met with all correctness checks green.
Quick Start
Ask the agent to make the Slate editor fast and let it pick the hottest performance target automatically.