sitecoreai-harness-engineering: Skill for Claude Code

.claude/skills/coding-standard/SKILL.md

coding-standard is a skill for Claude Code from robearlam/sitecoreai-harness-engineering. It costs 42 tokens per session (1,148 once invoked), scanned A, original, Apache-2.0.

A set of coding rules for a Next.js application that uses TypeScript, Tailwind CSS, and the Sitecore Content SDK. It describes where different kinds of code belong and how the application should be structured.

In plain words
What is it for?
Use it when planning, writing, or reviewing application code, especially routes, components, Sitecore data access, locale handling, and configuration.
Why use it?
It gives developers and coding agents one shared standard, reducing inconsistent architecture and unnecessary abstractions. It also helps preserve the existing page and content-delivery setup.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is robearlam/sitecoreai-harness-engineering's own configuration. It tells Claude Code how to work on sitecoreai-harness-engineering itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sitecoreai-harness-engineering configures →

Reuse

Borrowing it

Nothing to install: this file belongs to robearlam/sitecoreai-harness-engineering. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/robearlam/sitecoreai-harness-engineering/main/.claude/skills/coding-standard/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/robearlam/sitecoreai-harness-engineering

Made for: Claude Code.

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 coding-standard

README.md
[![agentmods](https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/coding-standard/github.svg)](https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/coding-standard)
Your own site
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/coding-standard"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/coding-standard/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 coding-standard

Your own site · 80×15
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/coding-standard"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/coding-standard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,148 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.00042 $0.01148
Opus 5.5 $0.00017 $0.00459
Sonnet 5.5 $0.00008 $0.00230
Haiku 4.5 $0.00004 $0.00115

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

Security

Grade A, and why

coding-standard 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.

.claude/skills/coding-standard/SKILL.md · 174 lines

How it starts

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

Coding Standard

Purpose

Define the coding conventions and architectural guidelines for the project.

The goal is to ensure the codebase remains:

  • consistent
  • maintainable
  • readable
  • accessible

Technology Stack

This project uses:

  • Next.js App Router
  • TypeScript
  • Tailwind CSS
  • Sitecore Content SDK for Next.js
  • next-intl

Architectural Principles

Prefer Simplicity

Solutions should favor clarity over cleverness.

Avoid unnecessary abstraction layers.


Separate Concerns

Different responsibilities should live in different parts of the project.

Examples:

  • route and page composition → src/app/
  • Sitecore page composition and placeholders → src/Layout.tsx, src/Providers.tsx
  • Sitecore data access → src/lib/sitecore-client.ts
  • UI and rendering components → src/components/
  • request and locale handling → src/i18n/, src/proxy.ts
  • application and Sitecore integration config → sitecore.config.ts, next.config.ts

Preserve The Existing Delivery Pipeline

This repository is a Sitecore Content SDK rendering host.

When implementing features:

  • preserve the existing [site]/[locale]/[[...path]] route shape unless the task explicitly changes routing
  • use the shared Sitecore client instead of introducing alternate data-fetching clients
  • keep page composition aligned with the existing placeholder and layout flow
  • keep component registration aligned with the existing sitecore-tools generation flow instead of inventing a parallel mapping mechanism

Prefer Server Components

Use server components by default.

Client components should only be used when:

  • browser APIs are required
  • interactive state is required

TypeScript Rules

  • All exported functions must be typed.
  • Avoid the use of any.
  • Prefer narrow types over broad ones.
  • Reuse SDK types where available instead of recreating broad local equivalents.

Component Design Rules

Components should:

  • have a single responsibility
  • be composable
  • avoid excessive nesting
  • distinguish clearly between Sitecore-rendered content concerns and application-only UI behavior

Read the full file on GitHub · 174 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 · 174 lines · 42 tokens per session scan A fa52be4bdecc

Subscribe to this mod's changes

coding-standard is a skill published in the GitHub repository robearlam/sitecoreai-harness-engineering (11 stars, last pushed 6d ago), licensed Apache-2.0. It adds 42 tokens to every session and 1,148 once invoked, about $0.0002 per session on Opus 5.5. 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

coding-standard compared with skills from other repositories

coding-standard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coding-standardrobearlam/sitecoreai-harness-engineeringSkill116d agoApache-2.0A42Claude Code
biomeTerminalSkills/skillsSkill21922d agoApache-2.0A85Claude Code, Codex
shared-tooling-biomeagents-inc/skillsSkill281mo agoMITA44Claude Code, Codex
javascript-conventionswyattowalsh/agentsSkill69d agoMITA53Claude Code
skill-web-implementationbenbrastmckie/nvimSkill4455d agononeA29Claude Code, OpenCode
typescript-linter-setupProjAnvil/MindForgeSkill39d agoMITA46Claude Code, Codex
stackshipshitdev/skillsSkill395d agononeA42Claude Code, Codex