content-sdk-component-scaffold

content-sdk-component-scaffold is a skill for Claude Code, Codex from robearlam/sitecoreai-harness-engineering. It costs 0 tokens per session (518 once invoked), scanned A, original, Apache-2.0.

A scaffold for creating a new React component that can display content from Sitecore. It defines the component's expected data, places its files correctly, and registers it so the app can render it.

In plain words
What is it for?
Use it to start a new Sitecore component, choose between server and browser-side rendering, and verify the app still builds.
Why use it?
It avoids missing files, mismatched data shapes, and unregistered components when adding a new building block to a page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to start a new Sitecore component, choose between server and browser-side rendering, and verify the app still builds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robearlam/sitecoreai-harness-engineering/content-sdk-component-scaffold
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add robearlam/sitecoreai-harness-engineering --skill content-sdk-component-scaffold
Clone the repo
git clone --depth 1 https://github.com/robearlam/sitecoreai-harness-engineering

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for content-sdk-component-scaffold

README.md
[![agentmods](https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-component-scaffold/github.svg)](https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-component-scaffold)
Your own site
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-component-scaffold"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-component-scaffold/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for content-sdk-component-scaffold

Your own site · 80×15
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-component-scaffold"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-component-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 518 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00518
Opus 5.5 $0.00000 $0.00207
Sonnet 5.5 $0.00000 $0.00104
Haiku 4.5 $0.00000 $0.00052

Measured 14d ago against content hash 44a68675a445, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

content-sdk-component-scaffold scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/headapps/rob-harness-engineering/.agents/skills/content-sdk-component-scaffold/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Content SDK Component Scaffold (App Router)

Scaffold new Sitecore components so they integrate with the layout and editing pipeline. This app uses App Router with separate server and client component maps.

When to Use

  • User asks to add a new Sitecore component, create a component from scratch, or scaffold a component.
  • Task involves creating a new React component that will be rendered from Sitecore layout/placeholders.
  • User mentions "new component," "add component," or "component file structure."

How to perform

  • Create a new file under src/components/ (or existing feature folder). Define props (fields, params), export a single default component.
  • Decide Server vs Client: default Server; add 'use client' only if the component needs hooks or event handlers.
  • Register the component in the correct map (content-sdk-component-registration). Run npm run build to verify.

Hard Rules

  • Place components under src/components/. Use existing folder conventions.
  • Define a props interface with the component's fields (e.g. fields: { title: Field; ... }) and any params. Use types from @sitecore-content-sdk/react or the app's types.
  • Export a single default component; one component per file unless the app pattern differs.
  • Server vs Client: Use Server Components by default. Add 'use client' only for interactivity (hooks, event handlers). Register Server components in .sitecore/component-map.ts; Client components in .sitecore/component-map.client.ts.
  • After creating the component file, register it in the correct component map (see content-sdk-component-registration). Do not leave the component unregistered.

Stop Conditions

  • Stop and ask if the component should be a Server or Client Component when the app does not have a clear convention.
  • Do not create components in .next/, node_modules/, or build output.

References

Read the full file on GitHub · 39 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 39 lines · 0 tokens per session scan A 44a68675a445

Subscribe to this mod's changes

content-sdk-component-scaffold is a skill published in the GitHub repository robearlam/sitecoreai-harness-engineering (11 stars, last pushed 6d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 518 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-16.

Related

content-sdk-component-scaffold compared with skills from other repositories

content-sdk-component-scaffold next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
content-sdk-component-scaffoldrobearlam/sitecoreai-harness-engineeringSkill116d agoApache-2.0A0Claude Code, Codex
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99ktodayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k6d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7k4d agoMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14k3d agoMITA42Claude Code
onchainkitalsk1992/CloddsBotSkill3.1k16d agoMITA24Claude Code, Codex