find-test-content

Locate pages containing a specific content block in AEM Edge Delivery Services.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/juricamigac-from-hr/svemojestrane --skill find-test-content-juricamigac-from-hr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-test-content
Source: https://github.com/juricamigac-from-hr/svemojestrane/tree/main/.agents/skills/find-test-content
Command: npx skills add https://github.com/juricamigac-from-hr/svemojestrane --skill find-test-content-juricamigac-from-hr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jsdom, and includes scripts (resource) components.

What problem does it solve?

This skill helps developers quickly identify content pages that contain a specific content block, returning the URLs and per-page variant details to accelerate testing during Content Driven Development.

Core Features & Use Cases

  • Block discovery: scans the query-index for pages and detects the target block by its CSS class.
  • Variant reporting: aggregates per-page variant classes (e.g., color schemes, layouts) to illuminate testing opportunities.
  • Use Case: ideal when modifying an existing block, validating variants, or locating test content across development, staging, and preview environments.

Quick Start

Run the find-test-content script to locate pages containing the target block and print a structured report.

Frequently Asked Questions about find-test-content

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find pages containing a specific content block in AEM Edge Delivery Services?

To find pages with a specific content block in AEM Edge Delivery Services, scan the site's query-index and use HTML DOM class-based block detection to return matching URLs along with per-page variant details.

Can I detect block variants across development, staging, and live preview environments?

Yes, you can detect block variants across development, staging, and live preview environments by operating on the query-index API to aggregate per-page variant classes like color schemes and layouts.

What is the best way to locate existing test content pages for block validation?

The best way to locate existing test content for block validation is to query the site index and parse the HTML DOM to extract variant classes, producing a concise results list of matching URLs.

How does query-index block detection work for Content Driven Development in AEM?

Query-index block detection for Content Driven Development works by fetching pages from the index and inspecting their HTML DOM for specific CSS classes to identify block occurrences and report variant details.

Do I need jsdom to scan the query-index for AEM block occurrences?

Yes, you need jsdom to scan the query-index for AEM block occurrences because the Skill relies on this dependency to parse fetched HTML pages and perform CSS class-based block detection.