본문으로 건너뛰기
cccskills
무료GitHub에 공개

docs-search

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(7)

  • SKILL.md7.2 KB
  • .releaserc.json49 B
  • CHANGELOG.md22 B
  • package.json91 B
  • scripts/package-lock.json86 B
  • scripts/package.json23 B
  • scripts/search.js9.6 KB

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 fetch and 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: Fetch and Read Full Documentation

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

  • Dedicated web fetching tools
  • Terminal commands (curl, wget, etc.)
  • Web browsing/scraping capabilities

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.

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.

What Gets Searched

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.

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. Fetch the most relevant: https://www.aem.live/developer/markup-sections-blocks
  4. Read full content and provide answer

Poor Approach:

  • Using general web search 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. Fetch and read 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. Fetch and 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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Analyzes a multi-step conversion funnel to find where visitors drop off and which steps have the worst leakage. Use this skill when someone describes a journey and asks about conversion rates, drop-off, fallout, or step completion. Trigger for "analyze our checkout funnel," "where are visitors dropping off," "what's our add-to-cart to purchase conversion rate," "funnel analysis," "show me fallout between steps," or "which step loses the most visitors."

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aemgdc/aemdev22026년 10월 18일 업데이트

Generates a concise, executive-ready performance summary covering key metrics, trends, and what's driving movement. Use this skill when someone needs to produce a briefing, executive summary, performance narrative, or stakeholder readout — for example, "write an exec summary of last week's performance," "create a performance briefing for our leadership team," "produce a monthly business review summary," "what should I tell executives about our metrics," or "generate a performance narrative." Also trigger for "QBR summary," "weekly business review," or "stakeholder briefing."

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aemgdc/aemdev22026년 10월 18일 업데이트

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 "give me a performance overview," "what moved in the last 7 days," "pull our AA KPI report," or "summarize our metrics."

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aemgdc/aemdev22026년 10월 18일 업데이트

Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences or visitor groups — for example, "how do mobile visitors compare to desktop 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" or "audience comparison."

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aemgdc/aemdev22026년 10월 18일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aemgdc/aemdev22026년 10월 18일 업데이트

Scan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance audits, or remediating WCAG violations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aemgdc/aemdev22026년 10월 18일 업데이트

aemgdc의 스킬 모두 보기

이 스킬의 문제 신고