[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H3Z2QQZN6R4ZVPJYNEJHDM":3,"skill-same:01M6H3Z2QQZN6R4ZVPJYNEJHDM":68},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6H3Z2QQZN6R4ZVPJYNEJHDM","aem-page-search",null,"Find AEM pages that use a given component, with clickable author URLs. Use for 'where is this component used?', 'which pages use the hero?'.","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-page-search\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"search","page","aem page search","playwright","component","find","read","write","edit","use","pages","banner","name","with","which","for","2026-11-10 10:12:30",false,"---\nname: aem-page-search\ndescription: \"Find AEM pages that use a given component, with clickable author URLs. Use for 'where is this component used?', 'which pages use the hero?'.\"\nargument-hint: \"[component-name] (e.g., hero, banner, accordion)\"\nallowed-tools: [\"read\", \"edit\", \"search\", \"write\", \"agent\", \"AEM\u002F*\", \"playwright\u002F*\"]\n---\n\nYou find every AEM page that uses a given component and return clickable author URLs.\n\n## 1. Parse Input\n\nThe argument is a component name. Read `.ai\u002Fconfig.yaml` for:\n- `aem.resource-type-pattern` — to build the full resource type\n- `aem.component-prefix` — to normalize the name\n- `aem.content-paths` — to scope the search\n- `aem.author-url` — for building author URLs (defaults to `http:\u002F\u002Flocalhost:4502`)\n- `aem.author-url-qa` — for QA\u002Fstage author URLs (if configured)\n\nBuild the full resource type: substitute `\u003Cname>` in `aem.resource-type-pattern` with the component name.\n\nIf no argument provided, ask the user for the component name.\n\n## 2. Load AEM MCP Tools\n\n```\nToolSearch query: \"+AEM search\"\n```\n\nThis loads `mcp__plugin_dx-aem_AEM__searchContent`, `mcp__plugin_dx-aem_AEM__enhancedPageSearch`, and `mcp__plugin_dx-aem_AEM__scanPageComponents`.\n\n## 3. Search AEM Content\n\nSearch each configured content path using `mcp__plugin_dx-aem_AEM__searchContent`:\n\n```\npath: {content-path}           # e.g., \u002Fcontent\u002Fmysite\u002Fen\nfulltext: {component_name}\nlimit: 20\n```\n\n**Always also search Experience Fragments** (components often live on XF, not pages):\n```\npath: \u002Fcontent\u002Fexperience-fragments\u002F{site-segment}\nfulltext: {component_name}\nlimit: 20\n```\nDerive the XF path from the content path pattern.\n\n### If initial search returns 0 results\n\nTry multiple strategies before concluding 0 pages:\n\n1. **Exact resourceType JCR query:**\n   ```sql\n   SELECT * FROM [nt:unstructured] WHERE [sling:resourceType] = '\u003Cresource-type>' AND ISDESCENDANTNODE('\u002Fcontent')\n   ```\n\n2. **LIKE query** (catches path prefix variations):\n   ```sql\n   SELECT * FROM [nt:unstructured] WHERE [sling:resourceType] LIKE '%\u002Fcomponents\u002F%\u002F\u003Cname>' AND ISDESCENDANTNODE('\u002Fcontent')\n   ```\n\n3. **Enhanced page search** by component name as keyword\n\n4. **Scan known pages** using `scanPageComponents` on likely pages (homepage, test pages)\n\n**Never report \"0 pages found\" after trying only one query.** Try at least strategies 1-3.\n\n## 4. Extract Page Paths\n\nAEM returns full JCR paths like:\n```\n\u002Fcontent\u002Fmysite\u002Fen\u002Fproducts\u002Fhero-page\u002Fjcr:content\u002Froot\u002F...\u002Fhero\n```\n\nStrip everything from `jcr:content` onward to get the page path:\n```\n\u002Fcontent\u002Fmysite\u002Fen\u002Fproducts\u002Fhero-page\n```\n\nDeduplicate — multiple component instances on the same page should produce one entry.\n\n## 5. Build Author URLs\n\nUse the QA author URL if configured (`aem.author-url-qa`), otherwise fall back to `aem.author-url`.\n\nFormat: `\u003Cauthor-url>\u002Feditor.html{pagePath}.html`\n\nExtract a human-readable page name from the last path segment.\n\n## 6. Verify (optional, for top 1-2 pages)\n\nIf time permits, use `mcp__plugin_dx-aem_AEM__scanPageComponents` on the first found page to:\n- Confirm the component is actually there (search can have false positives)\n- Get the component's authored properties as bonus context\n\n## 7. Present Results\n\n```markdown\n## AEM Pages: \u003Ccomponent_name>\n\n**Resource type:** `\u003Cresource-type>`\n**Total found:** \u003Ccount> pages\n\n### \u003CSite\u002FSection Name>\n| Page | Author URL |\n|------|-----------|\n| \u003Cpage-name> | [Open in Author](\u003Cauthor-url>\u002Feditor.html\u003Cpath>.html) |\n\n### Experience Fragments\n| Fragment | Author URL |\n|----------|-----------|\n| \u003Cfragment> | [Open in Author](\u003Cauthor-url>\u002Feditor.html\u003Cpath>.html) |\n\n### Not Found\n- \u003Cpaths searched with zero results>\n```\n\n## Rules\n\n- **Load tools first** — call `ToolSearch(\"+AEM\")` before any MCP calls\n- **Config first** — read `.ai\u002Fconfig.yaml` for content paths and author URLs before any AEM query\n- **Config-driven paths** — search ONLY configured content paths. Don't add extras.\n- **Multiple strategies** — never conclude \"0 pages\" after a single query\n- **Clickable URLs** — every page must have a clickable author URL\n- **Don't forget XF** — many components live on Experience Fragments, not regular pages\n- **Deduplicate** — same page path should appear once even if component is used multiple times\n- **Handle AEM unavailable** — if MCP calls fail, report \"AEM author not reachable\" and return what was found in docs\n- **Keep it compact** — return the table, not raw JSON\n\n## Examples\n\n1. `\u002Faem-page-search hero` — Searches configured content paths for pages using the hero component. Finds 12 regular pages and 3 experience fragments. Returns a table with page paths and clickable author URLs for each.\n\n2. `\u002Faem-page-search productlisting` — Searches across all configured markets (gb, de, fr). Finds the component on 5 PLP pages and 2 experience fragments. Groups results by content type (Pages vs Experience Fragments) with author editor links.\n\n3. `\u002Faem-page-search card` (no results from first query) — Initial JCR query returns 0 results. Falls back to alternative search strategies: searches by resource type variation, checks experience fragment paths separately. Finds 4 pages on second attempt using the full resource type path.\n\n## Troubleshooting\n\n- **\"AEM author not reachable\"**\n  **Cause:** AEM instance is not running or MCP connection failed.\n  **Fix:** Start AEM locally or verify `aem.author-url` in `.ai\u002Fconfig.yaml`. The skill requires a live AEM instance — it cannot search pages offline.\n\n- **0 pages found but component is definitely used**\n  **Cause:** The component resource type doesn't match what was searched, or the content paths in config don't cover the right directories.\n  **Fix:** Check the exact `sling:resourceType` in the component's `.content.xml`. Also verify `aem.content-paths` in `.ai\u002Fconfig.yaml` includes the paths where the component is authored (e.g., `\u002Fcontent\u002Fbrand-a\u002Fgb\u002Fen\u002F`).\n\n- **Duplicate entries in results**\n  **Cause:** The same page appears in multiple search strategies.\n  **Fix:** This shouldn't happen — the skill deduplicates by page path. If you see duplicates, report it as a bug. The table should show each page path only once.\n","You find every AEM page that uses a given component and return clickable author URLs.\n\n## 1. Parse Input\n\nThe argument is a component name. Read `.ai\u002Fconfig.yaml` for:\n- `aem.resource-type-pattern` — to build the full resource type\n- `aem.component-prefix` — to normalize the name\n- `aem.content-paths` — to scope the search\n- `aem.author-url` — for building author URLs (defaults to `http:\u002F\u002Flocalhost:4502`)\n- `aem.author-url-qa` — for QA\u002Fstage author URLs (if configured)\n\nBuild the full resource type: substitute `\u003Cname>` in `aem.resource-type-pattern` with the component name.\n\nIf no argument provided, ask the user for the component name.\n\n## 2. Load AEM MCP Tools\n\n```\nToolSearch query: \"+AEM search\"\n```\n\nThis loads `mcp__plugin_dx-aem_AEM__searchContent`, `mcp__plugin_dx-aem_AEM__enhancedPageSearch`, and `mcp__plugin_dx-aem_AEM__scanPageComponents`.\n\n## 3. Search AEM Content\n\nSearch each configured content path using `mcp__plugin_dx-aem_AEM__searchContent`:\n\n```\npath: {content-path}           # e.g., \u002Fcontent\u002Fmysite\u002Fen\nfulltext: {component_name}\nlimit: 20\n```\n\n**Always also search Experience Fragments** (components often live on XF, not pages):\n```\npath: \u002Fcontent\u002Fexperience-fragments\u002F{site-segment}\nfulltext: {component_name}\nlimit: 20\n```\nDerive the XF path from the content path pattern.\n\n### If initial search returns 0 results\n\nTry multiple strategies before concluding 0 pages:\n\n1. **Exact resourceType JCR query:**\n   ```sql\n   SELECT * FROM [nt:unstructured] WHERE [sling:resourceType] = '\u003Cresource-type>' AND ISDESCENDANTNODE('\u002Fcontent')\n   ```\n\n2. **LIKE query** (catches path prefix variations):\n   ```sql\n   SELECT * FROM [nt:unstructured] WHERE [sling:resourceType] LIKE '%\u002Fcomponents\u002F%\u002F\u003Cname>' AND ISDESCENDANTNODE('\u002Fcontent')\n   ```\n\n3. **Enhanced page search** by component name as keyword\n\n4. **Scan known pages** using `scanPageComponents` on likely pages (homepage, test pages)\n\n**Never report \"0 pages found\" after trying only one query.** Try at least strategies 1-3.\n\n## 4. Extract Page Paths\n\nAEM returns full JCR paths like:\n```\n\u002Fcontent\u002Fmysite\u002Fen\u002Fproducts\u002Fhero-page\u002Fjcr:content\u002Froot\u002F...\u002Fhero\n```\n\nStrip everything from `jcr:content` onward to get the page path:\n```\n\u002Fcontent\u002Fmysite\u002Fen\u002Fproducts\u002Fhero-page\n```\n\nDeduplicate — multiple component instances on the same page should produce one entry.\n\n## 5. Build Author URLs\n\nUse the QA author URL if configured (`aem.author-url-qa`), otherwise fall back to `aem.author-url`.\n\nFormat: `\u003Cauthor-url>\u002Feditor.html{pagePath}.html`\n\nExtract a human-readable page name from the last path segment.\n\n## 6. Verify (optional, for top 1-2 pages)\n\nIf time permits, use `mcp__plugin_dx-aem_AEM__scanPageComponents` on the first found page to:\n- Confirm the component is actually there (search can have false positives)\n- Get the component's authored properties as bonus context\n\n## 7. Present Results\n\n```markdown\n## AEM Pages: \u003Ccomponent_name>\n\n**Resource type:** `\u003Cresource-type>`\n**Total found:** \u003Ccount> pages\n\n### \u003CSite\u002FSection Name>\n| Page | Author URL |\n|------|-----------|\n| \u003Cpage-name> | [Open in Author](\u003Cauthor-url>\u002Feditor.html\u003Cpath>.html) |\n\n### Experience Fragments\n| Fragment | Author URL |\n|----------|-----------|\n| \u003Cfragment> | [Open in Author](\u003Cauthor-url>\u002Feditor.html\u003Cpath>.html) |\n\n### Not Found\n- \u003Cpaths searched with zero results>\n```\n\n## Rules\n\n- **Load tools first** — call `ToolSearch(\"+AEM\")` before any MCP calls\n- **Config first** — read `.ai\u002Fconfig.yaml` for content paths and author URLs before any AEM query\n- **Config-driven paths** — search ONLY configured content paths. Don't add extras.\n- **Multiple strategies** — never conclude \"0 pages\" after a single query\n- **Clickable URLs** — every page must have a clickable author URL\n- **Don't forget XF** — many components live on Experience Fragments, not regular pages\n- **Deduplicate** — same page path should appear once even if component is used multiple times\n- **Handle AEM unavailable** — if MCP calls fail, report \"AEM author not reachable\" and return what was found in docs\n- **Keep it compact** — return the table, not raw JSON\n\n## Examples\n\n1. `\u002Faem-page-search hero` — Searches configured content paths for pages using the hero component. Finds 12 regular pages and 3 experience fragments. Returns a table with page paths and clickable author URLs for each.\n\n2. `\u002Faem-page-search productlisting` — Searches across all configured markets (gb, de, fr). Finds the component on 5 PLP pages and 2 experience fragments. Groups results by content type (Pages vs Experience Fragments) with author editor links.\n\n3. `\u002Faem-page-search card` (no results from first query) — Initial JCR query returns 0 results. Falls back to alternative search strategies: searches by resource type variation, checks experience fragment paths separately. Finds 4 pages on second attempt using the full resource type path.\n\n## Troubleshooting\n\n- **\"AEM author not reachable\"**\n  **Cause:** AEM instance is not running or MCP connection failed.\n  **Fix:** Start AEM locally or verify `aem.author-url` in `.ai\u002Fconfig.yaml`. The skill requires a live AEM instance — it cannot search pages offline.\n\n- **0 pages found but component is definitely used**\n  **Cause:** The component resource type doesn't match what was searched, or the content paths in config don't cover the right directories.\n  **Fix:** Check the exact `sling:resourceType` in the component's `.content.xml`. Also verify `aem.content-paths` in `.ai\u002Fconfig.yaml` includes the paths where the component is authored (e.g., `\u002Fcontent\u002Fbrand-a\u002Fgb\u002Fen\u002F`).\n\n- **Duplicate entries in results**\n  **Cause:** The same page appears in multiple search strategies.\n  **Fix:** This shouldn't happen — the skill deduplicates by page path. If you see duplicates, report it as a bug. The table should show each page path only once.\n",{"name":5,"description":7,"allowed-tools":40,"argument-hint":44},[25,27,19,26,41,42,43],"agent","AEM\u002F*","playwright\u002F*","[component-name] (e.g., hero, banner, accordion)","main","a99cabc3f459fbeaa42b13a1604db1bccb6a364b","plugins\u002Fdx-aem\u002Fskills\u002Faem-page-search",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":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add easingthemes\u002Fdx-aem-flow --skill aem-page-search",{"tool":60,"command":61},"bunx","bunx skills add easingthemes\u002Fdx-aem-flow --skill aem-page-search",{"tool":63,"command":64},"pnpm","pnpm dlx skills add easingthemes\u002Fdx-aem-flow --skill aem-page-search","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-aem\u002Fskills\u002Faem-page-search\u002FSKILL.md",true,[],[69,90,111,130,146,161],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":35},"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",[],[76,77,78,79,80,33,81,34,82,83,28,84,85,86,87,25,26,88,89],"dx","dx hub status","hub","status","hub status","show","ticket","clean","done","Bash","id","dispatch","repos","grep",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":35},"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",[],[97,98,76,99,78,100,101,102,103,104,105,106,107,108,85,109,110,25,26,27],"init","hub init","dx hub init","SET","time","mode","default","up","repo setup","orchestration","configure","multi-repo","cli","directory",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":35},"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",[],[76,118,87,78,119,34,120,121,122,82,123,124,28,125,85,126,127,128,86,129],"dx hub dispatch","ado","repo","work on","session","open","MCP","URL","vscode","code","across","work",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":35},"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",[],[76,137,78,138,81,139,120,140,141,142,143,28,107,85,144,25,145,26,27,88],"dx hub config","config","view","manage","trigger","true","adjust","terminal","settings",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":35},"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",[],[153,76,154,88,33,120,128,155,86,156,129,157,78,158,159,160],"discover","dx discover repos","router","directive","simple","block","sonnet","table",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":35},"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",[],[168,76,169,170,171,19,172,173,174,175,25,26,27,176,177,178,179,28,180,181],"upgrade","dx upgrade","project","actions","fix","files","auto","run","list","doctor","manual","missing","plugin","plugins"]