find-test-content

Query a site's index to locate pages containing a targeted content block and its variants.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Locates pages that contain a targeted content block across a site, enabling developers to identify test content and block variants for QA workflows.

Core Features & Use Cases

  • Queries the site's index to discover pages containing a specific block.
  • Detects and reports all block instances and their variants to support testing scenarios.
  • Generates actionable URLs and variant context to guide content-driven development.

Quick Start

Run the find-test-content skill with a block name to scan the query index and surface pages containing that block along with detected variants.

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?

You can find pages with a specific content block by querying the site's query index to locate block instances and their variant classes across multiple pages for testing workflows. This skill scans the index and reports matching URLs.

What is the best way to detect block variants across a site for QA workflows?

Detecting block variants across a site involves querying the site index and extracting CSS classes to identify different block configurations. This skill surfaces actionable URLs and variant context to guide content-driven development and testing.

Can I batch fetch test content from the query index without rate limiting?

Yes, you can batch fetch test content from the query index using built-in concurrency control. This skill applies batched fetching to AEM Edge Delivery environments to safely locate content blocks and their variant classes across pages.

Does this content block detection approach work with jsdom dependencies?

Yes, content block detection relies on jsdom to parse and identify targeted blocks within the fetched pages. It uses jsdom to detect block instances and their variant classes by evaluating CSS classes during the query index scanning process.

How do I extract variant classes from content blocks found in the query index?

Extracting variant classes from content blocks involves querying the site index for pages and parsing the HTML to detect specific CSS classes. This skill reports all block instances and their detected variants to support your testing scenarios.

Why should I use query index scanning instead of manually checking pages for test content?

Query index scanning automates the discovery of test content blocks across an entire site, whereas manual checks are slow and error-prone. This skill uses batched fetching and concurrency control to quickly report block variants and generate actionable URLs.