/sitecore-content-sdk:content-sdk-atomic-design-assessmentfrom Sitecore Content SDK - Core
Scans a Content SDK Next.js head app's src/components, rates each as low-code candidate / partial / keep-code, derives an atom set, and plans a side-by-side migration. Answers which components could become atoms and what moving them costs.
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.
Answers one customer question: which of our components would be better as atoms + composed Documents, and what would moving them cost? The output is a report with a verdict per component, a proposed atom set and a migration plan. Nothing is changed.
Say these before any scan, because they decide whether the assessment is worth doing:
beta.atoms dist-tag only, exact pins, React only). Check content-sdk-app-router-atoms § 1 for the current stamp.[UNVERIFIED] (gating unknown). Without it a Document can be rendered only from a mock MMS: no way to write one to a tenant is known, so there is nothing to migrate to.node scripts/scan-atomic-candidates.mjs --app <head-app-dir> --md > atomic-scan.md
node scripts/scan-atomic-candidates.mjs --app <head-app-dir> --json atomic-scan.json
It reads src/components/**, honours the app's componentMap.exclude, follows local imports one level, and prints per file: verdict, leaf primitives used, variants, fields and the reasons (signal + line). Then it prints the atom inventory ranked by coverage and what Content Kit lacks.
| Verdict | Meaning | Typical members |
|---|---|---|
low-code-candidate | Only authored fields + static markup + param/variant styling | Content block, rich text, promo without logic, simple CTA, quote, stat |
partial | Composable core with something a Document cannot do: a list over datasource children, route-context fields, structured data, editing-only branches, size | Card lists, title with route fallback, promo with JSON-LD |
keep-code | Data fetching, client state, event handlers, forms, placeholders, personalization | Navigation, search, forms, splitters, containers, header/footer |
It is a triage aid, not a decision. Measured blind spots (2026-10-29): regex not a TS parse; logic two imports deep is invisible; a shared helper with useState taints every importer (Sitecore's starter Icon.tsx turned every icon button into keep-code); conditional wrapping (link around an image only outside editing) is not seen; variant files (Hero.Split.tsx) count as separate components.
For each low-code-candidate and partial, open the source and answer:
partial: whether a Document can iterate a list is [UNVERIFIED]. Plan a code container whose items are low-code, or keep it.FieldNames / named exports / variant files)? Many presentations over the same fields is the strongest signal FOR atoms: each becomes a Document, not a code variant.page.mode.isEditing to show empty-field placeholders? A Document cannot. Inline editing inside atoms is [UNVERIFIED], so a component whose authors rely on inline editing pays a real authoring cost.next-intl has no binding in a Document. Move it to a field or keep code.Upgrade or downgrade the scanner's verdict and record why. Measured spread: a carefully authored production app (15 components) came out 0 / 12 / 3, because every component carries editing branches and dictionary labels; Sitecore's article starter 14 / 7 / 77.
From the confirmed candidates, decompose each into elements and collect:
flex / grid / card shells). Content Kit's Container is a generic flex wrapper with free CSS values; a governed token Stack comes first when composers should only pick from a scale, Grid second.className.Write each atom with content-sdk-app-router-atom-create.
Per candidate component:
{"$state": "/fields/<Name>"}, so existing datasource items render unchanged once the field names match. That is the cheapest path and avoids a content migration.ComponentRef pointing at the Document path; keep the old code rendering available.<default>|<Variant> refs).Order the work in waves:
library-low-code on this tenant? Read the editing host's runtime log for the mode. On one test environment on 2026-11-03 (stamp 20261021204512, six atoms, lock passing, site bound to a running editing host) the editing host's log showed 30 Design Library sessions, all mode library, none library-low-code, and a Design Studio draft component opened with no ComponentRef, so it rendered as an unknown component. If it does not, stop here. Then one simple candidate end to end on a non-production tenant: Document storage, ComponentRef delivery on preview and live, runtime CSS on the real host, editor experience. Most [UNVERIFIED] items in the atoms skill resolve here or kill the plan.partial components as hybrids (code container, low-code items).keep-code.Write atomic-design-assessment.md with:
What SKILL.md sets; muted values are Claude Code's defaults
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-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-npx claudepluginhub chris1415/sitecore-skills-pocs --plugin sitecore-content-sdkOther plugins' skills for the same job