New Event Source
aws/aws-lambda-dotnet
Add a new AWS event source attribute (e.g., Kinesis, Kafka, MQ) to the Lambda .NET Annotations framework, including the attribute class, source generator integration, CloudFormation writer, unit…
Mandatory unit-test and code-coverage rules for the .NET agent.
$ npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent dotnet-unit-test-coverage --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dotnet-unit-test-coverage .claude/skills/dotnet-unit-test-coverage && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "dotnet-unit-test-coverage" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/dotnet-unit-test-coverage into .claude/skills/dotnet-unit-test-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dotnet-unit-test-coverage", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/dotnet-unit-test-coverageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent dotnet-unit-test-coverage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/dotnet-unit-test-coverage .agents/skills/dotnet-unit-test-coverage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dotnet-unit-test-coverage" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/dotnet-unit-test-coverage into .agents/skills/dotnet-unit-test-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dotnet-unit-test-coverage", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent dotnet-unit-test-coverage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/dotnet-unit-test-coverage .cursor/skills/dotnet-unit-test-coverage && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dotnet-unit-test-coverage" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/dotnet-unit-test-coverage into .cursor/skills/dotnet-unit-test-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dotnet-unit-test-coverage", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/newrelic/newrelic-dotnet-agent.git --path .claude/skills/dotnet-unit-test-coverage--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent dotnet-unit-test-coverage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/dotnet-unit-test-coverage .gemini/skills/dotnet-unit-test-coverage && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dotnet-unit-test-coverage" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/dotnet-unit-test-coverage into .gemini/skills/dotnet-unit-test-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dotnet-unit-test-coverage", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install newrelic/newrelic-dotnet-agent dotnet-unit-test-coverageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/dotnet-unit-test-coverage .github/skills/dotnet-unit-test-coverage && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dotnet-unit-test-coverage" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/dotnet-unit-test-coverage into .github/skills/dotnet-unit-test-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dotnet-unit-test-coverage", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install newrelic/newrelic-dotnet-agent dotnet-unit-test-coverage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/newrelic/newrelic-dotnet-agent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/dotnet-unit-test-coverage .opencode/skills/dotnet-unit-test-coverage && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dotnet-unit-test-coverage" agent skill from https://github.com/newrelic/newrelic-dotnet-agent/tree/main/.claude/skills/dotnet-unit-test-coverage into .opencode/skills/dotnet-unit-test-coverage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dotnet-unit-test-coverage", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dotnet-unit-test-coverageMandatory unit-test and code-coverage rules for the .NET agent.
Dotnet Unit Test Coverage is an agent skill from newrelic/newrelic-dotnet-agent. Mandatory unit-test and code-coverage rules for the .NET agent. Use when writing an implementation plan, writing or modifying unit tests, or adding/changing production code in the Core project or the NewRelic.Agent.Extensions project. Apply without being prompted by the user.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Unit testing and Planning. It works with .NET and New Relic. The repository describes itself as: The New Relic .NET language agent. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit aca7658. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dotnet Unit Test Coverage loads about 1k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 528 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from newrelic/newrelic-dotnet-agent at commit aca7658, republished under its Apache-2.0 licence (© newrelic). 528 words, ~1,017 tokens.
.claude/skills/dotnet-unit-test-coverage/SKILL.md (or your agent's skills folder).These rules are mandatory and apply automatically -- the user does not need to ask for tests or for coverage. Honor them when planning work, when writing or editing tests, and when adding or changing production code.
Core project
(src/Agent/NewRelic/Agent/Core/) and the NewRelic.Agent.Extensions project
(src/Agent/NewRelic/Agent/Extensions/NewRelic.Agent.Extensions/).src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/*. They have no unit
tests by design (covered by the Integration / Unbounded / Container test
solutions). When adding non-trivial logic to a wrapper, lift it into a helper
in NewRelic.Agent.Extensions and unit-test the helper -- see the wrapper
guidance in tests/CLAUDE.md and the top-level CLAUDE.md.Adding or changing in-scope production code without accompanying unit tests is incomplete work, not a follow-up task. Write the tests as part of the same change, unprompted. Use TDD where practical: write the failing test first, see it fail, implement, see it pass.
When writing or modifying unit tests, cover every reachable line and branch of the code under test:
catch paths, early returns, and boundary conditions
(just-under / just-over a cap, empty / null inputs, first-and-last iterations).IsNaN check on a value that the parser can never produce a
NaN for, or a default: no input can hit). Call these out explicitly rather
than contorting tests to fake-cover dead code.Bake these rules into the plan so the implementer applies them without re-deriving them:
Core and NewRelic.Agent.Extensions must ship with unit tests in the same
task; target 100% reachable line and branch coverage."Test layout, frameworks (NUnit + JustMock Lite, interfaces/virtual only), the
SolutionDir build caveat, and the "run against the built DLL for
NewRelic.Agent.Extensions.Tests" caveat are in the top-level CLAUDE.md
("Building and testing from the CLI", "Testing conventions") and
tests/CLAUDE.md.
JustMock Lite mocks only interfaces and virtual members -- no sealed, static,
or non-virtual mocking -- and InternalsVisibleTo is banned in every
production and test assembly. So when in-scope code is hard to reach from a
test, do NOT widen visibility or expose internals to the test assembly. Make
the code coverable by refactoring the production type to expose a proper seam:
extract an interface, make the member virtual, inject a mockable dependency,
or lift the logic into a public helper. If a line is only reachable by mocking
a private/sealed/static member or via InternalsVisibleTo, the design -- not
the test -- is what must change.
© newrelic, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/dotnet-unit-test-coverage of newrelic/newrelic-dotnet-agent.
Open the folder on GitHubat commit aca7658
Dotnet Unit Test Coverage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dotnet Unit Test Coverage this skillnewrelic/newrelic-dotnet-agent | 117 | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| New Event Sourceaws/aws-lambda-dotnet | 1.7k | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| ScottPlot Test RunnerScottPlot/ScottPlot | 6.8k | — | ~308 | Automated safety check: Pass | MIT | |
| Aspire Integration TestingDevBetterCom/DevBetterWeb | 157 | 2 repos | ~2.3k | Automated safety check: Pass | None | |
| Vstest Build Testmicrosoft/vstest | 969 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Coverage Analysisrunceel/ReactiveProperty | 944 | — | ~5.9k | Automated safety check: Warn | MIT |
aws/aws-lambda-dotnet
Add a new AWS event source attribute (e.g., Kinesis, Kafka, MQ) to the Lambda .NET Annotations framework, including the attribute class, source generator integration, CloudFormation writer, unit…
ScottPlot/ScottPlot
Run or add ScottPlot 5 tests. Use for unit-test and cookbook-test work; unless explicitly asked otherwise, restrict manual test execution to the Unit Tests…
DevBetterCom/DevBetterWeb
Write integration tests using .NET Aspire's testing facilities with xUnit.
microsoft/vstest
Build, test, and validate changes in the vstest repository. An agent skill from microsoft/vstest.
runceel/ReactiveProperty
Automated, project-wide code coverage and CRAP (Change Risk Anti-Patterns) score analysis for .NET projects with existing unit tests.
OpenCoreMMO/OpenCoreMMO
Write, fix, or review NeoServer unit tests using xUnit and FluentAssertions.
newrelic/newrelic-dotnet-agent
Parse and diagnose New Relic .NET agent logs (newrelicagent.log) and profiler logs (NewRelic.Profiler.<pid.log) from a support ticket.
newrelic/newrelic-dotnet-agent
Open an Angler PR that adds the latest .NET agent release to metricnames.txt.
newrelic/newrelic-dotnet-agent
Build the New Relic .NET agent locally and validate that code changes compile.
newrelic/newrelic-dotnet-agent
Run the New Relic .NET agent integration tests locally. An agent skill from newrelic/newrelic-dotnet-agent.
newrelic/newrelic-dotnet-agent
A skill your agent uses when the user mentions a Dotty PR, dotty (package/dependency) updates, or asks to update the .NET agent compatibility docs / net-agent-compatibility-requirements after tested…
newrelic/newrelic-dotnet-agent
A skill your agent uses when a CI integration, unbounded, or container test job fails intermittently, passes on a rerun, fails identically across every matrix variant, or shows an infra-shaped error…
Categories
Mandatory unit-test and code-coverage rules for the .NET agent. Dotnet Unit Test Coverage is an agent skill from newrelic/newrelic-dotnet-agent.NET agent.
Dotnet Unit Test Coverage fits situations like: writing an implementation plan; modifying unit tests; adding/changing production code in the Core project; the NewRelic.Agent.Extensions project.
Run `npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a claude-code`. Or copy the skill folder (.claude/skills/dotnet-unit-test-coverage in newrelic/newrelic-dotnet-agent) into .claude/skills/dotnet-unit-test-coverage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a codex`. Or copy the skill folder (.claude/skills/dotnet-unit-test-coverage in newrelic/newrelic-dotnet-agent) into .agents/skills/dotnet-unit-test-coverage in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add newrelic/newrelic-dotnet-agent --skill dotnet-unit-test-coverage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dotnet-unit-test-coverage, .gemini/skills/dotnet-unit-test-coverage, .github/skills/dotnet-unit-test-coverage and .opencode/skills/dotnet-unit-test-coverage in your project.
SKILL.md names no scripts, command-line tools or credentials: Dotnet Unit Test Coverage is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Dotnet Unit Test Coverage is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Dotnet Unit Test Coverage: New Event Source (aws/aws-lambda-dotnet, 1.7k stars), ScottPlot Test Runner (ScottPlot/ScottPlot, 6.8k stars), Aspire Integration Testing (DevBetterCom/DevBetterWeb, 157 stars) and Vstest Build Test (microsoft/vstest, 969 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
newrelic (a GitHub organization) maintains it in newrelic/newrelic-dotnet-agent, which has 117 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.
Source: newrelic/newrelic-dotnet-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.