dom-first-debugging
CommunityFix layout by reading the rendered DOM first.
Software Engineering#ui debugging#dom inspection#visual QA#computed styles#layout regression#vue rendering#tauri renderer
Authorjonaseck2
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It resolves UI layout and visual discrepancies by forcing the debugging workflow to start from the rendered DOM and computed styles, so the next hypothesis is grounded in what the app actually produced.
Core Features & Use Cases
- DOM-first truth reading: Reads computed styles, bounding rect, and scroll metrics for the affected element before analyzing CSS.
- Rendered-structure inspection: Retrieves the outerHTML of the specific element to understand the live structure (including inline styles and data-v hashes).
- Visual dimensional confirmation: Uses a focused screenshot crop of the target element to validate what the user is seeing (sizes, spacing, and positioning).
- Layout symptom triggers: Designed for cases like “panel doesn’t fill,” “X looks different from Y,” spacing/padding issues, missing border-radius, incorrect widths/heights, overlap, or UI breakage after refactors.
Quick Start
When you report a layout issue, ask the AI to first run DOM and computed-style reads for the exact element you suspect (e.g., the side panel) and then explain what specific computed values or DOM structure differ from what you expect.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dom-first-debugging Download link: https://github.com/jonaseck2/slaktforskning/archive/main.zip#dom-first-debugging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.