robearlam/sitecoreai-harness-engineering

This repository is a PoC showing how you can leverage Harness Engineering to automate the creation of a SitecoreAI Site built using Next.js and the Content SDK.

This repository also configures its own agents. See what sitecoreai-harness-engineering tells them →

11Stars on the repository
39Mods indexed here, across every type
6d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Component data for App Router: layout data from getPage (or getPreview/getDesignLibraryData in editing). No getComponentData; pass site and locale from route params. Server Components use the client in server context; Client Components receive serializable props. Use when wiring component data or BYOC.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Registers Sitecore components in the component map so layout and editing can resolve them. App Router uses .sitecore/component-map.ts (Server) and .sitecore/component-map.client.ts (Client). Use when registering a new component or when layout/editor cannot find a component.

not rated 11 6d ago A 59 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Creates new Sitecore components with correct file structure, props interface, and placement under src/components/. Use when adding a new component from scratch or scaffolding a component. App Router: decide Server vs Client and register in the appropriate map.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Implements component variants: different renderings or data-driven variants of the same component type. App Router: register in component-map.ts or component-map.client.ts as appropriate. Use when one component has multiple presentations.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Dictionary and i18n for App Router: next-intl with src/i18n/routing.ts and request.ts. Request locale is sitelocale; call setRequestLocale in the page; in request.ts parse and load dictionary with client.getDictionary. Use when adding or changing translated content or locale behavior.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Ensures components render safely in XM Cloud editing and preview. App Router uses draftMode() and getPreview/getDesignLibraryData from searchParams. Use when making components work in the Sitecore editor or fixing preview/editing behavior.

not rated 11 6d ago A 54 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Renders Sitecore fields using SDK field components (Text, RichText, Image, Link) with proper validation and fallbacks. Use when rendering content fields or when the user mentions Text, RichText, Image, Link, or field components.

not rated 11 6d ago A 58 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Fetches page data and dictionary via the single Sitecore client. App Router: getPage(path ?? [], { site, locale }), getDictionary, getAppRouterStaticParams; for preview use draftMode() and getPreview/getDesignLibraryData from searchParams. Use when fetching page or dictionary content.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Handles multisite: site resolution, .sitecore/sites.json, and proxy in src/proxy.ts. App Router proxy order is fixed: LocaleProxy → AppRouterMultisiteProxy → RedirectsProxy → PersonalizeProxy. Use when working with multiple sites or hostnames.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Configures routing and layout for App Router. Single catch-all at src/app/[site]/[locale]/[[...path]]/page.tsx; call setRequestLocale at top of page. Use when changing routing, placeholders, or Layout.

not rated 11 6d ago A 55 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Configures site and environment: sitecore.config.ts, environment variables, default site and language. Use when configuring the app or adding env vars. Document in .env.example only; never commit .env or .env.local.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Sitemap and robots.txt for App Router: src/app/api/sitemap/route.ts and src/app/api/robots/route.ts with createSitemapRouteHandler and createRobotsRouteHandler. Rewrites in next.config.ts. Use when configuring sitemap, robots.txt, or SEO.

not rated 11 6d ago A 0 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Troubleshoots XM Cloud editing, preview, and design library for App Router. Check draftMode(), getPreview/getDesignLibraryData from searchParams, setRequestLocale, and component maps. Use when editing or preview does not behave as expected.

not rated 11 6d ago A 58 tokens original Apache-2.0

robearlam/sitecoreai-harness-engineering

Skill Claude CodeCodex

Guides upgrading @sitecore-content-sdk/ packages: version bumps, breaking changes, migration steps. Use when moving to a newer SDK or package version. Check Content SDK repo CHANGELOG and upgrade guides.

not rated 11 6d ago A 0 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: