sitecoreai-harness-engineering: Skill for Claude Code

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

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

A testing guide that explains when to use unit, integration, and end-to-end tests. End-to-end tests check complete user journeys in a browser, while TDD means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it to choose test types, define acceptance criteria, write utility and validation tests with TDD, and check routes, content loading, and browser journeys.
Why use it?
It helps teams test user-visible behavior rather than implementation details and avoids treating a feature as tested without meaningful coverage.

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/testing-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 testing-standard

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/testing-standard"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/testing-standard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 392 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.00048 $0.00392
Opus 5.5 $0.00019 $0.00157
Sonnet 5.5 $0.00010 $0.00078
Haiku 4.5 $0.00005 $0.00039

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

Security

Grade A, and why

testing-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/testing-standard/SKILL.md · 118 lines

What it actually says

Testing Standard

Purpose

Define the testing strategy for the project.

The goal is to maintain long-term stability while keeping tests maintainable.


Testing Philosophy

Testing should prioritize:

  • behavior over implementation details
  • meaningful coverage over high coverage numbers
  • stability over test quantity

Test Types

Unit Tests

Used for:

  • utility functions
  • component prop shaping
  • data transformation
  • validation logic

These should follow TDD where practical.


Integration Tests

Used for:

  • multi-component flows
  • content loading pipelines
  • Sitecore route and layout resolution
  • placeholder and component rendering flows
  • route-level logic

End-to-End Tests

Used for:

  • verifying important user journeys
  • confirming the application runs correctly in a browser

Examples:

  • homepage loads
  • navigation works
  • an authored Sitecore route resolves and renders
  • the not-found or error route renders the expected fallback

TDD Rules

TDD should be used for:

  • domain logic
  • utility functions
  • parsers
  • validators

The process should follow:

  1. write failing test
  2. implement behavior
  3. refactor

UI Testing Rules

UI tests should verify:

  • visible behavior
  • accessibility roles
  • interactive outcomes

Avoid testing:

  • CSS classes
  • internal component structure

Regression Testing

When a bug is discovered:

  1. write a failing regression test
  2. implement the fix
  3. confirm the test passes

Test Requirements

A feature should not be considered complete if:

  • critical logic lacks tests
  • tests fail
  • the test suite becomes unstable
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 · 118 lines · 48 tokens per session scan A 5c2d18784e06

Subscribe to this mod's changes

testing-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 48 tokens to every session and 392 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

testing-standard compared with skills from other repositories

testing-standard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testing-standardrobearlam/sitecoreai-harness-engineeringSkill116d agoApache-2.0A48Claude Code
test-masterJeffallan/claude-skillsSkill13ktodayMITA104Claude Code
axiom-testingCharlesWiltgen/AxiomSkill1.3k21d agoMITA38Claude Code
test-generatorrshankras/claude-code-apple-skillsSkill91521d agoMITA33Claude Code
test-automation-expertcuriositech/some_claude_skillsSkill2782d agoMITA133Claude Code
designing-testsCloudAI-X/claude-workflow-v2Skill1.4k1mo agoMITA48Claude Code
testing-blocksadobe/skillsSkill339todayApache-2.0A114Claude Code