npx skills add ...
npx skills add adobe/skills --skill docs-search
Use this when you need more information about an AEM Edge Delivery Services (EDS, Franklin, Helix) feature or guidance on how to implement one, and your existing web-search tools are not turning up relevant results. Searches the aem.live documentation, ranks matching pages by relevance, fetches full articles, and surfaces code examples and deprecation warnings.
npx skills add adobe/skills --skill docs-search
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:
Options:
--all: Return all matching results (default: limit to 10 most relevant)--all: Returns top 10 resultsExamples:
The script returns JSON with the following structure:
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:
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:
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: