find-test-content

Official

Locate test content blocks across AEM pages fast.

Authoradobe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers quickly locate existing content pages that contain a specific content block within AEM Edge Delivery projects, enabling efficient test content identification during the Content Driven Development workflow.

Core Features & Use Cases

  • Block discovery: scans the site's indexed pages to detect the presence of a target block by its CSS class.
  • Variant reporting: aggregates per-page block variant classes to reveal different block configurations across pages.
  • Use Case: during block iterations, identify pages that exercise variants (e.g., hero with dark or light themes) to validate test coverage.

Quick Start

Run: node .claude/skills/find-test-content/scripts/find-block-content.js <block-name> [host] Replace <block-name> with the desired block name and provide an optional host for live environments, e.g.: node .claude/skills/find-test-content/scripts/find-block-content.js hero main--mysite--owner.aem.live

Dependency Matrix

Required Modules

jsdom

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: find-test-content
Download link: https://github.com/adobe/skills/archive/main.zip#find-test-content

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.