Skip to content
Back to skills

Ztx4 Visual Reverse Dom Vs Visual Diff

ASecurity

Implement dom vs visual diff for Visual Reverse Engineering with concrete acceptance gates, responsive/RTL safety, and no MCP. Additive Perfect_AI extension.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
testing

Works with

  • mcp

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill ztx4-visual-reverse-dom-vs-visual-diff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ztx4 Visual Reverse Dom Vs Visual Diff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ztx4 Visual Reverse Dom Vs Visual Diff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-ztx4-visual-reverse-dom-vs-visual-diff/badge)](https://www.skillsdirectory.com/skills/realjustawall-ztx4-visual-reverse-dom-vs-visual-diff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ztx4-visual-reverse-dom-vs-visual-diff
description: "Implement dom vs visual diff for Visual Reverse Engineering with concrete acceptance gates, responsive/RTL safety, and no MCP. Additive Perfect_AI extension."
---

# Visual Reverse Engineering / dom-vs-visual-diff

## Precise purpose
Separate semantic DOM/keyboard problems from image-level visual mismatch.

## First read
- `$perfect-ai-master` and `$ztx3-nexus-master` remain available; never overwrite or replace them.
- `../../extensions/DEEP-IMPLEMENTATION-v2/references/visual-reverse.md` inside the full pack.
- Consult corresponding existing NEXUS handbook at `extensions/handbooks/visual-reverse.md`.
- This is a new supplemental Skill, not a claim that third-party software is bundled.

## Input contract
Inputs: user-supplied or permitted reference, screenshots/recordings, viewport states and asset rights.

## Implementation workflow for this technique
1. **Identify specific need:** Separate semantic DOM/keyboard problems from image-level visual mismatch.
2. **Baseline:** inspect existing code and record behavior and compatible dependency versions; keep old behavior unchanged.
3. **Build:** Implementation: measure layout, sample scroll/time states, document observed vs inferred, build independent semantic DOM, perform deterministic screenshot diff.
4. **Technique-specific output:** create a named source module, stylesheet, fixture and test targeting `dom-vs-visual-diff` rather than a generic screenshot.
5. **Variations:** desktop / compact container / 320px mobile / Persian RTL / English LTR / reduced motion / blocked external assets.
6. **Measure:** log what runs with concrete outputs, fail gracefully when engine or browser support unavailable.
7. **No regressions:** do not delete, reformat or overwrite unrelated existing application code.

## Technique-specific verification
- Assert: Separate semantic DOM/keyboard problems from image-level visual mismatch.
- Tests: same DPR/fonts/viewport/time, pixel difference and layout deviation, reverse scroll, keyboard, record unknown proprietary details.
- Reference evidence logged by viewport/interaction state.; Inferred unknown geometry/code called out rather than claimed exact.; Screenshot comparisons reproducible under same font/viewport/time.

## Deliverables
`implementation-notes.md`, source implementation, relevant fallback source, test fixture, screenshots if browser-run, `verified-results.json` showing passed/failed/unrun.

## Source of truth
- [playwright](https://playwright.dev/docs/test-snapshots)
- [mdn-containers](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Containment/Container_queries)
- [wcag](https://www.w3.org/TR/WCAG22/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.