Agent skill

Mcaf Dotnet Mstest

by managedcode in managedcode/Storage

Write, run, or repair .NET tests that use MSTest. An agent skill from managedcode/Storage.

MITAuto-check passedAgent Workflows

Install Mcaf Dotnet Mstest

skills CLI
$ npx skills add managedcode/Storage --skill mcaf-dotnet-mstest -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install managedcode/Storage mcaf-dotnet-mstest --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/managedcode/Storage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/mcaf-dotnet-mstest .claude/skills/mcaf-dotnet-mstest && rm -rf skills-src

Use ~/.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/

Facts

Skill name
mcaf-dotnet-mstest
GitHub stars
138
Token cost
~1.2k tokens
SKILL.md length
572 words
Files
2 (incl. references)
Skills in repo
41
Repo updated
First seen
Licence
MIT

At a glance

Write, run, or repair .NET tests that use MSTest. An agent skill from managedcode/Storage.

  • Works in 3 steps: Read the nearest AGENTS.md and confirm… → Run this skill's Workflow through the… → Return the Required Result Format with…
  • A repo uses MSTest.Sdk
  • SKILL.md covers Trigger On, Value, Do Not Use For and Inputs, plus 8 more sections
  • Calls dotnet and rg

What it does

Mcaf Dotnet Mstest is an agent skill from managedcode/Storage. Write, run, or repair .NET tests that use MSTest. Use when a repo uses MSTest.Sdk, MSTest, [TestClass], [TestMethod], DataRow, or Microsoft.Testing.Platform-based MSTest execution.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/mstest.md`). Compatibility notes: Requires a .NET solution or project with MSTest packages; respects the repo's AGENTS.md commands first.

It sits in Agent Workflows. It works with .NET. The repository describes itself as: Storage library provides a universal interface for accessing and manipulating data in different cloud blob storage providers. The licence is MIT.

When your agent uses it

  • A repo uses MSTest.Sdk
  • Microsoft.Testing.Platform-based MSTest execution

Example prompts

  • “/mcaf-dotnet-mstest”

Requirements

  • Compatibility (from SKILL.md): Requires a .NET solution or project with MSTest packages; respects the repo's `AGENTS.md` commands first.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

What it can do on your machine

Read from SKILL.md and the folder at commit 5d32121. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet
    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires a .NET solution or project with MSTest packages; respects the repo's `AGENTS.md` commands first.

    From compatibility in the SKILL.md frontmatter.

Context cost

Mcaf Dotnet Mstest loads about 1.2k tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 52 tokens; SKILL.md has 572 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from managedcode/Storage at commit 5d32121, republished under its MIT licence (© managedcode). 572 words, ~1,180 tokens.

Download SKILL.mdSave it as .claude/skills/mcaf-dotnet-mstest/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mcaf-dotnet-mstest
description
Write, run, or repair .NET tests that use MSTest. Use when a repo uses `MSTest.Sdk`, `MSTest`, `[TestClass]`, `[TestMethod]`, `DataRow`, or Microsoft.Testing.Platform-based MSTest execution.
compatibility
Requires a .NET solution or project with MSTest packages; respects the repo's `AGENTS.md` commands first.

MCAF: .NET MSTest

Trigger On

  • the repo uses MSTest
  • you need to add, run, debug, or repair MSTest tests
  • the repo is moving between VSTest and Microsoft.Testing.Platform

Value

  • produce a concrete project delta: code, docs, config, tests, CI, or review artifact
  • reduce ambiguity through explicit planning, verification, and final validation skills
  • leave reusable project context so future tasks are faster and safer

Do Not Use For

  • xUnit projects
  • TUnit projects
  • generic test strategy with no MSTest-specific mechanics

Inputs

  • the nearest AGENTS.md
  • the test project file and package references
  • the active MSTest runner model

Quick Start

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

Workflow

  1. Detect the MSTest project style first:
    • MSTest.Sdk project SDK
    • MSTest meta-package
    • legacy package set with explicit Microsoft.NET.Test.Sdk
  2. Read the repo's real test command from AGENTS.md. If the repo has no explicit command yet, start with dotnet test PROJECT_OR_SOLUTION.
  3. Keep the runner model consistent:
    • MSTest.Sdk defaults to the MSTest runner on Microsoft.Testing.Platform
    • VSTest is opt-in with UseVSTest=true or legacy package choices
    • do not pass VSTest-only switches or assume legacy .runsettings behavior on Microsoft.Testing.Platform jobs
  4. Prefer [DataRow] or DynamicData for stable data-driven coverage. Keep test lifecycle hooks minimal and deterministic.
  5. Keep MSTest analyzers enabled and fix findings instead of muting them casually.
  6. Align coverage/reporting packages with the active runner.

Bootstrap When Missing

If MSTest is requested but not configured:

  1. Detect current framework first:
    • rg -n "MSTest\\.Sdk|PackageReference Include=\"MSTest\"|xunit|TUnit|UseVSTest|TestingPlatformDotnetTestSupport" -g '*.csproj' .
  2. If the repo currently uses xUnit or TUnit, do not auto-migrate. Return status: not_applicable unless migration is explicitly requested.
  3. For explicit MSTest adoption, add package(s) to target test project:
    • dotnet add TEST_PROJECT.csproj package MSTest
  4. Document runner model (MSTest.Sdk default MTP vs UseVSTest) in AGENTS.md.
  5. Run dotnet test TEST_PROJECT.csproj and return status: configured or status: improved.

Deliver

  • MSTest tests that match the repo's runner model
  • commands that work in local and CI runs
  • explicit guidance for VSTest versus Microsoft.Testing.Platform usage
Show full SKILL.md (224 more words)Show less

Validate

  • the runner model is documented and consistent
  • test commands match that runner
  • data-driven tests stay deterministic
  • analyzer, coverage, and reporting packages align with the chosen runner

Ralph Loop

Use the Ralph Loop for every task, including docs, architecture, testing, and tooling work.

  1. Plan first (mandatory):
    • analyze current state
    • define target outcome, constraints, and risks
    • write a detailed execution plan
    • list final validation skills to run at the end, with order and reason
  2. Execute one planned step and produce a concrete delta.
  3. Review the result and capture findings with actionable next fixes.
  4. Apply fixes in small batches and rerun the relevant checks or review steps.
  5. Update the plan after each iteration.
  6. Repeat until outcomes are acceptable or only explicit exceptions remain.
  7. If a dependency is missing, bootstrap it or return status: not_applicable with explicit reason and fallback path.
Required Result Format
  • status: complete | clean | improved | configured | not_applicable | blocked
  • plan: concise plan and current iteration step
  • actions_taken: concrete changes made
  • validation_skills: final skills run, or skipped with reasons
  • verification: commands, checks, or review evidence summary
  • remaining: top unresolved items or none

For setup-only requests with no execution, return status: configured and exact next commands.

Load References

  • read references/mstest.md first

Example Requests

  • "Fix our MSTest runner setup."
  • "Add an MSTest regression test."
  • "Move this MSTest project to Microsoft.Testing.Platform safely."

© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .codex/skills/mcaf-dotnet-mstest of managedcode/Storage.

  • SKILL.md
  • references/mstest.md

Open the folder on GitHubat commit 5d32121

Compare with similar skills

Mcaf Dotnet Mstest 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.

Mcaf Dotnet Mstest compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mcaf Dotnet Mstest this skillmanagedcode/Storage138—~1.2kAutomated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0
Copilot Session Failure Analysisdotnet/maui23k—~3.4kAutomated safety check: PassMIT
Microsoft DocsMicrosoftDocs/mcp1.9k1 repos~723Automated safety check: PassCC-BY-4.0
Init My ProjectMCSLTeam/MCServerLauncher-Future121—~2.1kAutomated safety check: PassGPL-3.0
Grill Me DocsTheAngryByrd/IcedTasks150—~915Automated safety check: PassMIT

Similar skills

  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals.

    23k GitHub stars~3.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Microsoft Docs

    MicrosoftDocs/mcp

    Official

    Understand Microsoft technologies by querying official documentation.

    1.9k GitHub starsUsed in 1 repo~723 tokens
    Agent WorkflowsAuto-check passed
  • Init My Project

    MCSLTeam/MCServerLauncher-Future

    Bootstrap reusable project governance for a new or existing repo.

    121 GitHub stars~2.1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Grill Me Docs

    TheAngryByrd/IcedTasks

    A skill your agent uses when creating, auditing, or updating project documentation.

    150 GitHub stars~915 tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Analyzer Config

    managedcode/dotnet-skills

    Use a repo-root .editorconfig to configure free .NET analyzer and style rules.

    486 GitHub stars~1.3k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from managedcode/Storage

All 41 skills in this repo
  • Mcaf Adr Writing

    managedcode/Storage

    Create or update an ADR under docs/ADR/ for architectural decisions, dependency changes, data-model changes, or cross-cutting policy shifts.

    138 GitHub stars~951 tokensUpdated yesterday
    Auto-check passed
  • Mcaf Agile Delivery

    managedcode/Storage

    Shape delivery workflow around backlog quality, roles, ceremonies, and engineering feedback.

    138 GitHub stars~883 tokensUpdated yesterday
    Auto-check passed
  • Mcaf Architecture Overview

    managedcode/Storage

    Create or update docs/Architecture.md as the global architecture map for a solution.

    138 GitHub stars~950 tokensUpdated yesterday
    Auto-check passed
  • Mcaf CI CD

    managedcode/Storage

    Design or refine CI/CD workflows, quality gates, release flow, and safe AI-assisted pipeline authoring.

    138 GitHub stars~981 tokensUpdated yesterday
    Auto-check passed
  • Mcaf Code Review

    managedcode/Storage

    Prepare for, perform, or tighten code review workflow: PR scope, review checklist, reviewer expectations, and merge hygiene.

    138 GitHub stars~957 tokensUpdated yesterday
    Auto-check passed
  • Mcaf Devex

    managedcode/Storage

    Improve developer experience for multi-component solutions: onboarding, F5 contract, cross-platform tasks, local inner loop, and reproducible setup.

    138 GitHub stars~911 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Mcaf Dotnet Mstest

What does Mcaf Dotnet Mstest do?

Write, run, or repair .NET tests that use MSTest. An agent skill from managedcode/Storage. Mcaf Dotnet Mstest is an agent skill from managedcode/Storage.NET tests that use MSTest.

When should I use Mcaf Dotnet Mstest?

Mcaf Dotnet Mstest fits situations like: A repo uses MSTest.Sdk; microsoft.Testing.Platform-based MSTest execution.

How do I install Mcaf Dotnet Mstest in Claude Code?

Run `npx skills add managedcode/Storage --skill mcaf-dotnet-mstest -a claude-code`. Or copy the skill folder (.codex/skills/mcaf-dotnet-mstest in managedcode/Storage) into .claude/skills/mcaf-dotnet-mstest in your project. Claude Code loads it when a task matches its description.

How do I install Mcaf Dotnet Mstest in Codex?

Run `npx skills add managedcode/Storage --skill mcaf-dotnet-mstest -a codex`. Or copy the skill folder (.codex/skills/mcaf-dotnet-mstest in managedcode/Storage) into .agents/skills/mcaf-dotnet-mstest in your project. Codex loads it when a task matches its description.

Can I use Mcaf Dotnet Mstest in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/Storage --skill mcaf-dotnet-mstest -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcaf-dotnet-mstest, .gemini/skills/mcaf-dotnet-mstest, .github/skills/mcaf-dotnet-mstest and .opencode/skills/mcaf-dotnet-mstest in your project.

What does Mcaf Dotnet Mstest need to run?

Going by SKILL.md and its folder, Mcaf Dotnet Mstest needs the command-line tools its instructions call (dotnet and rg). Compatibility (from SKILL.md): Requires a .NET solution or project with MSTest packages; respects the repo's `AGENTS.md` commands first..

Does Mcaf Dotnet Mstest access the network?

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.

Is Mcaf Dotnet Mstest safe to install?

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.

What licence does Mcaf Dotnet Mstest use?

Mcaf Dotnet Mstest is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mcaf Dotnet Mstest use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 723 tokens, read only when the agent opens those files.

What are the alternatives to Mcaf Dotnet Mstest?

Skills that share tags, products or a category with Mcaf Dotnet Mstest: Microsoft Skill Creator (MicrosoftDocs/mcp, 1.9k stars), Copilot Session Failure Analysis (dotnet/maui, 23k stars), Microsoft Docs (MicrosoftDocs/mcp, 1.9k stars) and Init My Project (MCSLTeam/MCServerLauncher-Future, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mcaf Dotnet Mstest?

managedcode (a GitHub organization) maintains it in managedcode/Storage, which has 138 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 7, 2026.

Source: managedcode/Storage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.