grade-tests

grade-tests is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 119 tokens per session (6,263 once invoked), scanned A, a copy of grade-tests, MIT.

A review tool that grades a supplied list of test methods from A to F and explains each result in a compact table. It supports several programming languages and test frameworks.

In plain words
What is it for?
Use it to assess selected tests for assertion quality, coverage of behavior, readability, and common test problems before merging a pull request.
Why use it?
A full test-suite review can be too broad for a pull request. Per-test grades give reviewers focused feedback on the tests that were added or changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess selected tests for assertion quality, coverage of behavior, readability, and common test problems before merging a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/managedcode/dotnet-skills/grade-tests
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 managedcode/dotnet-skills --skill grade-tests
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

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 grade-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/dotnet-skills/grade-tests/github.svg)](https://agentmods.dev/skills/managedcode/dotnet-skills/grade-tests)
Your own site
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/grade-tests"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/grade-tests/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 grade-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/grade-tests"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/grade-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,263 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 100% copy Near-identical to another mod 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.00119 $0.06263
Opus 5.5 $0.00048 $0.02505
Sonnet 5.5 $0.00024 $0.01253
Haiku 4.5 $0.00012 $0.00626

Measured 1mo ago against content hash 56a352f916be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

grade-tests 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 1mo 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.

Origin

This is a copy

100% identical to grade-tests — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

catalog/Testing/Official-DotNet-Test/skills/grade-tests/SKILL.md · 460 lines

How it starts

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

Grade Tests

Assess a curated list of test methods and produce a compact, PR-comment-friendly report. The primary result is one of Pass, Failed, Uncertain, or Not applicable; an A-F quality grade remains secondary diagnostic information. The skill does not discover tests on its own — the caller (typically a PR automation workflow or a human reviewer holding a specific list) provides the tests or a bounded diff to assess.

After Step 0 admits a bounded scope, enforce these grading invariants:

  • With production context, load test-gap-analysis by name once before scoring, in per-test-read-only caller context. Read its owned composition reference; do not compute mutation evidence from this grading rubric or run its standalone workflow. Report N/A / unverified only when the dependency, reference, or required context is actually unavailable.
  • Any reported mutation inference must use Likely killed (inferred) or Candidate survivor (unverified), even when explained in prose.
  • Apply only the rubric below, not extra heuristics such as a duplicate-test penalty. Do not use sibling tests to alter the individual assessment.
  • A B quality grade does not require a Failed result; a complete focused test may have no actionable change.

Language-specific guidance: Read the caller-provided matching extension file, or the runtime-listed test-analysis-extensions catalog and its matching language file. The reference-only helper is not an invocable skill. If its files are absent, use the embedded rubric and pinned framework APIs; mark an essential unresolved framework construct Uncertain instead of guessing or searching installation directories.

Why a Decision Result Plus Quality Detail

PR reviewers need a simple answer to does this test need follow-up? The four-state result provides that decision; the existing A-F rubric explains its quality and severity.

When to Use

  • A PR automation workflow needs to post a decision on the tests introduced or modified in a pull request.
  • A reviewer has a specific list of tests (a file, a class, a method list, or a diff hunk) and wants per-test follow-up decisions rather than a suite report.
  • A maintainer wants to triage which of N tests in a contribution deserve follow-up improvements, with quality grades for resolved tests.

Read the full file on GitHub · 460 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -1 lines · -34 tokens per session 56a352f916be
  2. 1mo ago Changed · +4 lines 8d320658784e
  3. 1mo ago Changed · +89 lines · +23 tokens per session 5cddf0692f4e
  4. 1mo ago Changed · +19 lines · -22 tokens per session 19a49e02f50b
  5. 2mo ago Changed c590af529875
  6. 2mo ago First seen · 349 lines · 152 tokens per session scan A 2ab1ee96112a

Subscribe to this mod's changes

grade-tests is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 119 tokens to every session and 6,263 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to grade-tests, differing in 0 lines, and is treated as a copy.

Related

grade-tests compared with skills from other repositories

grade-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grade-testsmanagedcode/dotnet-skillsSkill52716d agoMITA119Claude Code, Codex
the-judgetech-leads-club/agent-skillsSkill7.2k2d agononeA192Claude Code, Codex
best-practicestech-leads-club/agent-skillsSkill7.2k2d agononeA85Claude Code, Codex
skill-validatortech-leads-club/agent-skillsSkill7.2k2d agononeA118Claude Code, Codex
gh-address-commentstech-leads-club/agent-skillsSkill7.2k2d agononeA85Claude Code, Codex
reviewronaknnathani/relaySkill4424d agoMITA83Claude Code, Codex
review-prronaknnathani/relaySkill4424d agoMITA84Claude Code, Codex