ui-eng-vision-logic-consolidator
Installation
SKILL.md
Subskill: Logic Consolidator (Pass 1)
This subskill extracts manual layout building, attribute modifications, and rendering loops out of the constructor and scattered event handlers, consolidating them into private helper methods with explicit data contracts.
1. Logic Consolidation Rules
-
Identify UI updates Creation:
- Scan the class constructor and search for manual DOM operations (e.g.,
element.createChild('div'),document.createElement,element.appendChild). - Also look for any UI updates which call lit-html
render.
- Scan the class constructor and search for manual DOM operations (e.g.,
-
Isolate Update and Draw Operations: