/aem-edge-delivery-services:da-contentfrom aem-edge-delivery-services
Documents how the Edge Delivery pipeline processes HTML authored in Experience Workspace (DA). Covers page structure, blocks, metadata, and upload rules for da.live and api.aem.live.
Ships in aem-edge-delivery-services. 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.
The rules for the HTML that Experience Workspace (formerly DA) stores and the
Edge Delivery pipeline turns into a page. They apply whatever the API backend
(DA or Source Bus) or hostname, and also to hand-written pages in ./content/ served by
aem up (see aem-cli). Everything below was checked against a live
preview; wrong markup fails silently, with no error.
The upload and preview rules below are for the DA source API (admin.da.live).
Some sites keep their authored content in Source Bus (api.aem.live); see
Source Bus. Find the store in the site config
(content.source.type: markup is DA, sourcebus is Source Bus) or ask the
user; fstab.yaml is deprecated. If admin.da.live calls fail or find nothing
in a site the user says has content, it may be on Source Bus. See da-auth
for credentials.
<body><header></header><main>
<div>
<h1>Title</h1>
<p>Intro</p>
<div class="cards"><div><div>cell</div><div>cell</div></div></div>
</div>
<div>
<div class="metadata"><div><div>title</div><div>My page</div></div></div>
</div>
</main><footer></footer></body>
<main> is required (sections with no <main> around them preview empty);
<body>, <header> and <footer> are optional, and text placed in header
or footer is dropped.<main>. Elements placed directly in <main> are dropped. A div placed
there is taken as a section, so a block or metadata div there is not a
block: its rows become paragraphs. <hr> also starts a new section.id, class, style, data-* on default content are dropped;
headings get an id from their text. Empty <p> is dropped.<div class="name variant">, one child div per row, one grandchild
div per cell. Table form: header row <td colspan="N">Name (variant, …)</td>
then rows. Use letters, digits and single hyphens for names. The pipeline
turns Feature_Block into feature-block and columns (v) into
columns v; don't rely on it.<table> in default content becomes a block named after its
first cell and that header row is consumed. Never use a bare table for
data; make it a block.Inside the section it styles: <div class="section-metadata"> with rows of
key / value (style = dark, highlight). The class is one token, exactly
section-metadata. class="Section Metadata" makes a different block and the
metadata is silently lost; the table form with header text Section Metadata
is fine. Keys are used as typed.
<div class="metadata"> inside its own section, conventionally last. Rows:
title → <title>; description → description, og and twitter; og:title
also sets twitter:title; image → og and twitter image (absolute URL);
tags → one article:tag per comma value; any other key → <meta name>
with the key lowercased and spaces turned into hyphens (my custom →
my-custom). Canonical, og:url and twitter:card are added. Don't author
og/twitter rows yourself.
Write :name: as text. The pipeline turns any :[a-z0-9-]+: into
<span class="icon icon-name"></span>, in default content and block cells,
and the project's decoration loads the SVG from /icons/name.svg. An authored
empty <span class="icon icon-name"> sent by direct PUT also previews as an
icon, but a page opened in the DA editor lost the span, so use :name: for
anything authors will edit. The whitespace around an icon is removed.
<img src> URLs the preview can fetch. They are sideloaded
and delivered as <picture> with webp/jpeg sources at 750 and 2000 px, plus
width, height and lazy loading. Don't hand-author <picture>/<source>;
it is replaced. Repo-relative or document-relative paths
(/images/a.png) become <img src="about:error">. Always set alt.aem.page/aem.live URLs become relative; other
hosts stay. class and target on <a> are dropped, title is kept.
Bold or italic standalone links (<strong><a>) are what decoration turns
into buttons; that is project code, not the pipeline.Kept: strong, em, del, code, u, sub, sup, a. Rewritten: b→
strong, i/mark→em, s→del, kbd→code. Unwrapped (text kept, class
lost): span, ins. Cells: a lone <p> is unwrapped; <br> depends on its
position. Style with classes on the block, not on inline tags.
PUT https://admin.da.live/source/{org}/{repo}/{path}.html with
Authorization: Bearer <IMS token> (see da-auth; aem content manages its
own login in .hlx/.da-token.json, direct API calls follow da-auth) and a multipart
form with the file in field data. Any other field name returns 200 and
writes nothing (the next GET is 404). A missing or bad token returns 401
with an empty body.POST https://admin.hlx.page/preview/{org}/{repo}/main/{path-without-.html}
with the same Bearer token, then /live/ to publish. Uploading alone does
not change aem.page.data=@file;type=image/png). aem content push reports ✓ for PNG/SVG but writes nothing; upload binaries
with the PUT. Pages pushed by the CLI do arrive.AEM_BACKEND_SVG_TOO_BIG.Same HTML rules as above; different calls, all with the da-auth Bearer token:
PUT https://api.aem.live/{org}/sites/{site}/source/{path}.html with
the raw body and Content-Type: text/html (--data-binary @file), not DA's
multipart form. A page with external images returns 400: POST it instead so
the images are interned. GET reads it; a trailing / lists a folder.POST https://api.aem.live/{org}/sites/{site}/preview/{path}
and .../live/{path} (path without .html, no main segment). The legacy
POST admin.hlx.page/preview/{org}/{site}/main/{path} fails on these sites
(404 No handler found for document).
GET .../status/{path} shows the state.[], and a Source Bus
site can keep stale pages in admin.da.live: an empty or populated listing
does not identify the store; the site config does.After the preview POST, GET https://admin.hlx.page/preview/{org}/{repo}/main/{path}.md
with header x-auth-token: <IMS token> returns the markdown the pipeline
built from your HTML: dropped content, lost spans and blocks that didn't
form show up there, even when aem.page needs site authentication.
references/media.md: where binaries live (/media,
dot-folders), which types are delivered, size caps. Carried over from the
previous version, not re-verified except where marked.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub adobe/skills --plugin aem-edge-delivery-services26 skills in this plugin
/aem-block-libraryUse when a new or changed AEM Edge Delivery Services block needs an entry in the block library that authors use to find and insert it: the Experience Workspace (formerly DA, Document Authoring) library or the Sidekick Library for Word and Google Docs projects. Covers finding the project's library, the block page, variants, the sheet row, library metadata and the steps that happen outside the repo. For tests that run against the library page use testing-blocks./aem-cliUse this when running or troubleshooting the local Edge Delivery dev server or the Adobe AEM CLI (@adobe/aem-cli, formerly helix-cli; `aem up`, `aem content`, `aem import`). Covers starting `aem up` and its port (git worktrees, a port already in use), serving local test pages from `./content/`, cloning da.live content locally with `aem content clone` to preview, inspect or edit it and pushing edits back, `aem up` failures (cert errors, proxy 404s, local pages not found), .env / AEM_* configuration, HTTPS, installing or upgrading the CLI, and the importer server. For da.live content-format rules or the DA Source API use da-content; for writing EDS block code use content-driven-development./aem-layout-viewUse when block or site code of an AEM Edge Delivery Services project authored in Experience Workspace (EW, formerly DA, Document Authoring) must stay editable in layout view, the WYSIWYG page editor that renders the page with the site's own code: authors can't edit a block's text or images, blocks duplicate or misbehave after edits, a request fails only in layout view, or a branch needs testing there. Not for the Universal Editor (ue-component-model) or projects authored in Word or Google Docs./authoring-analysisUse this when the page-import pipeline needs to determine the authoring approach (default content vs blocks) for scraped content before generating import HTML for AEM Edge Delivery Services. Covers validating block selection and section styling for import/migration. Do not invoke directly — called by page-import as a pipeline step./block-collection-and-partyUse this when you are starting AEM Edge Delivery Services (EDS, Franklin, Helix) development and want an existing reference to build from, such as a block, build tool, code snippet, integration pattern, or plugin. Searches the Block Collection and Block Party repositories, matches candidates against the need, and returns a suitable starting point to clone or adapt./brand-setupUse when a fresh AEM Edge Delivery Services boilerplate project should take on the brand basics of an existing website being migrated to EDS — colors, body and heading fonts, font sizes, header height, favicon and logo. Triggers include "set up the brand from <site>", "match the source site's look", "apply the client's fonts and colors", "use their favicon and logo". Not for projects whose styles were already customized, and not for full design-system extraction (spacing scales, components, motifs).Other plugins' skills for the same job