Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Promotes legacy views to modern UI.Widget classes, hooks up performUpdate() rendering, and exports default views.
.claude/skills/chromedevtools-ui-eng-vision-widget-promoter/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 22% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 56% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -2% | 0% |
This subskill completes the architectural transition, upgrading the component from legacy base classes (like SimpleView or custom wrapper layouts) into clean UI.Widget classes that use native update rendering delegates.
devtools-ui-widgets.UI.Widget (or specializedsub-layouts like UI.Widget.VBox).
initializations or access .element directly for manual append operations.
VBox and HBox inherit directly from Widget. They fully support view injection (view = DEFAULT_VIEW), performUpdate(), and requestUpdate() without modification.view layout:
typescript export const DEFAULT_VIEW: View = (input, output, target) => { Lit.render(html..., target); };
docs/ui_engineering.md), and use static INJECT if requesting dependencies from Universe:typescript class MyWidget extends UI.Widget.VBox { static override readonly INJECT = SDK.TargetManager.TargetManager] as const;
#targetManager: SDK.TargetManager.TargetManager; #view: View; constructor( element?: HTMLElement, targetManager]: UI.Widget.WidgetDependencies<typeof MyWidget> = ], view: View = DEFAULT_VIEW, ) { super(element); this.#targetManager = targetManager; this.#view = view; }
performUpdate() override on the widget:typescript override performUpdate(): void { this.#view(this.viewInput, this.viewOutput, this.contentElement); }
LegacyWrapper bindings or custom wrappable custom elements.<devtools-widget>declarative entries:
typescript html<devtools-widget .widgetConfig=${widgetConfig(MyWidgetClass, params])}></devtools-widget>
ApplicationPanelSidebar.ts) anddecouple any direct accesses to .element.
Before reporting back or committing, re-read the instructions and verify:
.element or .contentElement couplings from instantiator files?UI.Widget or its variants?| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 15,849 | 3,698 | -77% | 1 | 1 | 0% | 3,681 | 1,084 | -71% | 0 | 0 | — |
case-02 | fail→fail | 27,083 | 5,393 | -80% | 1 | 1 | 0% | 6,231 | 1,057 | -83% | 0 | 0 | — |
case-03 | fail→pass | 16,596 | 18,678 | +13% | 1 | 1 | 0% | 3,874 | 4,712 | +22% | 0 | 0 | — |
case-04 | fail→pass | 7,241 | 6,621 | -9% | 1 | 1 | 0% | 1,422 | 2,225 | +56% | 0 | 0 | — |
case-05 | pass→pass | 10,418 | 2,017 | -81% | 1 | 1 | 0% | 1,910 | 1,226 | -36% | 0 | 0 | — |
case-06 | pass→pass | 5,996 | 1,620 | -73% | 1 | 1 | 0% | 1,144 | 1,134 | -1% | 0 | 0 | — |
case-07 | pass→pass | 7,551 | 1,802 | -76% | 1 | 1 | 0% | 1,339 | 1,189 | -11% | 0 | 0 | — |
case-08 | pass→pass | 13,687 | 2,056 | -85% | 1 | 1 | 0% | 2,499 | 1,177 | -53% | 0 | 0 | — |
case-09 | pass→pass | 8,805 | 3,229 | -63% | 1 | 1 | 0% | 1,468 | 1,392 | -5% | 0 | 0 | — |
case-10 | pass→pass | 10,214 | 2,828 | -72% | 1 | 1 | 0% | 1,757 | 1,361 | -23% | 0 | 0 | — |
case-11 | pass→pass | 9,273 | 3,469 | -63% | 1 | 1 | 0% | 1,695 | 1,506 | -11% | 0 | 0 | — |
case-12 | fail→pass | 9,050 | 3,006 | -67% | 1 | 1 | 0% | 1,682 | 1,203 | -28% | 0 | 0 | — |
case-13 | pass→pass | 4,985 | 2,815 | -44% | 1 | 1 | 0% | 911 | 1,307 | +43% | 0 | 0 | — |
case-14 | pass→pass | 8,315 | 3,006 | -64% | 1 | 1 | 0% | 1,580 | 1,428 | -10% | 0 | 0 | — |
case-15 | fail→pass | 9,349 | 1,930 | -79% | 1 | 1 | 0% | 1,641 | 1,210 | -26% | 0 | 0 | — |
case-16 | pass→pass | 7,412 | 2,916 | -61% | 1 | 1 | 0% | 1,363 | 1,350 | -1% | 0 | 0 | — |
case-17 | fail→pass | 7,051 | 2,283 | -68% | 1 | 1 | 0% | 1,352 | 1,320 | -2% | 0 | 0 | — |
case-18 | pass→pass | 5,914 | 2,560 | -57% | 1 | 1 | 0% | 1,089 | 1,275 | +17% | 0 | 0 | — |
case-19 | pass→pass | 7,381 | 3,237 | -56% | 1 | 1 | 0% | 1,367 | 1,467 | +7% | 0 | 0 | — |
case-20 | pass→pass | 8,623 | 6,290 | -27% | 1 | 1 | 0% | 1,794 | 2,137 | +19% | 0 | 0 | — |
case-21 | pass→pass | 10,389 | 5,614 | -46% | 1 | 1 | 0% | 2,155 | 1,929 | -10% | 0 | 0 | — |
case-22 | fail→pass | 18,489 | 1,827 | -90% | 1 | 1 | 0% | 3,426 | 1,207 | -65% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 20 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +27 percentage points is the difference between those two pass rates over the 20 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.