ah-fix-dom-flash

Installation
SKILL.md

Fix DOM Flash/Flicker Bugs

This skill uses the chrome-devtools-cli skill for all browser interactions. Invoke /chrome-devtools-cli if you need help with command syntax or flags.

Diagnostic scripts are in the scripts/ directory. To use them: read the script file, customize the selector for the specific bug, then pass the content to chrome-devtools evaluate_script.

Detects elements that briefly appear in wrong positions due to timing races between framework-level DOM manipulation (e.g., @dnd-kit, Framer Motion, GSAP) and React's async re-render cycle.

Input

  • Page URL or description (REQUIRED): The URL, Storybook story where the bug reproduces, or a description of the page (e.g., "Product page", "Drag-and-drop story").
  • Suspected element (optional): CSS selector, component name, or description of the flashing element (e.g., [data-dnd-overlay], "drag overlay", "tooltip").
  • Interaction type (optional): What triggers the flash -- drag-and-drop, click, hover, keyboard, or animation.
Related skills

More from arinhubcom/arinhub

Installs
3
First Seen
Mar 24, 2026