personalize
БесплатноЗапускает вложенные скриптыНе проверенPersonalizes sections of AEM Edge Delivery Services (DA) pages with Section Metadata. The authored content is the default; Personalization rows pick an EDS…
от adobe★ 342 звезды на GitHubОб этом скилле
personalize: sections → fragments
A personalized section is an authored section with Personalization rows in its Section
Metadata. Its content is the default. A variant is an EDS fragment that replaces that content
for the visitors it is chosen for. The browser, the edge and the scripts all run the same grammar
and decision code. Its JSON Schemas and pilot scenarios are in assets/contract/.
| Section Metadata | |
| Personalization | home-hero |
| Personalization Source | rules (default) | split | api | target |
| Personalization Variants | /fragments/personalization/home-hero/india |
| | /fragments/personalization/home-hero/na-mobile |
| Personalization Rule India | geo: IN |
| Personalization Rule NA Mobile | geo: US, CA & device: mobile |
The other sources add their own rows:
split:Personalization Split | 40, 30.api: optionalPersonalization HintandPersonalization Description <Variant>, plus Rule rows as the written fallback.target: an optionalPersonalization Location, and aPersonalization Triggerto make a popup.
The grammar is in reference/authoring-model.md.
When to Use
- Show a different section per country/region, device, new or returning visitor, URL/UTM param, page state, or custom audience.
- Let a decision engine (any v1 engine, or OF1) choose, with the Rule rows as its fallback.
- A/B test a section against its authored content (
split), or through Target. - Let Adobe Target pick a section's offer, inline or as a popup.
- Decide at the Cloudflare edge for above-the-fold sections.
Do NOT use for:
- Creating Target activities, audiences or offers, or AJO journeys: decline. The skill only wires sections to activities the Target user creates.
- Text tokens such as
{name}: not this skill. - Page-level experiments run with AEM Experimentation: keep them there. A page that runs one gets no personalized sections.
Critical Rules
- Paths.
scripts/andassets/are this skill's directories: resolve them against the folder holding this SKILL.md and use absolute paths. Run them from the project root. Every script answers--help. - The authored content is the default. Never delete, rewrite or reorder it. Personalization adds Section Metadata rows, variant fragments and, when needed, a section break or a new section.
- Never touch
scripts/aem.js, existing block code or the vendoredaem-worker.mjs. - Consent. The policy is no consent, no personalization. Never add a
withoutConsentexception on your own: exceptions need the site's privacy/legal approval and apolicyRef(reference/consent.md). - Choices, not gates. Ask only where there is a real choice (Step 2), always with its default.
No reply, or a hands-off run (
--hands-off, "no approval gates", non-interactive): take the defaults and list them as named assumptions in the summary. The only yes/no questions are the delivery confirmations below. - Local by default; delivery asks each time. Pushing the code branch, the DA upload and preview, and publishing are visible outside this machine. Each runs only after the user confirms that step, every time, even when the prompt asked for it. A hands-off run or no reply does none of them: it hands off the commands (Step 8).
- Off unless chosen:
wrangler deployandwrangler secret put(the site owner runs them), overrides on production, a third-party geo endpoint, andconfig.mockoutside tests. - Never:
- invent marketing copy (variants are
TODO:scaffolds unless the user gives the copy); - put API keys or tenant ids in browser code;
- send personal data to an engine or in events;
- list a variant named
default; - report a check as passed when it didn't run.
- invent marketing copy (variants are
Step 1: Preflight
node scripts/detect-project.mjs <project>
| Result | Action |
|---|---|
projectType: da |
Continue |
xwalk / doc (exit 3) |
Stop: "personalize supports DA projects only for now." |
sectionMetadata.renderedBy |
pipeline: needs rendering v2 (Step 6 proves it). aem.js: works as is |
content.pagesWithExperiments, integrations.experimentation |
Never personalize those pages or sections |
integrations.consentTools, consent.ask |
Input for the consent choice (Step 2) |
integrations.atjs / websdk / launch / target |
Ask which regions Target already owns (Step 2). Web SDK pages use target.transport: 'websdk' |
edge.cloudflare |
The default mode becomes client + edge |
fragmentBlock.exportsLoadFragment: false |
The installer adds the stock fragment block when it is missing; warn if one exists without loadFragment |
Step 2: Choices
Take what the prompt already says. Ask the rest as *
Установить personalize в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл personalize?
Personalizes sections of AEM Edge Delivery Services (DA) pages with Section Metadata. The authored content is the default; Personalization rows pick an EDS fragment variant per visitor from rules (geo, device, new/returning, URL/UTM param, page state, custom audiences), a decision engine (v1 API, OF1), a section A/B split, or Adobe Target (inline or popup). Consent-first (no consent, no personalization), with measurement events per decision, a client runtime and an optional Cloudflare edge worker, all checked with a simulator and Playwright. Use for "personalize this section", "different hero for visitors from <country>", "returning visitor banner", "connect our decision engine / OF1", "A/B test this section", "let Target pick this offer", "edge personalization", or `/aem-eds-personalization:personalize`. Not for creating Target activities, AJO journeys or text tokens. DA projects only.
Как установить скилл personalize?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл personalize запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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