find-untested-sources

find-untested-sources is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 113 tokens per session (3,399 once invoked), scanned A, a copy of find-untested-sources, MIT.

A static code scanner that maps source files or modules to their test files by looking at declared types and symbols. It can analyze C#/.NET and several other common languages without building the project.

In plain words
What is it for?
Finding untested files, listing likely source-to-test pairs, and suggesting where new tests belong based on the repository structure.
Why use it?
It quickly shows which source code has no corresponding tests, without waiting for a full build or test run. This helps choose what to test next in a large repository.

Skill for Claude CodeCodex

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

Good fit Finding untested files, listing likely source-to-test pairs, and suggesting where new tests belong based on the repository structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/managedcode/dotnet-skills/find-untested-sources
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 find-untested-sources
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 find-untested-sources

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/find-untested-sources"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/find-untested-sources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,399 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 89% 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.00113 $0.03399
Opus 5.5 $0.00045 $0.01360
Sonnet 5.5 $0.00023 $0.00680
Haiku 4.5 $0.00011 $0.00340

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

Security

Grade A, and why

find-untested-sources 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/find_untested_sources.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

89% identical to find-untested-sources — 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/find-untested-sources/SKILL.md · 295 lines

How it starts

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

Find Untested Sources

Purpose

Coverage tools answer "which lines were executed?" — they require a green build and a passing test run, which is minutes-to-tens-of-minutes on a real repo. The question this skill answers is different and much cheaper:

Which source files have no test file referencing any of their declared types/symbols?

That's the question an agent asks before writing a new test — and it can be answered statically in a few seconds by parsing source files, with no build, no dependency resolution, and no compilation. The output is a deterministic test-pairing map that lets the agent pick the next file to test without reading the entire codebase first.

Two engines — pick one

This skill ships two interchangeable analyzers with a compatible JSON contract:

Engine Script Use when
Roslyn (C#) scripts/Find-UntestedSources.cs The repo is .NET-only. Parses every .cs file with the Roslyn syntax API and does strict namespace disambiguation, so it is materially more accurate on duplicated short names like Settings or Context.
tree-sitter (polyglot) scripts/find_untested_sources.py The repo is not exclusively C#, or you want one tool across C#, Python, TypeScript/JavaScript, Go, Java, Rust, Ruby, Kotlin, Swift, PowerShell, and C++.

For a .NET-only repository, prefer the Roslyn engine — its namespace-aware pairing beats the polyglot engine's identifier overlap.

Required workflow

  1. Use the narrowest repository or package root named by the caller. Do not scan a parent workspace when the request identifies a subdirectory.
  2. Execute the appropriate analyzer once. Do not replace analyzer execution with manual globbing, filename matching, or visual inspection. For polyglot analysis, pass --include-tested when the answer must distinguish paired sources from unpaired sources. "Static pairing only" prohibits compiling the target repository and running its tests; it does not prohibit launching this skill's parse-only analyzer. State that distinction briefly when the caller also says "do not build." Treat analyzer dependencies as environment prerequisites: do not install packages, try the wrong engine, build the repository, or fall back to a manual scan when an analyzer invocation fails. Report the prerequisite failure instead.
  3. Base the result on the analyzer's JSON. Preserve its paired/unpaired classification and suggested relative path; do not guess a different path.
  4. When the caller named a subdirectory, prefix analyzer-relative paths with that subdirectory so reported paths are workspace-relative.
  5. Report the requested result plus the static-pairing coverage caveat. Do not append build, package-install, test-run, or coverage commands. When paired sources exist, name their covering test files so the unpaired classification is auditable.

Read the full file on GitHub · 295 lines

Files

What ships with it

3 files 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. 2mo ago Changed · +5 lines · +9 tokens per session c1777c1c9a19
  2. 2mo ago Changed · +7 lines df0e139888df
  3. 2mo ago First seen · 283 lines · 104 tokens per session scan A 54fc7119555e

Subscribe to this mod's changes

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

Related

find-untested-sources compared with skills from other repositories

find-untested-sources next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
find-untested-sourcesmanagedcode/dotnet-skillsSkill52716d agoMITA113Claude Code, Codex
rust-developmentnavikt/copilotSkill65yesterdayMITA27Claude Code, Codex
infra-testsrnichols/plan-forgeSkill625d agoMITA43Claude Code
test-sweepsrnichols/plan-forgeSkill625d agoMITA38Claude Code
precommitsd0xdev/sd0x-harnessSkill1965d agoMITA15Claude Code
loom-ccosmix/loomSkill66todayMITA25Claude Code, Codex
finding-filesSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A28Claude Code, Codex