CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

orchardcore-unit-test

Writes and runs OrchardCore tests — xUnit unit tests, SiteContext-based integration tests, Moq mocking, and Playwright functional tests. Use when the user needs to add a test, set up a test harness/tenant for tests, mock OrchardCore services, or run the test suite.

72

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

78%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable skill: correct project conventions, executable commands, and a real one-level-deep reference file. Weaknesses are minor — a redundant intro sentence, snippets with undefined variables, and no explicit run-and-fix checkpoint inside each workflow.

Suggestions

Delete or fold the intro sentence ('This skill guides you through...') into the heading; it adds no information beyond the title and the description.

Make code snippets self-contained: define `contentItem` in the SiteContext example and `scope` in the Moq example, or annotate them as fragments.

Add an explicit final step to each workflow (e.g., 'Run: dotnet test test/OrchardCore.Tests/... --filter "FullyQualifiedName~{Subject}" and fix failures') so the validate-fix loop is embedded in the workflow rather than only in the Running section.

DimensionReasoningScore

Conciseness

The body is dense and table-driven with no padding — naming conventions, a decision table, and compact code — but the opening line "This skill guides you through writing and running OrchardCore tests following project conventions" restates the title, and a few snippets (e.g., the Moq block) could be tightened. Efficient with minor trims available, which is the 4 anchor, not 5.

4 / 5

Actionability

Concrete, mostly copy-paste-ready guidance: exact `dotnet test ... --filter` commands, a complete Theory test class, SiteContext usage, and a gotchas list. However, several snippets reference undefined variables (`scope`, `contentItem`), and Playwright fixture setup is not shown — minor gaps that keep it at 4 rather than fully executable 5.

4 / 5

Workflow Clarity

A decision table routes to three well-sequenced workflows (unit, SiteContext integration, Playwright) plus an explicit running section and the "CI requires all tests green" checkpoint. It is not 3 because validation guidance is explicit and present, but not 5 because no workflow embeds an explicit write → run → fix-on-failure loop.

4 / 5

Progressive Disclosure

The body is a clear overview with well-signaled one-level-deep references — `references/testing.md` (verified to exist) is listed with a description alongside repo paths — and the inline cheatsheets (Moq, SiteContext members) are compact enough to belong in SKILL.md. This matches the 5 anchor's structure.

5 / 5

Total

17

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a strong match to the exemplar pattern: concrete third-person capabilities, an explicit 'Use when' clause with natural trigger phrases, and a distinct OrchardCore-testing niche. No weaknesses worth penalizing.

DimensionReasoningScore

Specificity

"Writes and runs OrchardCore tests — xUnit unit tests, SiteContext-based integration tests, Moq mocking, and Playwright functional tests" lists multiple specific concrete actions with comprehensive coverage of the domain, matching the 5 anchor's structure; it is in third person with no vague language.

5 / 5

Completeness

It explicitly answers what ("Writes and runs OrchardCore tests — xUnit unit tests, SiteContext-based integration tests, Moq mocking, and Playwright functional tests") and when ("Use when the user needs to add a test, set up a test harness/tenant for tests, mock OrchardCore services, or run the test suite"), matching the 5 anchor example pattern exactly.

5 / 5

Trigger Term Quality

Natural user phrases ("add a test", "set up a test harness/tenant for tests", "mock OrchardCore services", "run the test suite") are combined with the technology names users would actually say (xUnit, Moq, Playwright), giving comprehensive trigger coverage with no common variants missing.

5 / 5

Distinctiveness Conflict Risk

It carves a clear niche (OrchardCore testing) with distinct triggers (SiteContext, Moq, xUnit, Playwright) that are unlikely to fire for other skills, giving minimal conflict risk.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

OrchardCMS/OrchardCore

Path

.agents/skills/orchardcore-unit-test/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.