skills/aem/edge-delivery-services/skills/docs-search/SKILL.md
Searches the aem.live documentation for information on AEM Edge Delivery Services features. Use this skill when you need more information about a feature, want guidance on how to implement a feature, and using existing tools you have to search the web isn't turning up relevant results.
npx skillsauth add adobe/skills docs-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill helps you efficiently search the complete aem.live documentation (docs and blog posts) without wasting context on irrelevant pages. Use the provided search script to find relevant documentation pages, then fetch and read the full content of the most relevant results.
Use this skill when:
Do NOT use this skill when:
block-collection-and-party instead)Determine 1-3 specific keywords related to what you're searching for. Be specific rather than general.
Good keywords:
Poor keywords:
Execute the search script from the project root:
node .claude/skills/docs-search/scripts/search.js [--all] <keyword1> [keyword2] [...]
Options:
--all: Return all matching results (default: limit to 10 most relevant)--all: Returns top 10 resultsExamples:
# Search for block decoration info
node .claude/skills/docs-search/scripts/search.js block decoration
# Search for metadata with all results
node .claude/skills/docs-search/scripts/search.js --all metadata
# Multi-word search
node .claude/skills/docs-search/scripts/search.js universal editor blocks
The script returns JSON with the following structure:
[
{
"path": "/developer/markup-sections-blocks",
"title": "Markup, Sections, Blocks, and Auto Blocking",
"description": "To design websites and create functionality, developers use the markup and DOM...",
"snippet": "Markup, Sections, Blocks, and Auto Blocking\n\nTo design websites...",
"type": "doc",
"deprecation": null,
"relevanceScore": 141
}
]
Field Explanations:
path: URL path to the documentation pagetitle: Page titledescription: Brief summary (usually ~150 chars) - use this for quick contextsnippet: Relevant excerpt from the page content showing keyword contexttype: "doc" or "blog"deprecation: Warning message if feature is deprecated (or null)relevanceScore: Relevance score (higher = more relevant)Important Notes:
description field provides the best quick summary of the pagesnippet shows keyword context but may not be comprehensiveThe search results give you an overview. To get detailed information, you must fetch and read the complete page content.
Target URL format:
https://www.aem.live{path}
How to retrieve: Use whatever method you have available to fetch the full HTML/text content:
Best Practice: Start with the top 2-3 most relevant results, read them fully, then decide if you need more. You may also follow links referenced in the documentation or conduct additional searches based on what you learn.
If any results have a deprecation field with content, inform the user that the feature is deprecated and include the deprecation message. Suggest they look at higher-ranked (non-deprecated) alternatives.
The search script searches documentation first (150+ pages). Blog posts are only searched if fewer than 5 doc results are found. If you need comprehensive coverage including blogs, use the --all flag.
User Request: "How do I decorate blocks in aem.live?"
Good Approach:
node .claude/skills/docs-search/scripts/search.js block decorationhttps://www.aem.live/developer/markup-sections-blocksPoor Approach:
User Request: "I need to add metadata to my pages"
Good Approach:
node .claude/skills/docs-search/scripts/search.js metadataPoor Approach:
--all when you need comprehensive coverageUser Request: "How do I use folder mapping?"
Search Results:
[
{
"path": "/developer/authoring-path-mapping",
"title": "Path mapping for AEM authoring",
"relevanceScore": 51,
"deprecation": null
},
{
"path": "/developer/folder-mapping",
"title": "Folder Mapping",
"relevanceScore": 34.5,
"deprecation": "Please contact us if you have a use case for folder mapping..."
}
]
Good Response: "I found information about folder mapping, but this feature is deprecated. The deprecation notice says: 'Please contact us if you have a use case for folder mapping...'. The current recommended approach is Path mapping for AEM authoring (the top result). Let me read that documentation for you instead."
Poor Response:
tools
Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric between two time periods. Use this skill when someone asks "what's up and what's down," "which campaigns moved the most," "top gainers and losers," "what pages are trending," "show me what changed by channel," or any variation of identifying the biggest movers and decliners for a metric.
tools
Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences, cohorts, or groups — for example, "how do mobile users compare to desktop users on conversion," "compare new vs. returning visitors," "show me the difference between these two segments," "compare these audiences on our KPIs," or "which segment performs better." Also trigger for "segment comparison," "audience comparison," or "cohort comparison."
business
Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when someone asks for a performance summary, a weekly recap, a morning briefing, a KPI update, or any variation of "how did we do this week/month." Also trigger for requests like "give me a performance overview," "what moved in the last 7 days," "pull our KPI report," or "summarize our metrics."
testing
Analyzes a multi-step conversion funnel to find where users drop off and which steps have the worst leakage. Use this skill when someone describes a journey or funnel and asks about conversion rates, drop-off, fallout, or step completion. Trigger for phrases like "analyze our onboarding funnel," "where are users dropping off," "what's our checkout conversion rate," "funnel analysis," "show me fallout between these steps," or "which step loses the most users."