Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

searching-aem-documentation搜索 aem 文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

15,116

周安装

541

GitHub Stars

40

下载量

3,733
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:searching-aem-documentation(搜索 aem 文档)
来源仓库:https://github.com/adobe/helix-website
仓库路径:skills/searching-aem-documentation
安装命令:
npx skills add https://github.com/adobe/helix-website --skill 'Searching AEM Documentation'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/adobe/helix-website --skill 'Searching AEM Documentation'

简介

用于辅助文档、README、Markdown 和内容稿件的整理与改写。

  • 适合提炼结构、补齐章节、统一术语或检查链接。
  • 应保留项目已有事实和命令,避免将未确认信息写成确定结论。
  • 涉及对外文案时需控制语气,避免过度营销或夸大能力。
  • searching-aem-documentation 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Searching AEM Documentation

Overview

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 use WebFetch to read the full content of the most relevant results.

When to Use This Skill

Use this skill when:

  • You need information about an aem.live feature or concept
  • You've already looked at the project codebase for context
  • You've tried a basic web search but didn't find relevant aem.live documentation
  • You need technical guidance on implementing aem.live features
  • You're looking for best practices or examples from the official docs

Do NOT use this skill when:

  • You need reusable code snippets or block examples (use block-collection-and-party instead)
  • You already know the specific documentation URL
  • You're looking for general web development information (not aem.live specific)

How to Use This Skill

Step 1: Identify Keywords

Determine 1-3 specific keywords related to what you're searching for. Be specific rather than general.

Good keywords:

  • "block decoration"
  • "metadata"
  • "universal editor"
  • "sidekick plugin"

Poor keywords:

  • "aem" (too generic, filtered as stop word)
  • "how to build website" (too broad)
  • "the" (stop word)

Step 2: Run the Search Script

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)
  • Without --all: Returns top 10 results

Examples:

# 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

Step 3: Review Search Results

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 page
  • title: Page title
  • description: Brief summary (usually ~150 chars) - use this for quick context
  • snippet: Relevant excerpt from the page content showing keyword context
  • type: "doc" or "blog"
  • deprecation: Warning message if feature is deprecated (or null)
  • relevanceScore: Relevance score (higher = more relevant)

Important Notes:

  • Results are sorted by relevance (highest first)
  • Deprecated pages have reduced relevance scores but still appear in results
  • The description field provides the best quick summary of the page
  • The snippet shows keyword context but may not be comprehensive

Step 4: Use WebFetch for Full Content

The search results give you an overview. To get detailed information, use WebFetch to read the full page:

WebFetch: https://www.aem.live{path}

Best Practice: Start with the top 2-3 most relevant results, read them fully with WebFetch, then decide if you need more.

Step 5: Alert User to Deprecations

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.

Search Behavior Details

What Gets Searched

  1. Primary: Full documentation (docpages-index.json) - 150+ pages with complete content
  2. Secondary: Blog posts (query-index.json) - Only searched if < 5 doc results found

Stop Words (Automatically Filtered)

These common words are ignored in searches:

  • Articles: the, a, an
  • Conjunctions: and, or, but
  • Prepositions: in, on, at, to, for, of, with, by
  • AEM-specific: aem, cms, edge, delivery, services

Relevance Scoring

  • Title match: 10 points per occurrence
  • Description match: 5 points per occurrence
  • Content match: 1 point per occurrence
  • Multi-keyword bonus: 1.5x multiplier if multiple keywords match
  • Deprecation penalty: 0.5x multiplier (score halved) for deprecated features

Caching

Index files are cached locally for 24 hours in .claude/skills/docs-search/.cache/. This speeds up subsequent searches.

Examples

Example 1: Finding Block Documentation

User Request: "How do I decorate blocks in aem.live?"

Good Approach:

  1. Search: node.claude/skills/docs-search/scripts/search.js block decoration
  2. Review top 3 results
  3. WebFetch the most relevant: https://www.aem.live/developer/markup-sections-blocks
  4. Read full content and provide answer

Poor Approach:

  • Using WebSearch instead (wastes time on irrelevant results)
  • Not using the search script (might miss the best documentation page)

Example 2: Learning About Metadata

User Request: "I need to add metadata to my pages"

Good Approach:

  1. Search: node.claude/skills/docs-search/scripts/search.js metadata
  2. Notice top result is "/docs/bulk-metadata" (score: 63)
  3. Also see "/docs/metadata" (score: 30)
  4. WebFetch both to understand page-level vs bulk metadata
  5. Provide comprehensive answer with both approaches

Poor Approach:

  • Only reading the first result and missing bulk metadata option
  • Not using --all when you need comprehensive coverage

Example 3: Deprecated Feature Warning

User 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:

  • Ignoring the deprecation warning and implementing the deprecated feature
  • Not mentioning the better alternative

Related Skills

  • block-collection-and-party: Use when you need reusable code examples or block implementations
  • building-blocks: Use when creating new blocks from scratch
  • content-modeling: Use when designing content models for blocks

Important Reminders

  1. Always check for deprecation warnings and alert the user
  2. Use WebFetch to read full pages - search results are just for finding the right pages
  3. Start with top 2-3 results before expanding search
  4. The description field is your friend - it's usually well-written and concise
  5. Don't rely solely on snippets - they're for context, not comprehensive information

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.76%
按下载量换算1,447

Claude

29.16%
按下载量换算1,089

Cursor

19.69%
按下载量换算735

Gemini CLI

9.79%
按下载量换算365

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills