block-detector
Installation
SKILL.md
Block Detector
Quick Reference
| Category | Trigger | Complexity | Source |
|---|---|---|---|
| audit | "detecting page blocks", "block analysis", "content block extraction", "page structure detection" | Medium | 5 projects |
Analyze the visual and semantic structure of a web page to detect discrete content blocks (hero sections, feature grids, testimonial carousels, CTAs, etc.) using Puppeteer browser automation. For each detected block, the skill captures bounding box coordinates, generates a stable CSS selector, extracts content metadata, and produces a visual position map. The output feeds into design-system-extractor for pattern cataloging and generative-page-pipeline for block-aware page generation.
When to Use
- User wants to understand the block structure of a live web page
- User needs to extract individual content blocks for reuse or migration
- User is building a design system and needs to catalog all block types on a site
- User wants to compare block structure across pages to find patterns
- A downstream skill (design-system-extractor, generative-page-pipeline) needs a block inventory as input
- User is reverse-engineering a competitor or reference site's page structure