What problem does it solve?
Ensuring generated HTML visually matches its original PDF source is critical but challenging with traditional pixel-diff tools. This Skill uses AI to perform a contextual visual accuracy check, understanding layout intent rather than just pixel differences, saving you manual QA time.
Core Features & Use Cases
- Contextual AI Comparison: Compares rendered HTML to the original PDF, judging layout, hierarchy, and readability like a human QA reviewer.
- Objective Scoring: Provides a similarity score (0-100%) and a breakdown by criteria (layout, hierarchy, positioning, typography) for transparent assessment.
- Blocking Quality Gate: Automatically stops the pipeline if the score falls below a defined threshold (default 85%), preventing visually inaccurate content from proceeding.
- Use Case: After converting a PDF chapter to HTML, use this Skill to automatically verify that the web version visually aligns with the original PDF, ensuring a consistent and high-fidelity user experience.
Quick Start
Check the visual accuracy of the attached 'chapter_02.html' against the original PDF page '02_page_16.png'.