[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H3YAQD51MX1MAV3XVAYV2B":3,"skill-same:01M6H3YAQD51MX1MAV3XVAYV2B":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6H3YAQD51MX1MAV3XVAYV2B","aem-component",null,"Find all source files, AEM pages and dialog fields for an AEM component. Use for 'where is component X?', 'what files for hero?', 'find component'.","easingthemes\u002Fdx-aem-flow","easingthemes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2750284?v=4","01M6H3XYGJY8QCX9ES36P2WF4H","Dragan Filipović","01M6H3XYMN1XVSGKN7N79SW3RH",7,"MIT","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-aem\u002Fskills\u002Faem-component\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"component","aem component","search","find","dialog","read","write","edit","use","files","pages","banner","name","ado","for","source","playwright","2026-11-10 10:12:30",false,"---\nname: aem-component\ndescription: \"Find all source files, AEM pages and dialog fields for an AEM component. Use for 'where is component X?', 'what files for hero?', 'find component'.\"\nargument-hint: \"[component name (e.g., hero, banner, accordion)]\"\nallowed-tools: [\"read\", \"edit\", \"search\", \"write\", \"agent\", \"ado\u002F*\", \"AEM\u002F*\", \"playwright\u002F*\"]\n---\n\nYou receive a component name and produce a complete developer reference — every source file, AEM page, and dialog field for that component.\n\n**Performance target:** ~10-15 tool calls total. No unnecessary agents or MCP calls.\n\n## 1. Parse Input & Normalize\n\nThe argument is a component name. Accept any format and generate **all search variations**.\n\n### Step 1a: Extract base name\n\nStrip resource type prefixes:\n- `project\u002Fcomponents\u002Fcontent\u002Fhero` → `hero`\n- `myapp\u002Fbase\u002Fcomponents\u002Fmyapp-banner` → `myapp-banner`\n\nRead `.ai\u002Fconfig.yaml` for `aem.component-prefix` to know the project's naming prefix.\n\n### Step 1b: Generate search variations (enhanced with project.yaml)\n\nFrom the base name, generate a **regex pattern** for grep that covers all naming conventions:\n\nGiven input `{name}`:\n\n1. **As-is**: `{name}`\n2. **Remove hyphens\u002Fspaces**: `my-component` → `mycomponent`\n3. **Add hyphens at word boundaries**: `mycomponent` → `my-component`\n4. **Project prefix**: `\u003Cprefix>-{name}` (from `aem.component-prefix`)\n5. **Strip prefixes**: `prefix-hero` → also search `hero`\n\n**If `.ai\u002Fproject\u002Fproject.yaml` exists:** Read `platforms[].component-prefixes` for additional prefix variations. For each prefix, generate `{prefix}{name}` as an additional variation. Example: prefixes `[mycomp-, mycomp-bff-, canada-, corp-]` → also search `mycomp-{name}`, `mycomp-bff-{name}`, `canada-{name}`, `corp-{name}`.\n\nBuild a single grep regex covering all variations.\n\nIf no argument provided, ask the user for the component name.\n\n## 2. Search Local Docs (DIRECT — no agent)\n\n**Do NOT spawn an agent for this.** Use direct Grep\u002FRead calls — it's just 2-4 files.\n\nRun these Grep calls **in parallel** (all variations in one regex pattern):\n\n1. **Grep** `.ai\u002Fproject\u002Fcomponent-index.md` for all variations — the local repo component index (generated by `\u002Faem-init`)\n2. **Grep** `.ai\u002Fproject\u002Fcomponent-index-project.md` for all variations — the cross-repo enriched component catalog (if it exists)\n3. **Read** `.ai\u002Fconfig.yaml` for project structure details — repos, component paths, SCM URLs\n\nFrom `component-index-project.md` extract (if found):\n- **Platform** column — your project's platform identifiers (e.g. `alpha`, `beta`), or both (determines which file patterns to use)\n- **FE** column — `B`, `C`, `B C`, `Yes`, `N\u002FA` (determines which FE repos\u002Fpaths to search)\n- **Source Link** — ADO URL containing the exact component path (critical for platforms that resolve the base path from the Source Link)\n- **Repo** column — which repo the component lives in\n- **Notes** — category info (BFF, Commerce, Form, etc.)\n\n**If Component Details section exists** for this component in `component-index-project.md`: extract dialog fields, Java models, clientlib info. These serve as fallback when AEM MCP is unavailable.\n\n## 3. Build Source File URLs\n\n### With file-patterns.yaml (preferred — data-driven resolution)\n\nIf `.ai\u002Fproject\u002Ffile-patterns.yaml` exists, spawn **ONE aem-file-resolver agent** with:\n- `component_name` — the confirmed component name from step 2\n- `platform` — detected platform(s) from the index match\n- `fe_locations` — FE column value from `component-index-project.md`\n\nThe agent reads `file-patterns.yaml`, resolves all files per platform, and returns a structured file table with ADO URLs.\n\n**Multi-platform support:** If the component exists on multiple platforms (e.g., two platforms `alpha` and `beta`), the agent resolves files for EACH platform separately and returns separate Backend sections.\n\n### Without file-patterns.yaml (convention-based fallback)\n\nRead `.ai\u002Fconfig.yaml` for:\n- `scm.org` and `scm.project` — for building SCM URLs\n- `aem.component-path` — component definition root\n- `aem.frontend-dir` — frontend source root (if applicable)\n- `repos:` — for cross-repo file resolution\n\n**SCM URL pattern** — Build URLs from the SCM config. For ADO:\n```\nhttps:\u002F\u002F\u003Cscm.org>.visualstudio.com\u002F\u003Cscm.project-url-encoded>\u002F_git\u002F\u003CREPO>?path=\u002F\u003CFILE_PATH>\n```\n\nOr read `ado.org` from `project.yaml`:\n```\nhttps:\u002F\u002F{ado.org}\u002F{ado-project}\u002F_git\u002F{repo}?path=\u002F{FILE_PATH}\n```\n\n**Apps files** — Use `aem.component-path` to derive:\n\n| File | Derived Path |\n|------|-------------|\n| HTL template | `\u003Ccomponent-path>\u002F\u003Cname>\u002F\u003Cname>.html` (or versioned: `\u003Cname>\u002Fv1\u002F\u003Cname>\u002F\u003Cname>.html`) |\n| Dialog | `\u003Ccomponent-path>\u002F\u003Cname>\u002F_cq_dialog\u002F.content.xml` (or versioned path) |\n| Component def | `\u003Ccomponent-path>\u002F\u003Cname>\u002F.content.xml` |\n\n**Verify with Glob** — don't assume the exact path pattern. Glob for `**\u002F\u003Cname>\u002F**\u002F*.html` and `**\u002F\u003Cname>\u002F**\u002F.content.xml` to confirm.\n\n**Frontend files** — Use `aem.frontend-dir` to locate JS\u002FSCSS\u002Fconfig:\n\n| File | Pattern |\n|------|---------|\n| JS | `\u003Cfrontend-dir>\u002F**\u002Fcomponents\u002F\u003Cname>\u002F*.\u003Cname>*.js` |\n| SCSS | `\u003Cfrontend-dir>\u002F**\u002Fcomponents\u002F\u003Cname>\u002F*.\u003Cname>*.scss` |\n| Config | `\u003Cfrontend-dir>\u002F**\u002Fcomponents\u002F\u003Cname>\u002F*.\u003Cname>*.config.js` |\n\n**Java\u002Fbackend files** — Grep for the component name in Java source:\n```\nGrep: {name}\npath: \u003Cjava-source-root>\nglob: \"*.java\"\n```\n\n**Only use ADO code search (`mcp__ado__search_code`) as a LAST RESORT** — if a component isn't in the docs at all and conventions don't apply.\n\n## 4. Find AEM Pages\n\n### With project.yaml (market-scoped search)\n\nIf `.ai\u002Fproject\u002Fproject.yaml` exists:\n- Read active brands\u002Fmarkets from `project.yaml` to get AEM content paths\n- Pass `primary_language_only: true` to aem-page-finder (reduces MCP calls)\n- If the component has a market-specific prefix (e.g., `canada-`), scope the search to matching markets only\n\n### Without project.yaml (config-based search)\n\nRead `.ai\u002Fconfig.yaml` `aem.content-paths` for configured content paths.\n\n### Spawn aem-page-finder\n\nSpawn **ONE aem-page-finder agent** (model: haiku). Pass it:\n- The **exact component name(s)** found in step 2\n- The **content paths** (from project.yaml markets or config.yaml)\n- The **author URL** (from `project.yaml` → `defaults.qa-author-url` or config.yaml → `aem.author-url-qa`)\n- `primary_language_only: true` (from content-paths.yaml or default)\n\nRun this agent in parallel with source file resolution (step 3).\n\n## 5. Inspect Dialog (optional, if AEM available)\n\n### Primary: AEM MCP (live dialog)\n\nIf AEM MCP is reachable, read the dialog structure:\n- Use `mcp__plugin_dx-aem_AEM__getNodeContent` on the `_cq_dialog` path with depth 6\n- Extract: field names, field types, labels, default values\n- Present as a compact table\n\n### Fallback: Component Details from index\n\nIf AEM is not reachable BUT Component Details section exists in `component-index-project.md` for this component (from step 2): display those dialog fields as fallback.\n\nIf neither source is available, note \"Dialog fields not available — no AEM MCP and no Component Details in index\".\n\n## 6. Present Results\n\n```markdown\n## Component: \u003Cname>\n\n**Resource type:** `\u003Cresource-type>`\n**Platform:** \u003Cplatform identifier, e.g. alpha | beta | both>\n**FE:** \u003CB | C | B C | Yes | N\u002FA>\n\n---\n\n### Source Files\n\n**Backend — \u003Crepo> (\u003Cplatform>)**\n| File | Purpose | Link |\n|------|---------|------|\n| `\u003Cname>.html` | HTL template | [link](url) |\n| `_cq_dialog\u002F.content.xml` | Author dialog | [link](url) |\n| `.content.xml` | Component definition | [link](url) |\n| `\u003CName>Model.java` | Sling Model | [link](url) |\n| `\u003CName>ModelTest.java` | Unit test | [link](url) |\n\n\u003CIf multi-platform, show separate Backend sections per platform>\n\n**Frontend — \u003Crepo> (\u003Cbrand|core>)**\n| File | Purpose | Link |\n|------|---------|------|\n| `\u003Cname>.js` | Component logic | [link](url) |\n| `\u003Cname>.scss` | Styles | [link](url) |\n| `\u003Cname>.hbs` | Template (Legacy only) | [link](url) |\n\n### Dialog Fields\n| Field | Type | Label | JCR Property |\n|-------|------|-------|-------------|\n| ... | ... | ... | ... |\n\n\u003CNote source: \"(from AEM MCP)\" or \"(from Component Details fallback)\">\n\n### AEM Pages\n| Page | Market | Author URL |\n|------|--------|-----------|\n| \u003Cpage-name> | \u003Cmarket> | [link](url) |\n\n\u003CGroup by market\u002Flanguage when market-scoped search was used>\n\n### Notes\n\u003CNaming mismatches, shared FE, missing files, edge cases, category info>\n\n---\n\n**Save results to a file?** (suggested: `.ai\u002Fresearch\u002F\u003Cname>.md`)\n```\n\n## 7. Save (if user confirms)\n\nIf the user says yes:\n- **Default location:** `.ai\u002Fresearch\u002F\u003Cname>.md`\n- Create the `.ai\u002Fresearch\u002F` directory if it doesn't exist\n- Confirm path after saving\n\n## Examples\n\n### Simple component lookup\n```\n\u002Faem-component hero\n```\nFinds all source files for the `hero` component — HTL, dialog XML, Java model, JS, SCSS. Shows dialog fields from AEM MCP (or index fallback). Lists top AEM pages using it with author URLs.\n\n### With project prefix\n```\n\u002Faem-component myprefix-banner\n```\nStrips the prefix, searches for both `banner` and `myprefix-banner` variations. Resolves files using `file-patterns.yaml` if available.\n\n### Multi-platform component\n```\n\u002Faem-component card\n```\nIf `card` exists on two platforms (e.g. `alpha` and `beta`), shows separate Backend sections for each with platform-specific file paths and ADO links.\n\n## Troubleshooting\n\n### \"Component not found in index\"\n**Cause:** Component is new (not yet in seed data) or uses an unexpected naming convention.\n**Fix:** Run `\u002Faem-refresh` to update seed data. Or check the component name — try without prefix, with hyphens removed, or with different prefix variations.\n\n### No AEM pages found\n**Cause:** Component isn't authored on any pages, or content paths in config don't cover the right site.\n**Fix:** Check `.ai\u002Fconfig.yaml` `aem.content-paths` covers the target site. The component may only exist in a market not listed in `aem.active-markets`.\n\n### Dialog fields show \"not available\"\n**Cause:** AEM MCP server is not running or unreachable.\n**Fix:** Start AEM locally (`http:\u002F\u002Flocalhost:4502`). If AEM is unavailable, the skill falls back to Component Details from `component-index-project.md` if available.\n\n## Rules\n\n- **Docs first** — always check both `component-index.md` AND `component-index-project.md` before any MCP call\n- **Data-driven when possible** — use file-patterns.yaml via aem-file-resolver agent when available, fall back to convention-based Glob when not\n- **Every seed data file is optional** — missing file = skip that capability gracefully, no errors\n- **TWO agents max** — aem-file-resolver (if file-patterns.yaml exists) + aem-page-finder. Everything else is direct tool calls.\n- **Normalize names** — handle hyphens, spaces, prefixes gracefully. Use project.yaml component-prefixes for additional variations.\n- **Multi-platform** — if component exists on multiple platforms, resolve files for EACH platform separately. Present as separate Backend sections.\n- **Clickable links** — all file paths as SCM\u002FADO URLs, all pages as AEM author URLs\n- **No guessing** — if a file isn't found, say \"Not found\" not \"probably exists at...\"\n- **FE naming gotcha** — if FE search returns nothing, check HTL `data-component-name` attribute; another component may share the FE code\n- **Dialog fallback** — use Component Details from index when AEM MCP is unavailable\n- **Ask to save** — always ask before writing files\n","You receive a component name and produce a complete developer reference — every source file, AEM page, and dialog field for that component.\n\n**Performance target:** ~10-15 tool calls total. No unnecessary agents or MCP calls.\n\n## 1. Parse Input & Normalize\n\nThe argument is a component name. Accept any format and generate **all search variations**.\n\n### Step 1a: Extract base name\n\nStrip resource type prefixes:\n- `project\u002Fcomponents\u002Fcontent\u002Fhero` → `hero`\n- `myapp\u002Fbase\u002Fcomponents\u002Fmyapp-banner` → `myapp-banner`\n\nRead `.ai\u002Fconfig.yaml` for `aem.component-prefix` to know the project's naming prefix.\n\n### Step 1b: Generate search variations (enhanced with project.yaml)\n\nFrom the base name, generate a **regex pattern** for grep that covers all naming conventions:\n\nGiven input `{name}`:\n\n1. **As-is**: `{name}`\n2. **Remove hyphens\u002Fspaces**: `my-component` → `mycomponent`\n3. **Add hyphens at word boundaries**: `mycomponent` → `my-component`\n4. **Project prefix**: `\u003Cprefix>-{name}` (from `aem.component-prefix`)\n5. **Strip prefixes**: `prefix-hero` → also search `hero`\n\n**If `.ai\u002Fproject\u002Fproject.yaml` exists:** Read `platforms[].component-prefixes` for additional prefix variations. For each prefix, generate `{prefix}{name}` as an additional variation. Example: prefixes `[mycomp-, mycomp-bff-, canada-, corp-]` → also search `mycomp-{name}`, `mycomp-bff-{name}`, `canada-{name}`, `corp-{name}`.\n\nBuild a single grep regex covering all variations.\n\nIf no argument provided, ask the user for the component name.\n\n## 2. Search Local Docs (DIRECT — no agent)\n\n**Do NOT spawn an agent for this.** Use direct Grep\u002FRead calls — it's just 2-4 files.\n\nRun these Grep calls **in parallel** (all variations in one regex pattern):\n\n1. **Grep** `.ai\u002Fproject\u002Fcomponent-index.md` for all variations — the local repo component index (generated by `\u002Faem-init`)\n2. **Grep** `.ai\u002Fproject\u002Fcomponent-index-project.md` for all variations — the cross-repo enriched component catalog (if it exists)\n3. **Read** `.ai\u002Fconfig.yaml` for project structure details — repos, component paths, SCM URLs\n\nFrom `component-index-project.md` extract (if found):\n- **Platform** column — your project's platform identifiers (e.g. `alpha`, `beta`), or both (determines which file patterns to use)\n- **FE** column — `B`, `C`, `B C`, `Yes`, `N\u002FA` (determines which FE repos\u002Fpaths to search)\n- **Source Link** — ADO URL containing the exact component path (critical for platforms that resolve the base path from the Source Link)\n- **Repo** column — which repo the component lives in\n- **Notes** — category info (BFF, Commerce, Form, etc.)\n\n**If Component Details section exists** for this component in `component-index-project.md`: extract dialog fields, Java models, clientlib info. These serve as fallback when AEM MCP is unavailable.\n\n## 3. Build Source File URLs\n\n### With file-patterns.yaml (preferred — data-driven resolution)\n\nIf `.ai\u002Fproject\u002Ffile-patterns.yaml` exists, spawn **ONE aem-file-resolver agent** with:\n- `component_name` — the confirmed component name from step 2\n- `platform` — detected platform(s) from the index match\n- `fe_locations` — FE column value from `component-index-project.md`\n\nThe agent reads `file-patterns.yaml`, resolves all files per platform, and returns a structured file table with ADO URLs.\n\n**Multi-platform support:** If the component exists on multiple platforms (e.g., two platforms `alpha` and `beta`), the agent resolves files for EACH platform separately and returns separate Backend sections.\n\n### Without file-patterns.yaml (convention-based fallback)\n\nRead `.ai\u002Fconfig.yaml` for:\n- `scm.org` and `scm.project` — for building SCM URLs\n- `aem.component-path` — component definition root\n- `aem.frontend-dir` — frontend source root (if applicable)\n- `repos:` — for cross-repo file resolution\n\n**SCM URL pattern** — Build URLs from the SCM config. For ADO:\n```\nhttps:\u002F\u002F\u003Cscm.org>.visualstudio.com\u002F\u003Cscm.project-url-encoded>\u002F_git\u002F\u003CREPO>?path=\u002F\u003CFILE_PATH>\n```\n\nOr read `ado.org` from `project.yaml`:\n```\nhttps:\u002F\u002F{ado.org}\u002F{ado-project}\u002F_git\u002F{repo}?path=\u002F{FILE_PATH}\n```\n\n**Apps files** — Use `aem.component-path` to derive:\n\n| File | Derived Path |\n|------|-------------|\n| HTL template | `\u003Ccomponent-path>\u002F\u003Cname>\u002F\u003Cname>.html` (or versioned: `\u003Cname>\u002Fv1\u002F\u003Cname>\u002F\u003Cname>.html`) |\n| Dialog | `\u003Ccomponent-path>\u002F\u003Cname>\u002F_cq_dialog\u002F.content.xml` (or versioned path) |\n| Component def | `\u003Ccomponent-path>\u002F\u003Cname>\u002F.content.xml` |\n\n**Verify with Glob** — don't assume the exact path pattern. Glob for `**\u002F\u003Cname>\u002F**\u002F*.html` and `**\u002F\u003Cname>\u002F**\u002F.content.xml` to confirm.\n\n**Frontend files** — Use `aem.frontend-dir` to locate JS\u002FSCSS\u002Fconfig:\n\n| File | Pattern |\n|------|---------|\n| JS | `\u003Cfrontend-dir>\u002F**\u002Fcomponents\u002F\u003Cname>\u002F*.\u003Cname>*.js` |\n| SCSS | `\u003Cfrontend-dir>\u002F**\u002Fcomponents\u002F\u003Cname>\u002F*.\u003Cname>*.scss` |\n| Config | `\u003Cfrontend-dir>\u002F**\u002Fcomponents\u002F\u003Cname>\u002F*.\u003Cname>*.config.js` |\n\n**Java\u002Fbackend files** — Grep for the component name in Java source:\n```\nGrep: {name}\npath: \u003Cjava-source-root>\nglob: \"*.java\"\n```\n\n**Only use ADO code search (`mcp__ado__search_code`) as a LAST RESORT** — if a component isn't in the docs at all and conventions don't apply.\n\n## 4. Find AEM Pages\n\n### With project.yaml (market-scoped search)\n\nIf `.ai\u002Fproject\u002Fproject.yaml` exists:\n- Read active brands\u002Fmarkets from `project.yaml` to get AEM content paths\n- Pass `primary_language_only: true` to aem-page-finder (reduces MCP calls)\n- If the component has a market-specific prefix (e.g., `canada-`), scope the search to matching markets only\n\n### Without project.yaml (config-based search)\n\nRead `.ai\u002Fconfig.yaml` `aem.content-paths` for configured content paths.\n\n### Spawn aem-page-finder\n\nSpawn **ONE aem-page-finder agent** (model: haiku). Pass it:\n- The **exact component name(s)** found in step 2\n- The **content paths** (from project.yaml markets or config.yaml)\n- The **author URL** (from `project.yaml` → `defaults.qa-author-url` or config.yaml → `aem.author-url-qa`)\n- `primary_language_only: true` (from content-paths.yaml or default)\n\nRun this agent in parallel with source file resolution (step 3).\n\n## 5. Inspect Dialog (optional, if AEM available)\n\n### Primary: AEM MCP (live dialog)\n\nIf AEM MCP is reachable, read the dialog structure:\n- Use `mcp__plugin_dx-aem_AEM__getNodeContent` on the `_cq_dialog` path with depth 6\n- Extract: field names, field types, labels, default values\n- Present as a compact table\n\n### Fallback: Component Details from index\n\nIf AEM is not reachable BUT Component Details section exists in `component-index-project.md` for this component (from step 2): display those dialog fields as fallback.\n\nIf neither source is available, note \"Dialog fields not available — no AEM MCP and no Component Details in index\".\n\n## 6. Present Results\n\n```markdown\n## Component: \u003Cname>\n\n**Resource type:** `\u003Cresource-type>`\n**Platform:** \u003Cplatform identifier, e.g. alpha | beta | both>\n**FE:** \u003CB | C | B C | Yes | N\u002FA>\n\n---\n\n### Source Files\n\n**Backend — \u003Crepo> (\u003Cplatform>)**\n| File | Purpose | Link |\n|------|---------|------|\n| `\u003Cname>.html` | HTL template | [link](url) |\n| `_cq_dialog\u002F.content.xml` | Author dialog | [link](url) |\n| `.content.xml` | Component definition | [link](url) |\n| `\u003CName>Model.java` | Sling Model | [link](url) |\n| `\u003CName>ModelTest.java` | Unit test | [link](url) |\n\n\u003CIf multi-platform, show separate Backend sections per platform>\n\n**Frontend — \u003Crepo> (\u003Cbrand|core>)**\n| File | Purpose | Link |\n|------|---------|------|\n| `\u003Cname>.js` | Component logic | [link](url) |\n| `\u003Cname>.scss` | Styles | [link](url) |\n| `\u003Cname>.hbs` | Template (Legacy only) | [link](url) |\n\n### Dialog Fields\n| Field | Type | Label | JCR Property |\n|-------|------|-------|-------------|\n| ... | ... | ... | ... |\n\n\u003CNote source: \"(from AEM MCP)\" or \"(from Component Details fallback)\">\n\n### AEM Pages\n| Page | Market | Author URL |\n|------|--------|-----------|\n| \u003Cpage-name> | \u003Cmarket> | [link](url) |\n\n\u003CGroup by market\u002Flanguage when market-scoped search was used>\n\n### Notes\n\u003CNaming mismatches, shared FE, missing files, edge cases, category info>\n\n---\n\n**Save results to a file?** (suggested: `.ai\u002Fresearch\u002F\u003Cname>.md`)\n```\n\n## 7. Save (if user confirms)\n\nIf the user says yes:\n- **Default location:** `.ai\u002Fresearch\u002F\u003Cname>.md`\n- Create the `.ai\u002Fresearch\u002F` directory if it doesn't exist\n- Confirm path after saving\n\n## Examples\n\n### Simple component lookup\n```\n\u002Faem-component hero\n```\nFinds all source files for the `hero` component — HTL, dialog XML, Java model, JS, SCSS. Shows dialog fields from AEM MCP (or index fallback). Lists top AEM pages using it with author URLs.\n\n### With project prefix\n```\n\u002Faem-component myprefix-banner\n```\nStrips the prefix, searches for both `banner` and `myprefix-banner` variations. Resolves files using `file-patterns.yaml` if available.\n\n### Multi-platform component\n```\n\u002Faem-component card\n```\nIf `card` exists on two platforms (e.g. `alpha` and `beta`), shows separate Backend sections for each with platform-specific file paths and ADO links.\n\n## Troubleshooting\n\n### \"Component not found in index\"\n**Cause:** Component is new (not yet in seed data) or uses an unexpected naming convention.\n**Fix:** Run `\u002Faem-refresh` to update seed data. Or check the component name — try without prefix, with hyphens removed, or with different prefix variations.\n\n### No AEM pages found\n**Cause:** Component isn't authored on any pages, or content paths in config don't cover the right site.\n**Fix:** Check `.ai\u002Fconfig.yaml` `aem.content-paths` covers the target site. The component may only exist in a market not listed in `aem.active-markets`.\n\n### Dialog fields show \"not available\"\n**Cause:** AEM MCP server is not running or unreachable.\n**Fix:** Start AEM locally (`http:\u002F\u002Flocalhost:4502`). If AEM is unavailable, the skill falls back to Component Details from `component-index-project.md` if available.\n\n## Rules\n\n- **Docs first** — always check both `component-index.md` AND `component-index-project.md` before any MCP call\n- **Data-driven when possible** — use file-patterns.yaml via aem-file-resolver agent when available, fall back to convention-based Glob when not\n- **Every seed data file is optional** — missing file = skip that capability gracefully, no errors\n- **TWO agents max** — aem-file-resolver (if file-patterns.yaml exists) + aem-page-finder. Everything else is direct tool calls.\n- **Normalize names** — handle hyphens, spaces, prefixes gracefully. Use project.yaml component-prefixes for additional variations.\n- **Multi-platform** — if component exists on multiple platforms, resolve files for EACH platform separately. Present as separate Backend sections.\n- **Clickable links** — all file paths as SCM\u002FADO URLs, all pages as AEM author URLs\n- **No guessing** — if a file isn't found, say \"Not found\" not \"probably exists at...\"\n- **FE naming gotcha** — if FE search returns nothing, check HTL `data-component-name` attribute; another component may share the FE code\n- **Dialog fallback** — use Component Details from index when AEM MCP is unavailable\n- **Ask to save** — always ask before writing files\n",{"name":5,"description":7,"allowed-tools":41,"argument-hint":46},[24,26,21,25,42,43,44,45],"agent","ado\u002F*","AEM\u002F*","playwright\u002F*","[component name (e.g., hero, banner, accordion)]","main","a99cabc3f459fbeaa42b13a1604db1bccb6a364b","plugins\u002Fdx-aem\u002Fskills\u002Faem-component",3,"https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow","https:\u002F\u002Fgithub.com\u002Feasingthemes","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fdraganfilipovic\u002F","Agentic SDLC platform in production. I build agent-ready codebases. AEM MCP Server author.","2026-11-11 09:59:48",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add easingthemes\u002Fdx-aem-flow --skill aem-component",{"tool":62,"command":63},"bunx","bunx skills add easingthemes\u002Fdx-aem-flow --skill aem-component",{"tool":65,"command":66},"pnpm","pnpm dlx skills add easingthemes\u002Fdx-aem-flow --skill aem-component","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-aem\u002Fskills\u002Faem-component\u002FSKILL.md",true,[],[71,93,114,132,148,163],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":36},"01M6H48W19F46A7B7TSSQAMYRW","dx-hub-status","Show hub dispatch status — which repos are running, done, blocked or failed. Use for 'hub status', 'what's running'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-status\u002FSKILL.md",[],[78,79,80,81,82,83,84,33,85,86,27,87,88,89,90,24,25,91,92],"dx","dx hub status","hub","status","hub status","which","show","ticket","clean","done","Bash","id","dispatch","repos","grep",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":36},"01M6H48R6ZH7YMVPMVWMMWT3RA","dx-hub-init","Initialize a hub directory for multi-repo orchestration. Discovers sibling repos, merges configs, validates CLI compatibility. Use when setting up hub mode for the first time. Trigger on \"init hub\", \"set up hub\", \"multi-repo setup\".","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-init\u002FSKILL.md",[],[100,101,78,102,80,103,104,105,106,107,108,109,110,111,88,112,113,24,25,26],"init","hub init","dx hub init","SET","time","mode","default","up","repo setup","orchestration","configure","multi-repo","cli","directory",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":36},"01M6H48K267CWEF8YNN3Y49BVT","dx-hub-dispatch","Dispatch a ticket to several repos — open an independent Claude session per repo in VS Code terminals. Use for 'hub dispatch', 'work on ticket across repos'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-dispatch\u002FSKILL.md",[],[78,121,90,80,32,33,122,123,124,85,125,126,27,127,88,128,129,130,89,131],"dx hub dispatch","repo","work on","session","open","MCP","URL","vscode","code","across","work",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":36},"01M6H48FAWKTT6AAWT3H80ZKE0","dx-hub-config","View and edit hub configuration — add repos, adjust terminal delay. Use to manage hub settings. Trigger on \"hub config\", \"add repo to hub\", \"terminal delay\".","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-config\u002FSKILL.md",[],[78,139,80,140,84,141,122,142,143,144,145,27,110,88,146,24,147,25,26,91],"dx hub config","config","view","manage","trigger","true","adjust","terminal","settings",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":36},"01M6H48BNMYEJY6CCWPYHNQDAT","dx-discover-repos","Resolve which repos a work item touches (explicit directive → simple block → cross-repo table → LLM). Used by the KAI-HUB router to fan an agent out across repos; 'which repos'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-discover-repos\u002FSKILL.md",[],[155,78,156,91,83,122,130,157,89,158,131,159,80,160,161,162],"discover","dx discover repos","router","directive","simple","block","sonnet","table",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":36},"01M6H487QA1FDSBT1HTZGW4HAQ","dx-upgrade","Upgrade a consumer project to the installed plugin versions — run dx-doctor, fix stale and missing files, list manual actions. Use after upgrading plugins.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-core\u002Fskills\u002Fdx-upgrade\u002FSKILL.md",[],[170,78,171,172,173,21,174,28,175,176,24,25,26,177,178,179,180,27,181,182],"upgrade","dx upgrade","project","actions","fix","auto","run","list","doctor","manual","missing","plugin","plugins"]