/aem-cloud-service:ensure-agents-md-cloud-servicefrom aem-cloud-service
Bootstraps AGENTS.md and CLAUDE.md for AEM Cloud Service projects when missing. Runs before any other task until files exist.
Ships in aem-cloud-service. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before any other work — including dispatcher, create-component, code edits, MCP, or answers — the agent MUST:
AGENTS.md exists at the workspace (repository) root.AGENTS.md and CLAUDE.md if missing), then fulfill the user’s original request.This applies to every user message and any intent (bugs, features, questions, dispatcher, etc.) until AGENTS.md is present. Do not defer bootstrap to “after” the main task.
It creates AGENTS.md and CLAUDE.md at the repository root so every AI coding agent (Claude Code, Cursor, etc.) gets project guidance, optionally tailored using the module catalog and add-on detection.
Creating the two files changes the user's project. Don't create them yet when:
code-assessment plans and asks about first, and the user has not said yes to that plan yet.Then do the user's request without them, and offer the files in your answer or add them to the plan. Create them only after the user agrees. If the run can't ask the user (headless, non-interactive), don't create them.
AGENTS.md at the workspace root. If it exists → skip, move on.pom.xml exists and references
com.adobe.aem:aem-sdk-api or aem-project-archetype or contains <modules> with
typical AEM module names (core, ui.apps, dispatcher, etc.).
If not an AEM project → skip.Check in order:
pom.xml → <name> element (preferred, usually human-readable).pom.xml → <artifactId>, then humanize: strip leading aem-, replace - with spaces,
title-case (e.g. aem-guides-wknd → WKND, my-site → My Site)."AEM Cloud Service Project".Read root pom.xml <modules> section. For each <module>, confirm the directory actually exists.
Build a list of present modules.
Scan the project for:
| Signal | Add-on / variant |
|---|---|
pom.xml depends on cif-connector or aem-core-cif-components | CIF (Commerce) |
ui.frontend/package.json contains react or @adobe/aem-react-editable-components | React SPA |
ui.frontend/package.json contains @angular/core or @adobe/aem-angular-editable-components | Angular SPA |
ui.frontend has no clientlib.config.js and pom.xml references frontend-maven-plugin but outputs no clientlibs | Decoupled frontend |
pom.xml depends on aem-forms-* or forms.core | AEM Forms |
Module ui.frontend.react.forms.af exists | Headless Forms |
pom.xml uses precompiled-scripts-provider | Precompiled Scripts |
If none of these are detected, treat as General Webpack frontend (the default archetype).
Read the template at references/AGENTS.md.template. Apply the following adaptations:
Replace {{PROJECT_NAME}} with the resolved project name.
If any add-ons were detected (CIF, Forms, Headless Forms, Precompiled Scripts), insert an "Add-ons and extensions" section after the intro paragraph. Use descriptions from the references/module-catalog.md add-ons table. If none detected, omit the section entirely.
Only include modules that actually exist in the project. For each module, use the matching description from the module catalog. Pay attention to:
ui.frontend — use the variant that matches the detected frontend type (General, React, Angular, Decoupled).dispatcher — only include if the dispatcher directory exists.it.tests / ui.tests — only include if they exist.npm run build, npm start) only if ui.frontend exists.dispatcher module exists.npm start requires AEM running.Always include the base resources from the template. Additionally:
If CLAUDE.md does not exist at the workspace root, create it with exactly this content (so Claude/Cursor picks up project guidance):
@AGENTS.md
Do not overwrite an existing CLAUDE.md.
Briefly tell the user:
"I created
AGENTS.mdandCLAUDE.mdin your project root with guidance tailored to your project structure. These help AI coding agents understand your project."
Then continue with the user's original request.
| File | Purpose |
|---|---|
| references/AGENTS.md.template | Base template with {{PROJECT_NAME}} placeholder and all default sections |
| references/module-catalog.md | Module descriptions, add-on descriptions, conditional resources — the source of truth for adapting the template |
AGENTS.md or CLAUDE.md. Only create when missing.experienceleague.adobe.com/en/docs/experience-manager-cloud-service/...
(Cloud Service URLs), never to AEM 6.5 URLs.CHANGELOG.md (opens in a new tab)evals/evals.json (opens in a new tab)evals/files/site-project/core/pom.xml (opens in a new tab)evals/files/site-project/core/src/main/java/com/example/site/core/models/TeaserModel.java (opens in a new tab)evals/files/site-project/core/src/main/java/com/example/site/core/services/PriceService.java (opens in a new tab)evals/files/site-project/dispatcher/pom.xml (opens in a new tab)evals/files/site-project/pom.xml (opens in a new tab)references/AGENTS.md.template (opens in a new tab)references/module-catalog.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
aem, aem-cloud-service, project-bootstrap, agents-md, claude-md
8 skills in this plugin
/aem-rde[BETA] Expert assistance for the Adobe I/O CLI plugin `@adobe/aio-cli-plugin-aem-rde` — the `aio aem rde` / `aio aem:rde` command tree used to deploy, inspect, log-tail, snapshot, and troubleshoot AEM Rapid Development Environments (RDEs). Activate ONLY when the user explicitly references RDE concepts: 'AEM RDE', 'Rapid Development Environment', `aio aem rde`, `aio aem:rde`, `aem-rde`, RDE snapshots, RDE deploy/install, `rde install`, `rde inspect`, `rde status`, `rde history`, `rde reset`, the `@adobe/aio-cli-plugin-aem-rde` package, or Cloud Manager program/environment configuration that is specifically for an RDE environment. Do NOT activate on generic AEMaaCS phrases like 'deploy to AEM Cloud', 'push my bundle', 'tail the publish log', 'cloud sandbox', or unqualified 'dispatcher-config / frontend / env-config deployments' — those belong to Cloud Manager pipelines, not RDE. This skill is in beta. Verify all outputs before applying them to production projects./aem-workflowSingle entry point for all AEM as a Cloud Service Workflow skills. Covers workflow model design,
custom process step and participant chooser development, launcher configuration, workflow triggering,
and production support including debugging stuck/failed workflows, triaging incidents with Cloud Manager
logs, thread pool analysis, and Sling Job diagnostics for the Granite Workflow Engine.
/code-assessmentDetect, review, and fix code-quality, correctness, and security issues in an AEM as a Cloud
Service project — locally, with no external services or network calls. Use whenever a user
wants to check, review, assess, audit, scan, modernize, upgrade, or fix AEM Java, Sling Models,
OSGi, or Maven code — for example: "check my Sling Models are implemented correctly", "review
my @Inject usage", "are my Maven dependencies up to date", "scan this AEM project for issues",
"can a cookie skip my login captcha", "calls to an external API hang", or "fix code-quality problems". Name the files to
assess, or ask it to scan the repo; it detects issues, plans, and — only when you ask —
applies surgical edits on a branch or in place, then verifies with mvn compile. It recognises the intent and
handles each issue type itself, reporting anything it cannot yet fix.
/content-distributionAEM as a Cloud Service content distribution and replication. Covers programmatic publishing
using the Replication API and distribution event monitoring using Sling Distribution events.
/create-componentCreates complete AEM components with dialog, HTL template, Sling Model, unit tests, and clientlibs.
Supports extending Core Components and project components. When a Figma design URL is provided,
fetches the design via Figma MCP (get_design_context) and translates it into pixel-perfect HTL, CSS,
and JS. Follows Adobe Experience League best practices for AEM Cloud Service and 6.5.
Use this skill whenever the user mentions creating, building, generating, or scaffolding an AEM
component, or mentions component types like teaser, card, hero, banner, accordion, tabs, carousel,
list, navigation, breadcrumb, or any custom AEM component. Also trigger when the user wants to
extend a Core Component, create a component dialog, add a Sling Model, or convert a Figma design
into an AEM component.
/dispatcherSingle entry point for all AEM as a Cloud Service Dispatcher skills. Covers config authoring,
technical advisory, incident response, performance tuning, security hardening, and full lifecycle
orchestration for the Adobe Dispatcher Apache HTTP Server module and its HTTPD/dispatcher configuration.
npx claudepluginhub adobe/skills --plugin aem-cloud-serviceOther plugins' skills for the same job