exp-test-maintainability SKILL.md skillA
exp-test-maintainability from dotnet/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dotnet/skills/exp-test-maintainability@git:20260701.a677ec4Pins git:20260701.a677ec4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dotnet/skills
- Path
plugins/dotnet-experimental/skills/exp-test-maintainability/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260701.a677ec4, committed Jul 1, 2026
- First version recorded
- Mar 26, 2026
- Size
- 9,863 bytes
- Repository stars
- 5,836
- License
- MIT
Detects duplicate boilerplate, copy-paste tests, and structural maintainability issues across .NET test suites. Use when the user asks to reduce repetition, consolidate similar test methods, convert copy-paste tests to data-driven parameterized tests, suggest a better test structure, or identify refactoring opportunities. Identifies repeated construction, assertion patterns, copy-paste methods convertible to DataRow/Theory/TestCase, redundant setup/teardown, and shared infrastructure. Produces…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Test Maintainability Assessment Analyze .NET test code for maintainability issues: duplicated boilerplate, copy-paste test methods, and structural repetition across test methods and classes. Produce a report of refactoring opportunities with concrete before/after suggestions. The goal is analysis only — do not modify any files. ## When to Use - User asks to find duplicated code or boilerplate in tests - User wants to know where test code can be DRY-ed up - User asks to reduce test duplication, improve test readability, or clean up test boilerplate - User asks for refactoring opportunities in a test suite - User wants to identify shared setup or teardown candidates - User asks "what patterns repeat across my tests?" - User wants to centralize test data, introduce builders or helpers ## When Not to Use - User wants to write new tests from scratch (use `writing-mstest-tests`) - User wants to detect anti-patterns or code smells (use `test-anti-patterns`) - User wants to actually perform the refactoring (help them directly, this skill only analyzes) ## Inputs | Input | Required | Description | |-------|----------|-------------| …
Read the whole file at its exact version.
How to install
mdr add dotnet/skills/exp-test-maintainability@sha256:020f951207b49ed0The line at the top of this page pins the label git:20260701.a677ec4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_56vnif2td52vt4gp)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Mar 26, 2026 and Jul 1, 2026, about one every 24 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260701.a677ec4 latest | 2026-07-01 | a677ec4 | 9,863 B | A | view · diff |
| git:20260511.9f53120 | 2026-05-11 | 9f53120 | 9,537 B | A | view · diff |
| git:20260421.05aeb65 | 2026-04-21 | 05aeb65 | 9,541 B | A | view · diff |
| git:20260408.93dc33d | 2026-04-08 | 93dc33d | 9,528 B | A | view · diff |
| git:20260326.a220f36 | 2026-03-26 | a220f36 | 1,566 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9863 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dotnet/skills · 5,836 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_56vnif2td52vt4gp GET https://markdownregistry.com/api/v1/resolve?ref=dotnet/skills/exp-test-maintainability GET https://markdownregistry.com/api/v1/blob/020f951207b49ed03f3e80c83e3bd7f0959dee398d560aa96e9e481ccf5b7bd5
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.