find-test-content

Finds pages in Acer Ecosyst— wait, let me correct: Finds pages in AEM Edge Delivery containing a specified block and its variants.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/Permit-Junction/permitjunction-website --skill find-test-content-permit-junction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-test-content
Source: https://github.com/Permit-Junction/permitjunction-website/tree/main/.claude/skills/find-test-content
Command: npx skills add https://github.com/Permit-Junction/permitjunction-website --skill find-test-content-permit-junction

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill helps developers quickly locate existing content pages that utilize a specific AEM block, streamlining the process of identifying test cases during development.

Core Features & Use Cases

  • Block Content Search: Queries the AEM query index to find all pages containing a specified block.
  • Variant Detection: Identifies and reports different variants of the block present on each page.
  • Use Case: When modifying the 'hero' block, use this skill to find all pages currently using it, ensuring comprehensive testing of your changes across existing implementations.

Quick Start

Use the find-test-content skill to search for all pages containing the 'cards' block on your local development server.

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 all pages containing a specific block in AEM Edge Delivery Services?

To find pages containing a specific AEM block, you can query the AEM query index and parse the HTML using jsdom. This reports all page URLs and identifies block variants to streamline development testing.

Do I need a running dev server to search for AEM block content?

Yes, you need a running local development server with an accessible query index to search for AEM block content. The search queries this index to locate pages and uses jsdom to parse the returned HTML for block elements.

Can I detect different variants of an AEM block across existing pages?

Yes, you can detect different variants of an AEM block across pages. The search identifies block elements and reports their associated CSS classes, allowing you to see which variants are currently implemented for comprehensive testing.

What is the best way to locate test cases for AEM block modifications?

The best way to locate test cases for AEM block modifications is to search the query index for pages using that block. This discovers existing implementations and their variants, ensuring your changes are tested against real content.

Does this content discovery search work without jsdom?

No, this content discovery search requires jsdom as a dependency. It utilizes jsdom specifically for HTML parsing to accurately identify block elements and extract their associated CSS classes for variant detection.

Why should I search for existing content before modifying an AEM block?

You should search for existing content before modifying an AEM block to ensure comprehensive testing. Locating all pages and variants using the block prevents regressions by validating your changes across current implementations found in the query index.