What problem does it solve? Writing Qt Quick Test unit tests for QML components by hand is repetitive and error-prone, with many subtle pitfalls such as invisible TestCase parents, interactive-only signals, and offscreen sizing issues. This Skill reads your QML source files and generates correct, convention-compliant tst_*.qml test files automatically. ## Core Features & Use Cases - Automated test generation: Produces one tst_<ComponentName>.qml per source QML file using a canonical template with Item wrapper, Component block, and TestCase lifecycle. - 47-rule contract: Applies consolidated rules covering imports, SignalSpy patterns, mouse and key events, per-control specifics (Button, TextField, Slider, SpinBox, Dial, Dialog, MenuItem, Image, MouseArea, TapHandler), Window and singleton sources, and Qt Quick 3D skip handling. - Bounded project context: Reads only the source, its direct custom-component imports, qmldir, and the nearest CMakeLists.txt to resolve the correct source import. - Use Case: Point the Skill at app/forms/LoginForm.qml and it writes tests/tst_LoginForm.qml with property round-trips, SignalSpy-based signal verification, and mouse-driven interaction tests, ready to run with qmltestrunner or CTest. ## Quick Start Ask your AI assistant to write Qt Quick Tests for a specific QML file or directory, for example: generate Qt Quick Tests for widgets/MyButton.qml.