da-content
БесплатноБез исполняемых скриптовНе проверенUse before writing, fixing or answering questions about the HTML of pages that authors edit in Experience Workspace / DA (da.live), including hand-written…
от adobe★ 342 звезды на GitHubОб этом скилле
Authored content HTML (Experience Workspace / DA)
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.
Page structure
<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.- Everything must be inside a section div that is a direct child of
<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. - Attributes
id,class,style,data-*on default content are dropped; headings get anidfrom their text. Empty<p>is dropped.
Blocks
- Div form:
<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 turnsFeature_Blockintofeature-blockandcolumns (v)intocolumns v; don't rely on it. - A block inside a block cell is flattened to text. No nested blocks.
- A plain
<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.
Section Metadata
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.
Page metadata
<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.
Icons
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.
Images and links
- Use absolute
<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 setalt. - Links to the site's own
aem.page/aem.liveURLs become relative; other hosts stay.classandtargeton<a>are dropped,titleis kept. Bold or italic standalone links (<strong><a>) are what decoration turns into buttons; that is project code, not the pipeline.
Inline tags (same in default content and cells)
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.
Uploading
PUT https://admin.da.live/source/{org}/{repo}/{path}.htmlwithAuthorization: Bearer <IMS token>(see da-auth;aem contentmanages its own login in.hlx/.da-token.json, direct API calls follow da-auth) and a **multipart
Установить da-content в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл da-content?
Use before writing, fixing or answering questions about the HTML of pages that authors edit in Experience Workspace / DA (da.live), including hand-written sample pages for local testing. The pipeline silently drops or rewrites markup in ways that are not guessable, so check here first when a generated page previews empty, loses its metadata, icons, Section Metadata style or block, shows about:error images, turns a table into a block, loses span classes or bold in block cells, or has its links rewritten; when uploading pages or media to the DA source API or the Source Bus API at api.aem.live (200 but nothing written, SVG over 40 KB returns 409); or when you need to see how the pipeline read a page. Not for block JS/CSS (building-blocks), tokens (da-auth) or the aem CLI (aem-cli).
Как установить скилл da-content?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл da-content запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic