Set up AEM Agent Skills
Learn how to set up AEM Agent Skills for AI-assisted development.
When you ask a coding agent through an AI-powered IDE to work on AEM development tasks, it can use AEM Agent Skills procedural guidance from Adobe instead of relying only on generic model training or whatever it can infer from your repository alone.
Adobe provides the AEM Agent Skills via the Adobe Skills repository. Also see the AI-assisted development for how Adobe helps with AI-assisted development.
In this tutorial, you install the skills on a local clone of the WKND Sites Project. You can use the same steps for your own AEM as a Cloud Service project.
Voraussetzungen
To follow this tutorial, you need the following:
- A local clone of the WKND Sites Project or your own AEM as a Cloud Service project.
- An AI-powered IDE such as Cursor, or Visual Studio Code with GitHub Copilot.
Install AEM Agent Skills
Install AEM Agent Skills with the npx command (requires Node.js so npx is available). For other install options, for example, Claude Code plugins or the GitHub CLI extension, see the Installation section in the Adobe Skills repository.
-
Clone the WKND Sites Project locally:
code language-shell $ git clone https://github.com/adobe/aem-guides-wknd.git -
Open the cloned project in your AI-powered IDE (for example, Cursor) and open the integrated terminal.
-
Run the following command to add AEM Agent Skills for Cursor:
code language-shell $ npx skills add https://github.com/adobe/skills/tree/main/plugins/aem/cloud-service --agent cursorFor other agent types, see the Installation section in the Adobe Skills repository.
-
When prompted, choose which AEM Agent Skills to install.
Wählen Sie die Qualifikation Ensure-agents-md aus, damit das Installationsprogramm AGENTS.md- und CLAUDE.md-Dateien im Repository-Stamm erstellen kann. Diese Bootstrap-Kenntnisse untersuchen Ihr Projekt, z. B. die
pom.xmlund Module, und generieren eine maßgeschneiderte Agentenführung.Wenn AGENTS.md bereits vorhanden ist, wird nicht.
-
Wählen Sie den Installationsumfang aus. In dieser exemplarischen Vorgehensweise ist der Umfang Projekt typisch, damit Dateien mit Kenntnissen im Repository live sind.
-
Bestätigen Sie die Installation unter
.agents/skills. Sie sollten SKILLS.md und die zugehörigen Referenz- und Asset-Ordner sehen.
-
Wenn Adobe Kenntnisse hinzufügt oder aktualisiert, verwenden Sie die CLI, um diese hinzuzufügen, zu aktualisieren, zu entfernen oder aufzulisten. So zeigen Sie alle Befehle an:
code language-shell $ npx skills --help
Anwendungsszenarien
Erstellen der AEM-Komponente mit KI-unterstützter Entwicklung
Erfahren Sie, wie Sie mit KI-unterstützter Entwicklung AEM-Komponenten entwickeln können.