From dx-core
Answer developer questions about project architecture, components, patterns, and workflows. Use when a developer asks "how does X work?", "what is Y?", "where do I find Z?", or any general question about the project. This is the go-to skill for questions that aren't about a specific ticket or component lookup.
npx claudepluginhub easingthemes/dx-aem-flow --plugin dx-coreThis skill is limited to using the following tools:
You answer developer questions about the project by searching documentation and source code. You are a knowledge base navigator — you find the answer in docs and code.
Explores codebases to answer questions about how code works, trace execution flows, or research topics via semantic search. Offers autonomous mode for structured subagent output and interactive mode with narrative checkpoints.
Answers repository questions by searching source code files and providing inline citations with a key files table. Use for codebase queries, specific file/function explanations, or 'how does X work'.
Guides developer mindset and workflow for programming projects: creating new projects, tech stack review, codebase changes, features, bugs, docs, architecture, tests, debugging, performance, deployment.
Share bugs, ideas, or general feedback.
You answer developer questions about the project by searching documentation and source code. You are a knowledge base navigator — you find the answer in docs and code.
The argument is a free-text question. Examples:
If no argument provided, ask the user what they want to know.
Determine which docs area is most likely to have the answer:
| Question about... | Search in... |
|---|---|
| A specific component | component-index.md + component-index-project.md → suggest /aem-component instead |
| Architecture / pipeline / rendering | .ai/project/architecture.md |
| A feature (auth, forms, commerce, etc.) | .ai/project/features.md |
| Repos, teams, structure | .ai/project/project.yaml |
| Brands, markets, locales | .ai/project/project.yaml |
| Platforms (Legacy vs DXN) | .ai/project/project.yaml, .ai/project/architecture.md |
| File paths, conventions | .ai/project/file-patterns.yaml |
| Content paths, languages | .ai/project/content-paths.yaml |
| Build, deploy, infrastructure | .ai/project/architecture.md, CLAUDE.md |
| Setup, config | Suggest running /aem-init |
Prerequisite: .ai/ directory must exist. Richer answers available when .ai/project/ seed data files are present.
Use a dx-doc-searcher agent to search .ai/ and .ai/project/ files. This step is mandatory — never skip the agent, even for simple questions.
The agent returns:
If step 3 didn't fully answer the question, search other repos:
Read .ai/config.yaml to determine:
repos: section in config.yaml, or from .ai/project/project.yaml → repos[]repos[].path in config.yaml or project.yamlFor each related repo that has a local path, use Grep to search source code. Extract 3-5 keywords from the question and search with context (-C 5). Use specific glob patterns:
**/src/main/java/**/*.java**/src/**/components/**/*.{js,scss,hbs}**/.content.xmlSpawn parallel Explore agents for repos likely to have the answer — one agent per repo.
For repos NOT cloned locally:
mcp__ado__search_code to search the repo by nameToolSearch("+ado search")Clearly label which repo the results came from.
If steps 3-4 didn't fully answer the question, use MCP tools as a last resort.
For AEM-specific questions, load AEM MCP tools via ToolSearch("+AEM") and query:
mcp__plugin_dx-aem_AEM__getNodeContentmcp__plugin_dx-aem_AEM__searchContentMost questions should be answerable from docs + related repos.
## <Rephrased question as heading>
<Clear, concise answer — 3-10 sentences. Written for a developer.
Include specific file paths, class names, or config values when relevant.>
<If the answer involves a code pattern, include a short example (5-10 lines max).>
### Key Points
- <bullet 1>
- <bullet 2>
- <bullet 3>
### Sources
- [<doc-title>](docs/<path>) — <what this doc covers>
- **<RepoName>**: `<file-path>` — <what was found>
### Related
- `/aem-component <name>` — if a component was referenced
- `/dx-ticket-analyze <id>` — if a ticket was referenced
- `/aem-init` — if setup is needed
---
**Save results to a file?** (suggested: `.ai/research/<slug>.md`)
If the user says yes:
.ai/research/ directory if it doesn't exist.ai/research/<slug>.md/dx-help how does the rendering pipeline work?
Searches .ai/project/architecture.md, returns a concise explanation with key points and sources.
/dx-help what files does the hero component have?
Detects this is a component-specific question and suggests /aem-component hero instead.
/dx-help what is the activation service?
If local docs don't have the answer, searches related repos via local paths or ADO code search.
Cause: Project hasn't been initialized with /dx-init and /aem-init.
Fix: Run /dx-init first, then /aem-init for AEM projects. Seed data in .ai/project/ provides the knowledge base.
Cause: .ai/project/ seed data files are missing or incomplete.
Fix: Run /aem-refresh to update seed data. Richer seed data = richer answers.
Cause: Related repos don't have path configured in .ai/config.yaml.
Fix: Add repos[].path entries to config, or the skill falls back to ADO code search (slower).
/aem-component.ai/project/ files = reduced coverage, not an error