Web Block Detector

•
2
•

Analyzes and catalogs discrete content blocks on web pages using Puppeteer browser automation and semantic heuristics.

The Web Block Detector skill automates the process of reverse-engineering web page layouts by identifying functional UI sections such as hero banners, feature grids, and call-to-action blocks. By leveraging Puppeteer for headless browser analysis and applying a multi-layered detection strategy, it captures precise bounding box coordinates, generates stable CSS selectors, and extracts semantic metadata. This tool is purpose-built for developers and designers who need to map page architectures for design system creation, content migration, or automated layout analysis.

Key Features

01Automated deduplication and noise filtering to isolate meaningful content units from UI chrome.
02Stable CSS selector generation using a 6-tier priority hierarchy (ID, unique classes, data-attributes).
03Semantic block-type inference for categorizing sections like 'hero', 'features', and 'testimonials'.
04Visual coordinate mapping with precise bounding box capture (x, y, width, height).
052 GitHub stars
06Multi-strategy detection using semantic HTML, class patterns, and CMS-specific data attributes.

Use Cases

01Cataloging page structures to feed into design system extractors and pattern libraries.
02Automating content migration by identifying and targeting specific page regions for extraction.
03Reverse-engineering competitor layouts to analyze information architecture and UX patterns.