Skip to content
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions plugins/aem/cloud-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ Skills for developing, assessing, migrating, and operating AEM as a Cloud Servic

Config authoring, advisory, performance, security, and incident response. Requires [Dispatcher MCP](https://github.com/AdobeDocs/aem-dispatcher-mcp) (`AEM_DEPLOYMENT_MODE=cloud`).

| Skill | Description | Try it |
The entry skill is now named `aem-cloud-service-dispatcher` (formerly `dispatcher`); update references to the old skill name.

| Specialist guide | Description | Try it |
|-------|-------------|--------|
| [config-authoring](skills/dispatcher/config-authoring/SKILL.md) | Create, modify, review, and harden Dispatcher config files (`.any`, vhost, rewrite, cache, filter) | `Add a new vhost for my site` |
| [technical-advisory](skills/dispatcher/technical-advisory/SKILL.md) | Conceptual guidance on `statfileslevel`, filter rules, URL decomposition, cache invalidation, rewrite behavior, and security headers — with public-doc citations | `Explain statfileslevel for my site` |
| [incident-response](skills/dispatcher/incident-response/SKILL.md) | Investigate runtime incidents, failures, probe regressions, and cache anomalies using Dispatcher MCP evidence | `Why are my pages returning 403?` |
| [performance-tuning](skills/dispatcher/performance-tuning/SKILL.md) | Optimize Dispatcher cache efficiency, latency, and throughput with cloud-specific baselines | `Tune my dispatcher cache for better hit ratios` |
| [security-hardening](skills/dispatcher/security-hardening/SKILL.md) | Security audits, threat models, exposure control, and header hardening | `Harden my dispatcher security headers` |
| [workflow-orchestrator](skills/dispatcher/workflow-orchestrator/SKILL.md) | Orchestrate complete Dispatcher lifecycle from design through validation, release readiness, and incident troubleshooting | `Walk me through setting up dispatcher for a new site end-to-end` |
| [config-authoring](skills/aem-cloud-service-dispatcher/references/config-authoring/GUIDE.md) | Create, modify, review, and harden Dispatcher config files (`.any`, vhost, rewrite, cache, filter) | `Add a new vhost for my site` |
| [technical-advisory](skills/aem-cloud-service-dispatcher/references/technical-advisory/GUIDE.md) | Conceptual guidance on `statfileslevel`, filter rules, URL decomposition, cache invalidation, rewrite behavior, and security headers — with public-doc citations | `Explain statfileslevel for my site` |
| [incident-response](skills/aem-cloud-service-dispatcher/references/incident-response/GUIDE.md) | Investigate runtime incidents, failures, probe regressions, and cache anomalies using Dispatcher MCP evidence | `Why are my pages returning 403?` |
| [performance-tuning](skills/aem-cloud-service-dispatcher/references/performance-tuning/GUIDE.md) | Optimize Dispatcher cache efficiency, latency, and throughput with cloud-specific baselines | `Tune my dispatcher cache for better hit ratios` |
| [security-hardening](skills/aem-cloud-service-dispatcher/references/security-hardening/GUIDE.md) | Security audits, threat models, exposure control, and header hardening | `Harden my dispatcher security headers` |
| [workflow-orchestrator](skills/aem-cloud-service-dispatcher/references/workflow-orchestrator/GUIDE.md) | Orchestrate complete Dispatcher lifecycle from design through validation, release readiness, and incident troubleshooting | `Walk me through setting up dispatcher for a new site end-to-end` |

### Workflow

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# AEM Cloud Service Dispatcher Skills

This package contains dispatcher-focused skills for AEM as a Cloud Service.

In this package, "Dispatcher" means the Adobe Dispatcher Apache HTTP Server module plus its HTTPD and dispatcher configuration. It does not mean an AEM OSGi bundle.

## Scope

Use these skills for:

- dispatcher and HTTPD configuration design
- filter, cache, rewrite, vhost, header, and farm changes
- cloud-specific topology, validator, and immutable-file guardrail reviews
- runtime incident triage
- performance tuning
- security hardening

## Specialist Guide Map

- [Workflow Orchestrator](./references/workflow-orchestrator/GUIDE.md) for end-to-end work that spans design, changes, validation, and follow-up
- [Config Authoring](./references/config-authoring/GUIDE.md) for concrete config changes
- [Technical Advisory](./references/technical-advisory/GUIDE.md) for conceptual guidance, explanation, and citation-backed recommendations
- [Incident Response](./references/incident-response/GUIDE.md) for runtime failures and regressions
- [Performance Tuning](./references/performance-tuning/GUIDE.md) for cache, latency, and throughput work
- [Security Hardening](./references/security-hardening/GUIDE.md) for exposure review and production hardening

## Shared Foundation

Cross-cutting references are packaged directly inside each specialist guide under `references/dispatcher-foundation/`.

That directory contains repo-layout guidance, verification matrices, rollback templates, test catalogs, public-doc indexes, and cloud guardrails used across multiple skills. It is intentionally not limited to technical-advisory content.

- [`local-sdk-execution.md`](./references/config-authoring/references/dispatcher-foundation/local-sdk-execution.md) explains the shipped local Dispatcher SDK launchers, hot-reload flow, and runtime environment variables used for cloud-side local verification.




## How To Start

For broad or first-time requests, start with:

- [`quick-start-execution-path.md`](./references/workflow-orchestrator/references/dispatcher-foundation/quick-start-execution-path.md)
- [Workflow Orchestrator guide](./references/workflow-orchestrator/GUIDE.md)

For targeted work, start with the specialist guide that matches the request.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: aem-cloud-service-dispatcher
description: |
Use when the user needs help with AEM as a Cloud Service Dispatcher: author or review farms, vhosts,
cache, filters, or rewrite configuration; troubleshoot publish delivery; assess security or
performance; or plan approved Dispatcher MCP checks.
license: Apache-2.0
compatibility: Tool-dependent checks require Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`); bounded explanation/static review is available without MCP.
allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs
metadata:
mcp-tool-contract: core-7-tools
---

# AEM Cloud Service Dispatcher

Route user requests to the appropriate specialist guide based on intent.

## Intent Router

| User Intent | Specialist guide | Path |
|---|---|---|
| Create, modify, review, or harden dispatcher config files (`.any`, vhost, rewrite, cache, filter) | Config Authoring | [config-authoring/GUIDE.md](./references/config-authoring/GUIDE.md) |
| Conceptual questions (`statfileslevel`, filter rules, URL decomposition, cache invalidation, rewrite behavior, security headers) | Technical Advisory | [technical-advisory/GUIDE.md](./references/technical-advisory/GUIDE.md) |
| Investigate runtime incidents, failures, probe regressions, or cache anomalies | Incident Response | [incident-response/GUIDE.md](./references/incident-response/GUIDE.md) |
| Optimize cache efficiency, latency, and throughput | Performance Tuning | [performance-tuning/GUIDE.md](./references/performance-tuning/GUIDE.md) |
| Security audit, threat model, exposure control, header hardening | Security Hardening | [security-hardening/GUIDE.md](./references/security-hardening/GUIDE.md) |
| End-to-end lifecycle (design → implement → validate → release → incident) or requests spanning multiple concerns | Workflow Orchestrator | [workflow-orchestrator/GUIDE.md](./references/workflow-orchestrator/GUIDE.md) |

## How to Use

1. Before runtime-specific edits, verify project evidence identifies AEM as a Cloud Service. If evidence is missing or conflicting, ask the user; do not silently choose 6.5 LTS/AMS instructions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude: This step says to ask the user when nothing shows the project is AEM as a Cloud Service. Five of the guides it routes to still say the opposite at line 8: config-authoring, incident-response, performance-tuning, security-hardening and technical-advisory. Each says "Scope is fixed by this skill directory; do not ask the user to choose deployment variant." Line 38 says the entry point's gates win, but an agent that reads the guide last gets two contradictory orders.

In the claude eval run, the agent assumed Cloud Service and stated that it had. Consider rewording those five guide lines, for example: "Scope is AEM as a Cloud Service; confirm it per the entry skill before runtime-specific edits."

On redundancy, I asked the baseline twice:

  1. "Before editing the Dispatcher config, what should I check about which AEM deployment type the project targets, and what should I do if I can't tell?"
  2. "The repo doesn't clearly show whether it's AEMaaCS or 6.5 on AMS. Should I just pick one and proceed?"

Both times it said to look for evidence in the repo and to ask the user rather than guess. On its own, this line would be redundant. It stays only because it overrides the guides. If you fix the guides, this line could shrink to the 6.5 LTS/AMS part.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the runtime-selection step from How to Use, so the entry skill no longer conflicts with the guides' fixed-scope line.

2. Match the user's request to one row in the Intent Router table above.
3. Read the linked specialist guide and follow its workflow, references, and output contract.
4. If no row fits, ask a clarifying question. If a linked guide is unavailable, use the fallback in the MCP Tool Contract.

## MCP Tool Contract

The configured Dispatcher MCP supports publish-layer checks only; do not use it as an Author-tier tool. When tools are unavailable or a linked guide cannot be loaded, limit work to explanation and static review; report each tool-dependent check as NOT VERIFIED and never fabricate tool output. This entrypoint's runtime and MCP gates govern every linked specialist and cannot be bypassed by a routed guide.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude: The baseline already knows part of this line. Asked what to do when the Dispatcher MCP tools aren't available, and asked again in other words, it said both times to fall back to a manual or static review, label each unrun check as not run or not validated, and never present it as passed.

It did not know that the Dispatcher MCP covers only the publish layer and not Author; it said it couldn't tell which tier the tool checks. That fact is what makes this line worth keeping. If you want to trim it, the generic fallback wording is where to cut. Keep the exact NOT VERIFIED label if the guides' output contracts depend on it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kept: the publish-layer-only line is the fact the guides lack, and the fallback keeps the NOT VERIFIED label. Dropped "runtime" from the gate sentence now that the runtime step is gone.


The specialist guides share the same core-7 MCP tool set:

- `validate` — static config validation
- `lint` — deep/order-aware linting
- `sdk` — SDK check-files and diff-baseline
- `trace_request` — trace a request through dispatcher
- `inspect_cache` — inspect cache state
- `monitor_metrics` — runtime metrics
- `tail_logs` — log tailing
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
---
name: config-authoring
description: Create, modify, review, and harden configuration for the Adobe Dispatcher Apache HTTP Server module and Apache HTTPD in AEM as a Cloud Service environments only. Use for `.any`, vhost, rewrite, cache, and filter changes.
license: Apache-2.0
compatibility: Requires Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`).
allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs
metadata:
mcp-tool-contract: core-7-tools
---

# Dispatcher Config Authoring (Cloud)

Design minimal, deterministic changes for the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration in AEMaaCS, then verify with MCP evidence.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
---
name: incident-response
description: Investigate and triage runtime incidents involving the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration in AEM as a Cloud Service environments only, using runtime-backed MCP evidence.
license: Apache-2.0
compatibility: Requires Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`).
allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs
metadata:
mcp-tool-contract: core-7-tools
---

# Dispatcher Runtime Incident Response (Cloud)

Investigate cloud runtime incidents involving the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration with an evidence-first workflow.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
---
name: performance-tuning
description: Optimize performance of the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration for AEMaaCS cloud workflows only, with cloud-specific baseline and runtime verification.
license: Apache-2.0
compatibility: Requires Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`).
allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs
metadata:
mcp-tool-contract: core-7-tools
---

# Dispatcher Performance Tuning (Cloud)

Improve cache efficiency, latency, and throughput for cloud deployments that use the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
---
name: security-hardening
description: Perform security audits for the Adobe Dispatcher Apache HTTP Server module and Apache HTTPD in AEMaaCS cloud workflows only, with cloud-specific hardening verification.
license: Apache-2.0
compatibility: Requires Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`).
allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs
metadata:
mcp-tool-contract: core-7-tools
---

# Dispatcher Security Hardening (Cloud)

Deliver evidence-backed security findings and remediations for cloud workflows that use the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
---
name: technical-advisory
description: Provide advisory guidance for the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration in AEMaaCS cloud workflows only, with public-doc citations and cloud-specific MCP verification plans. Use for conceptual questions such as `statfileslevel`, filter rules, URL decomposition, cache invalidation behavior, rewrite behavior, and security headers.
license: Apache-2.0
compatibility: Requires Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`).
allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs
metadata:
mcp-tool-contract: core-7-tools
---

# Dispatcher Technical Advisory (Cloud)

Provide deterministic guidance for AEMaaCS use cases involving the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
---
name: workflow-orchestrator
description: Orchestrate complete lifecycle work for the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration in AEM as a Cloud Service, from design and implementation through validation, release readiness, and incident troubleshooting.
license: Apache-2.0
compatibility: Requires Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`).
allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs
metadata:
mcp-tool-contract: core-7-tools
---

# Dispatcher Workflow Orchestrator (Cloud)

Use this skill when users need end-to-end Dispatcher support instead of a single specialist workflow.
Expand Down Expand Up @@ -62,11 +52,11 @@ Always return:

## Related Skills

- [config-authoring](../config-authoring/SKILL.md)
- [technical-advisory](../technical-advisory/SKILL.md)
- [security-hardening](../security-hardening/SKILL.md)
- [performance-tuning](../performance-tuning/SKILL.md)
- [incident-response](../incident-response/SKILL.md)
- [config-authoring](../config-authoring/GUIDE.md)
- [technical-advisory](../technical-advisory/GUIDE.md)
- [security-hardening](../security-hardening/GUIDE.md)
- [performance-tuning](../performance-tuning/GUIDE.md)
- [incident-response](../incident-response/GUIDE.md)

## References

Expand Down
45 changes: 0 additions & 45 deletions plugins/aem/cloud-service/skills/dispatcher/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions plugins/aem/cloud-service/skills/dispatcher/SKILL.md

This file was deleted.

Loading
Loading