CtrlK
BlogDocsLog inGet started
Tessl Logo

agui-dotnet-unit-tests

Author unit tests for the AG-UI .NET SDK (the *.UnitTests projects), following the SDK's serialization and compatibility conventions. USE FOR: adding unit-test coverage for a new type/method in AGUI.Abstractions/Formatting/Protobuf/Client/Server, event serialization round-trips, JsonDocument property-name assertions, backward-compatibility fixtures against TypeScript JSON, protobuf codec round-trips, client builder/handler tests, server ChatResponseUpdate conversion tests, SSE formatter tests. DO NOT USE FOR: HTTP pipeline / WebApplicationFactory end-to-end tests (use the agui-dotnet-integration-tests skill), cross-language TS↔C# server-parity tests (use the cross-language test skill).

76

Quality

93%

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

87%

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

A tight, highly actionable code-skill body with executable examples per project and strong anti-pattern guardrails. Its only gap is the absence of an explicit test-run validation/iteration loop tying the patterns together.

Suggestions

Add a short workflow step framing `dotnet test` as a validation checkpoint — e.g. 'After writing a test, run `dotnet test tests/<Project>.UnitTests/`; fix until green before moving on' — to close the validate→fix→retry loop.

Make the per-pattern → project mapping into an explicit entry sequence (e.g. '1. Identify the project from the table; 2. Apply the matching pattern; 3. Re-check against the anti-patterns list') so the multi-step process is sequenced rather than implied.

DimensionReasoningScore

Conciseness

Lean and dense: assumes Claude knows xunit/JSON/protobuf, devoting tokens only to SDK-specific conventions and pitfalls ('This is what catches [JsonPropertyName] bugs'). No boilerplate or concept re-explanation.

3 / 3

Actionability

Provides fully executable C# test methods (real imports, source-gen context calls), concrete commands ('dotnet test tests/AGUI.Abstractions.UnitTests/'), and copy-paste-ready patterns per project — nothing is pseudocode.

3 / 3

Workflow Clarity

Patterns are clearly numbered (1–6) with a conventions checklist and an anti-patterns guardrail list, but there is no explicit validate→fix→retry loop (e.g. 'run dotnet test; iterate until green') framing the 'Run one project' command as a checkpoint.

2 / 3

Progressive Disclosure

No bundle files exist, and none are needed: the body is well-organized into a project table, conventions, six labeled patterns, and a critical anti-patterns section, with no nested/inline reference sprawl.

3 / 3

Total

11

/

12

Passed

Description

100%

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

An exemplary skill description: it states concrete capabilities, provides explicit positive and negative trigger guidance, and routes away from adjacent skills to avoid conflicts. No vague fluff or over-claims.

DimensionReasoningScore

Specificity

Lists many concrete actions: 'event serialization round-trips, JsonDocument property-name assertions, backward-compatibility fixtures against TypeScript JSON, protobuf codec round-trips, client builder/handler tests, server ChatResponseUpdate conversion tests, SSE formatter tests' — a comprehensive enumeration of specific capabilities.

3 / 3

Completeness

Explicitly answers both 'what' ('Author unit tests for the AG-UI .NET SDK') and 'when' via 'USE FOR:' triggers plus 'DO NOT USE FOR:' negative routing — the strongest form of explicit trigger guidance.

3 / 3

Trigger Term Quality

The 'USE FOR:' / 'DO NOT USE FOR:' clauses enumerate natural trigger scenarios a developer would voice ('add unit-test coverage for a new type/method', 'round-trips', 'fixtures'), with good coverage of the SDK's task vocabulary.

3 / 3

Distinctiveness Conflict Risk

Clear niche (.NET *.UnitTests projects) with explicit 'DO NOT USE FOR' routing to sibling skills (integration-tests, cross-language parity), making mis-triggering unlikely.

3 / 3

Total

12

/

12

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
ag-ui-protocol/ag-ui
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.