/sitecore-content-sdk:content-sdk-list-componentfrom Sitecore Content SDK - Core
Determines if a Sitecore rendering is a list component (repeating rows) and configures datasource grouping, insert options, branch templates, and children-aware delivery for author-editable rows.
Ships in Sitecore Content SDK - Core. 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; scripts run unread.
Ask one question about every rendering: would an author ever want to add a row?
| Answer | Shape |
|---|---|
| No — a fixed set of the datasource's own fields | Single component. One datasource template. Done. |
| Yes — repeating rows: nav links, cards, stats, entries, panels, tabs | List component. Everything below applies. |
Get this wrong and the component still renders perfectly, passes every test, passes the authorability audit, and is un-editable in the way that matters: the author can change the rows that exist and cannot create one.
FOUR legs, and they fail independently — check all four. Measured on one brand, 2026-08-28, where four renderings displayed repeating rows (Header/NavLink, ServiceTrio/ServiceItem, SelectedWork/WorkEntry, StatBand/StatItem) and every one came out identically:
| Leg | What it buys | measured |
|---|---|---|
0. _HorizonDatasourceGrouping base template | the Items edit section in Page Builder — where an author can create a child of the right type | ❌ absent on all four |
1. __Masters on the container SV | insert options — which template a new child uses | ✅ correct on all four |
2. Datasource Template = a BRANCH | a new datasource ships with a row already in it | ❌ bare template |
| 3. children-aware delivery | the added child actually renders | ❌ Multilist on the container |
Leg 0 is the one an author notices, and it is the easiest to miss because the component is otherwise complete. Without it the insert options exist only in the Content Editor tree — which is not where authors work. _PublishingGroupingTemplate travels with it (11/11 and 6/6 on the two brands of that estate that carried it).
⚠️ Legs 0 and 1 are independent, not two names for one thing. Measured across one estate: one brand has 6 templates with Horizon and no __Masters; another has 2 with __Masters and no Horizon, and 9 with both. Do not infer one from the other, and do not assume that having one means the author can add a row.
Leg 1 passing is not evidence for the rest. All four of that brand's components shipped past 74 unit tests, a 7/7 authorability audit, four code reviews and a full test pass. It was found by a human opening Pages and looking for an add button.
This is an estate-wide gap, not one build's miss. _HorizonDatasourceGrouping appears on 11/34 and 6/37 templates of two brands, and on 0 of 64, 0 of 32, 0 of 44 and 0 for the other four — so four of six brands shipped with no list-editable component at all.
A Multilist (or Treelist / Checklist) field on the parent datasource references items that already exist somewhere else. Consequences an author feels:
A list component's rows are children of the datasource, so adding one is a single action in Pages, in place.
Multilist is still right when the referenced items are shared across components or pages (a global set of links, a shared taxonomy). Choose it deliberately, not by default.
Read-confirmed against the OOTB SXA Link List on a live tenant, 2026-06-23.
<container template> → __Base template =
Standard template | _PublishingGroupingTemplate | _HorizonDatasourceGrouping | _PerSiteStandardValues
| GUID | |
|---|---|
{D0F6BE14-2A2D-4C56-ACB5-80CAA573B8E2} | _HorizonDatasourceGrouping |
{8BA7DAC6-32ED-4378-BD9E-5DA5B0F9848D} | _PublishingGroupingTemplate |
_HorizonDatasourceGrouping is what gives Page Builder the "Items" edit section, through which an author creates a new child of the right type. Skip it and everything else can be correct while the author sees no way to add anything — because the affordance the other legs enable lives in the Content Editor tree, not in Pages.
✅ Confirmed in Page Builder, 2026-08-28. That brand's four containers had __Masters correct and no Horizon: no Items section. Adding _HorizonDatasourceGrouping + _PublishingGroupingTemplate to the container templates — changing nothing else — made the Items section appear, verified by a person in the canvas. This is a measurement, not an inference from the estate.
Put it on the container only. The element template is a row, not a grouping.
Title, Heading).Link <General Link>).The element has no __Standard Values in the OOTB pattern.
<container template>/__Standard Values → __Masters = <element template id>
__Masters decides which template a new child is created from. OOTB Link List's SV carries __Masters = {E24E0789-A058-48BF-ABB6-C69C0E60B6B7} (the Link template).
⚠️ This is not the same thing as leg 0 and does not substitute for it. An earlier version of this skill claimed __Masters "is what puts the add affordance in Pages" — that is wrong, or at best true only in the Content Editor. The estate disproves the conflation directly: one brand carries Horizon on six templates that have no __Masters at all.
Datasource Template points at a BRANCH, not a bare template/sitecore/templates/Branches/Project/<Brand>/<Site>/<Component>
The branch's $name item uses the container template, also carries __Masters, and ships one default element (Link 1) — so a newly created datasource is a non-empty list rather than an empty box the author has to guess at.
Pointing at the bare container template instead gives the author an empty list on every new datasource.
The rows are children, so the payload must carry them. The mechanisms are ranked. First check the list really is owned rows: content-sdk-collection-data-model decides that.
| Rank | Mechanism | Note |
|---|---|---|
| 1 | Integrated GraphQL (ComponentQuery) with every field as jsonValue | Expresses container fields and children in one query. Marketer-friendly, one write operation per row, and go-live is controlled by workflow. A new row reaches the page after the page is republished. Row fields edit inline and rows reorder in Pages (confirmed by hand 2026-11-04). |
| 2 | Component-level fetch | A server fetch in the head app. Pages freely and has no republish dependency, but carries no editing metadata: right for rows authored elsewhere, not for owned rows. |
| avoid | Children content resolver | Delivers Shape B { items: [...] } and nothing else, so the container's own fields (Heading) are lost. Sitecore documents content resolvers as not supported with Edge runtime publishing, with no filtering or paging, and nothing documents their output as editable. |
⚠️ ComponentQuery replaces the ENTIRE fields payload, taking inline-editing metadata with it for every field not selected as jsonValue (the authorability principle: a component is done when an author can find its content and change it, not when it renders). That is a reason to design the query to return everything the component renders — not a reason to ban the mechanism. A blanket "no ComponentQuery" rule pushes every list onto Multilist and produces the un-extendable shape above.
⚠️ A ComponentQuery list has two silent failure modes (measured 2026-09-26 → 28; the full budget table is in sitecoreai-edge-graphql-capture § 2b):
children nested two levels deep inside a ComponentQuery breaks resolution. The rendering arrives with isContentResolved: false and no error. Keep the query to one level of children, and fetch deeper rows server-side with client.getData.children(first: N) is silently dropped. first must be strictly greater than the authored row count, or the row an author adds in Pages never reaches the page. Size first to the real row count plus headroom, not a blanket 50, because first:50 alone can exceed Edge's complexity budget. Record each list's maximum authorable row count next to its query.__Standard Values.__Masters to the element template id. ← the step that is easy to skip and defines the outcome/sitecore/templates/Branches/…, $name on the container template, carrying __Masters and one default element.Datasource Template at the branch.ComponentQuery with jsonValue fields, the resolver cleared (ranking in leg 4).
6a. Set __Sortorder on every row you seed over Authoring GraphQL (steps of 100, in the intended order). Without it the rows come back alphabetically, not in creation order. One build shipped 5 nav sections and 63 links in the wrong order this way (2026-09-27).__Standard Values (content-sdk-icon-chooser).scripts/build-list-component.mjs does the mechanical half: verify --rendering <path> reads all four legs of an existing rendering off the live tenant (exit 1 on a missing leg), and build … prints the plan for a new one and only writes with --apply. It asserts the seven system GUIDs it relies on before judging anything, so a wrong host or token exits 2 rather than reporting a component as broken.
The tree looks correct at step 2. Open Pages, select the component, and confirm you can add a row. Nothing short of that proves __Masters and the branch are wired — no test, no schema audit and no authorability audit reaches this, because the component renders correctly either way.
content-sdk-create-component — base-template inheritance, template folder layout, the copyItem recipecontent-sdk-collection-data-model — whether a list is owned rows at all (derived views, curated references and large libraries are built differently)content-sdk-resolver-patterns — the 2×2 of resolvers and the two React-side payload shapescontent-sdk-icon-chooser — the __Icon step in build orderWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sitecore, list-component, authorability, page-builder, datasource
23 skills in this plugin
/content-sdk-analytics-eventsSends Content SDK analytics events: analytics and events plugins, pageView, event, form, identity, field limits, client vs server, bot and editing suppression. Use when adding or debugging tracking calls. Not consent or personalization./content-sdk-atomic-design-assessmentAssesses a Content SDK head app for Atomic Design: scan src/components, rate each low-code candidate / partial / keep-code, derive the atom set, plan a side-by-side migration. Use when asked which components could become atoms. Not writing atoms./content-sdk-collection-data-modelPicks the data model for a component that shows many items: owned rows, derived view, curated list or shared library, and how each is delivered. Use when migrating a tree-walking list or a list is not editable in Pages. Not row templates./content-sdk-component-naming-trapsTraps when adding or renaming Content SDK components: everything in src/components/ becomes a rendering, map keys are SDK-version sensitive, parameter names collide with template fields. Use when scaffolding, refactoring src/ or upgrading./content-sdk-component-reviewReviews one Content SDK component before promotion: verdict per axis (authorability, editing safety, naming, variants, data, scoping, lists, serialization), static and live read-only. Use before merge. Not planning or debugging./content-sdk-create-componentCreates a component (rendering) on a SitecoreAI tenant via Authoring GraphQL, by cloning an out-of-the-box component and customising templates and available renderings. Use when asked to create, clone or scaffold a rendering.npx claudepluginhub chris1415/sitecore-skills-pocs --plugin sitecore-content-sdkOther plugins' skills for the same job