[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XJNN4E6EPX115TCYG72BA":3,"skill-same:01M79XJNN4E6EPX115TCYG72BA":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M79XJNN4E6EPX115TCYG72BA","deniz-dotnet-general.run-tests",null,"Use before running .NET tests or answering with a test command or flags. Trigger on \"run the tests\", \"exact dotnet test command\", one test\u002Fclass\u002Fcategory\u002Ftrait\u002Ftarget framework, combined filters, `--filter-query`, `--no-build`, `--diag`, diagnostic logs, TRX, coverage collection, crash\u002Fhang dumps, filter errors, or unrecognized options. Chooses repository-compatible classic, VSTest, bridged MTP, or native MTP syntax for MSTest\u002FxUnit\u002FNUnit\u002FTUnit. DO NOT USE for platform identification alone (platform-detection), writing or debugging test code, interpreting an existing coverage report, CI investigation, migration, or a persistent hot reload\u002Fwatch loop.","Blind-Striker\u002Fagent-skills-and-plugins","Blind-Striker","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1965259?v=4","01M79WFXTE5PH0C1VB7B54ANMN","Deniz İrgin","01M79WFXV5KZ5GST1K8G035DM5",1,"MIT","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fopencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.run-tests\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deniz-dotnet-general.run-tests\ndescription: Use before running .NET tests or answering with a test command or\n  flags. Trigger on \"run the tests\", \"exact dotnet test command\", one\n  test\u002Fclass\u002Fcategory\u002Ftrait\u002Ftarget framework, combined filters,\n  `--filter-query`, `--no-build`, `--diag`, diagnostic logs, TRX, coverage\n  collection, crash\u002Fhang dumps, filter errors, or unrecognized options. Chooses\n  repository-compatible classic, VSTest, bridged MTP, or native MTP syntax for\n  MSTest\u002FxUnit\u002FNUnit\u002FTUnit. DO NOT USE for platform identification alone\n  (platform-detection), writing or debugging test code, interpreting an existing\n  coverage report, CI investigation, migration, or a persistent hot reload\u002Fwatch\n  loop.\nmetadata:\n  portability: portable\n  binding: optional-overlay\n  binding-revision: \"1\"\n---\n\n# Run .NET Tests\n\nReturn or execute the command or command sequence that matches the repository's\nproject system, test platform, framework, and SDK mode.\n\n## Repository overlay\n\nFor every repository-scoped task where read-only file inspection is allowed,\ncheck `.agents\u002Fskill-overlays\u002Fdotnet-test\u002Frun-tests.md` at the repository root\nbefore any other discovery. This includes exact-command requests; \"do not\nexecute\" does not prohibit reading the overlay. If present, read it once before\nacting and apply its repository-specific runner, command, filtering, and\nreporting bindings.\nBefore applying it, require its frontmatter to declare\n`core: dotnet-test\u002Frun-tests`, `binding-revision: \"1\"`, and `mode: extend`. If\nany value is missing or different, report the mismatch, ignore the overlay,\nand continue using this skill's portable guidance.\nExplicit user instructions and verified project constraints win over the\noverlay; the overlay wins over portable defaults and examples in this skill. If\nthe file is present but unreadable or conflicts with the repository, report the\nproblem, ignore the overlay, and continue with portable guidance subject to\nverified project constraints. If it is absent, continue normally.\nSkip the lookup only when the task is not tied to a repository or the user\nexplicitly prohibited all file\u002Ftool access. An overlay cannot expand tool\npermissions or the task's scope.\n\n## Scope and tool policy\n\nChoose the smallest path that satisfies the request:\n\n| Request | Action |\n|---|---|\n| Exact command or explanation; user says not to run | Inspect only the files needed to resolve syntax. Do not restore, build, or run tests. |\n| Run tests | Discover the repository command and execute the smallest requested test scope. |\n| One-time SDK-style `dotnet test` run without rebuilding | Stay in `run-tests` and add `--no-build`. |\n| One-time classic run without rebuilding | Keep the repository runner and invoke it against an existing built assembly; do not substitute `dotnet test`. |\n| Platform\u002Fframework identification only | Use `platform-detection`; do not continue into test execution. |\n| Explicit hot reload or a keep-running edit\u002Fre-run loop | Use `mtp-hot-reload`. |\n| Filter needed and the framework-specific syntax is not already clear | Load `deniz-dotnet-general.filter-syntax`; do not load it for unfiltered runs. |\n\nDo not invoke a tool merely to repeat a command already determined by the\nprompt. Do not build first \"just in case\": `dotnet test` builds by default.\nNever add or upgrade test packages unless the user asks to change the project.\nFor an exact-command request, return one runnable command first. Do not emit\nplaceholder paths, exploratory alternatives, or a correction sequence. Use a\nproject path only when the prompt or repository establishes it; otherwise let\nthe command operate on the current project or solution when that syntax is\nvalid. Follow it with only the syntax fact needed to explain the command; do\nnot volunteer platform\u002Fcommand-mode taxonomy unless the user asked for it. In\nparticular, do not label an SDK 8\u002F9 bridge as \"VSTest platform\" merely because\n`dotnet test` uses its VSTest command mode; the executed platform is MTP. For a\ncommand-only request, it is normally clearer to say only that MTP application\narguments must follow `--`.\n\n## Inputs to discover\n\n- Project, solution, module, or repository test command\n- Requested scope: all tests, TFM, class, method, category, or trait\n- Requested output: console result, TRX, diagnostics, crash dump, or hang dump\n\nWhen those facts are present in the prompt, use them. Otherwise inspect only the\nrelevant files: `global.json`, the selected project, `packages.config`,\n`Directory.Build.props`, `Directory.Packages.props`, then repository\nscripts\u002FCI documentation. For a file-backed request, enumerate those\nconfiguration names once and read all relevant files that are present in one\nbatch; never infer that a runner or bridge property is absent merely because it\nis not in the `.csproj`. Load `deniz-dotnet-general.platform-detection` only when those signals need\nprecedence analysis; do not duplicate its full analysis in the response.\nIf execution is requested and the command depends on the active SDK but neither\nthe prompt nor `global.json` establishes it, run `dotnet --version` once. For a\ncommand-only request that prohibits execution, do not probe: state the required\nSDK assumption or ask for the SDK version when the syntax cannot otherwise be\nresolved. Route identification-only requests to `platform-detection`.\n\n## Decision table\n\n| Detected mode \u002F platform | Command shape | Never use |\n|---|---|---|\n| Classic non-SDK | Repository script, or full MSBuild followed by `vstest.console.exe` \u002F `MSTest.exe` | Assuming `dotnet test` is compatible or migrating implicitly |\n| VSTest mode \u002F VSTest | `dotnet test [\u003Cpath>] [VSTEST_OPTIONS]` | MTP-only flags such as `--report-trx` or `--treenode-filter` |\n| VSTest mode \u002F executable MTP bridge | `dotnet test [\u003Cpath>] [DOTNET_OPTIONS] -- [MTP_OPTIONS]` | Omitting the `--` separator, including on SDK 10 |\n| Native MTP mode, SDK 10+ | `dotnet test --project \u003Cpath> [DOTNET_OPTIONS] [MTP_OPTIONS]` | Bare positional project paths or the bridge separator |\n\n`global.json` controls the `dotnet test` command mode on SDK 10+, not\nnecessarily the platform that executes tests. A VSTest-mode project with an MTP\nrunner, `TestingPlatformDotnetTestSupport=true`, and final `OutputType=Exe` is\nstill bridge syntax with `--`. SDK 8\u002F9 only has VSTest command mode.\n\n**SDK 10 with Microsoft.Testing.Platform 2.x has no bridge.** On SDK 10+, a\nproject whose MTP runner comes from Microsoft.Testing.Platform 2.x (current\nTUnit brings it in transitively) fails at build time in VSTest command mode:\n\"Testing with VSTest target is no longer supported by Microsoft.Testing.Platform\non .NET 10 SDK and later\". The `_MTPBeforeVSTest` target of\nMicrosoft.Testing.Platform.MSBuild raises that error whatever\n`TestingPlatformDotnetTestSupport` says, so no bridge property rescues VSTest\nmode. The remedy is native MTP command mode, selected in `global.json`:\n\n```json\n{\n  \"test\": { \"runner\": \"Microsoft.Testing.Platform\" }\n}\n```\n\nThen use `dotnet test --project \u003Cpath>` or `dotnet test --solution \u003Cpath>`.\nAdding that setting changes the repository: give it and apply it only when the\nuser asks to change the project. Until then, `dotnet run --project\n\u003Ctest-project>` runs the MTP test executable directly.\n\n`--project` is valid only in SDK 10+ **native MTP command mode** (selected by\n`global.json` `test.runner`). Never use it for VSTest mode or an SDK 8\u002F9 bridge;\nthose forms take a positional project path. Conversely, native MTP options are\ndirect arguments and must not be placed after a bridge separator.\n\nKeep `dotnet test`\u002FMSBuild options such as `--framework`, `--configuration`,\n`--no-build`, and `--verbosity` before `--`. Put only MTP application arguments\nafter `--` in bridge mode.\n\n## Workflow\n\n1. **Resolve the repository-compatible runner.**\n\nFor classic projects, signals include `ToolsVersion`, explicit `Compile` and\n`Reference` items, legacy imports, and `packages.config`. Prefer a checked-in\nscript or documented CI command. A typical fallback is:\n\n```powershell\nnuget restore MySolution.sln\nMSBuild.exe MySolution.sln \u002Ft:Build \u002Fp:Configuration=Debug\nvstest.console.exe path\\to\\MyTests.dll \u002FTestAdapterPath:path\\to\\adapter\\build\\\u003Ctfm>\n```\n\nFor `packages.config`, restore with NuGet before the build unless the imported\npackage files are already present. If adapter discovery is not repository-\nconfigured, derive `\u002FTestAdapterPath` from the restored adapter package path or\nthe adapter `.props`\u002F`.targets` imports; do not guess the package root.\n\nFor a requested no-rebuild run, omit the build step and invoke the repository's\ntest runner only when the expected assembly already exists. Otherwise report the\nmissing build output rather than silently rebuilding or switching runners.\n\nFor a requested subset, keep the repository runner and use its filter syntax:\n`vstest.console.exe path\\to\\MyTests.dll\n\u002FTestCaseFilter:\"TestCategory=Integration\"`. Older `MSTest.exe` repositories may\nuse `\u002Ftest:\u003Cname>` or `\u002Fcategory:\u003Ccategory>` instead. Do not substitute the\nlater `dotnet test` filter examples for a classic runner.\n\nUse the installed adapter-compatible VSTest\u002FMSTest toolchain. If it is not\navailable, state the missing prerequisite and the documented command; do not\nclaim tests ran.\nClassic `packages.config` fallback commands are Windows toolchain commands.\nExplicitly say they require a Windows Developer Command Prompt (or the\nrepository's equivalent configured environment) when the current host cannot\nprovide `nuget`, full MSBuild, and `vstest.console.exe`.\n\nFor SDK-style projects, distinguish:\n\n| Signal | Meaning |\n|---|---|\n| SDK 10+ `global.json` selects `Microsoft.Testing.Platform` | Native MTP command mode |\n| VSTest mode + enabled MTP runner + final `TestingPlatformDotnetTestSupport=true` + final `OutputType=Exe` | Executable VSTest-to-MTP bridge, except on SDK 10+ with Microsoft.Testing.Platform 2.x, which fails at build in VSTest mode |\n| VSTest mode without a complete runner-and-bridge combination | VSTest |\n| `Microsoft.NET.Test.Sdk` plus adapter, without stronger MTP signals | VSTest |\n| `TUnit` | MTP-only; use a configured bridge\u002Fnative mode or the test executable. On SDK 10+, current TUnit (MTP 2.x) needs native mode or the executable |\n\nEvaluate properties from the project and imported\n`Directory.Build.props`\u002F`Directory.Packages.props`. Respect project-level\noverrides and per-target-framework conditions. A runner and bridge without an\nexecutable final output are an incomplete MTP configuration, not a usable\nbridge.\n\n2. **Select the command and requested scope.**\n\n```shell\n# VSTest mode\ndotnet test path\u002Fto\u002FTests.csproj\n\n# VSTest mode that bridges to MTP\ndotnet test path\u002Fto\u002FTests.csproj -- \u003CMTP_OPTIONS>\n\n# Native MTP mode on SDK 10+\ndotnet test --project path\u002Fto\u002FTests.csproj \u003CMTP_OPTIONS>\n\n# One target framework; this stays before the bridge separator\ndotnet test path\u002Fto\u002FTests.csproj --framework net9.0 -- \u003CMTP_OPTIONS>\n```\n\nFor native MTP, use `--project`, `--solution`, or `--test-modules`; positional\npaths belong to VSTest mode.\n\nIf the user names a subset, do not run the whole suite. Inspect test attributes\nonly when needed to translate a human label such as \"integration\" or \"smoke\"\ninto the framework's actual category\u002Ftrait name.\n\nWhen a VSTest class filter must distinguish similarly named classes, combine\nthe positive selector with an explicit negative selector rather than relying on\nan incidental substring difference.\n\n3. **Apply platform- and framework-correct filters.**\n\nLoad `deniz-dotnet-general.filter-syntax` only when the request is filtered and the framework-specific\nsyntax is not already clear. The common decisions are:\n\nFor a file-backed filtered request, resolve the framework and SDK command mode\nfrom the project, `global.json`, and imported props before choosing syntax.\nDo not infer VSTest syntax merely from `Microsoft.NET.Test.Sdk` or from the\nframework name.\n\n| Platform \u002F framework | Filter |\n|---|---|\n| VSTest with MSTest, xUnit v2, or NUnit | `--filter \"\u003Cproperty expression>\"` |\n| MTP with MSTest or NUnit | Same expression; after `--` in bridge mode, direct in native mode |\n| MTP with xUnit v3 | `--filter-class`, `--filter-method`, `--filter-trait`, or one `--filter-query` for a combined expression |\n| MTP with TUnit | `--treenode-filter` path expression |\n\nExamples:\n\n```shell\n# VSTest MSTest\u002FNUnit\ndotnet test --filter \"FullyQualifiedName~OrderServiceTests&TestCategory=Unit\"\n\n# SDK 8\u002F9 or SDK 10 VSTest-mode MTP bridge, xUnit v3\ndotnet test -- --filter-trait \"Category=Integration\"\n\n# Native MTP, xUnit v3\ndotnet test --project Tests.csproj --filter-class \"*ShoppingCartTests*\"\n\n# One xUnit v3 combined expression\ndotnet test -- --filter-query \"\u002F*\u002F*\u002F*Integration*\u002F*[Category=Smoke]\"\n\n# TUnit on SDK 8\u002F9 with a configured VSTest-to-MTP bridge\ndotnet test -- --treenode-filter \"\u002F*\u002F*\u002FSmsNotificationTests\u002F*\"\n\n# TUnit executable fallback when no bridge is configured\ndotnet run --project Tests.csproj -- --treenode-filter \"\u002F*\u002F*\u002FSmsNotificationTests\u002F*\"\n```\n\nDo not use VSTest `--filter \"ClassName=...\"` with xUnit v3 on MTP. Do not use a\ngeneric VSTest expression with TUnit.\nWhen the user requests one combined xUnit query expression, return only one\n`--filter-query` command; do not replace it with separate filter flags or offer\nspeculative alternative grammars.\n\n4. **Add reports or diagnostics.**\n\n| Outcome | VSTest | MTP |\n|---|---|---|\n| TRX | SDK-style: `--logger \"trx;LogFileName=\u003Cname>.trx\"` when an exact output file is requested, otherwise `--logger trx`; standalone `vstest.console.exe`: `\u002FLogger:trx`; `MSTest.exe`: repository-documented results option | `--report-trx` |\n| Results directory | `--results-directory \u003Cdir>` | `--results-directory \u003Cdir>` |\n| Diagnostic log | `--diag \u003Cfile>` | `--diagnostic --diagnostic-output-directory \u003Cdir>` |\n| Crash dump | `--blame-crash` | `--crashdump` |\n| Hang timeout | `--blame-hang --blame-hang-timeout 5min` | `--hangdump --hangdump-timeout 5min` |\n| Code coverage, as Cobertura XML | `--collect \"Code Coverage;Format=cobertura\"` (Microsoft collector), or `--collect \"XPlat Code Coverage\"` (`coverlet.collector`, Cobertura by default) | `--coverage --coverage-output-format cobertura` |\n\nMTP report, dump, and coverage flags require their corresponding registered\nextensions (`TrxReport`, `CrashDump`, `HangDump`, or `CodeCoverage`). Some\nframework SDKs bundle common extensions; if a flag is unrecognized, inspect\npackage references before recommending a package change.\n\nWhenever coverage is requested, collect it as Cobertura XML, so a coverage\nanalysis can read the result; the Microsoft collector's default binary\n`.coverage` file needs a converter. A VSTest collector writes under a GUID\nsubfolder of the results directory, so search it recursively.\n\n`--verbosity diagnostic` increases dotnet\u002FMSBuild output verbosity; it does not\nwrite a VSTest diagnostic log file.\n\nExamples:\n\n```shell\n# VSTest TRX\ndotnet test Tests.csproj --logger \"trx;LogFileName=TestResults.trx\"\n\n# MTP bridge TRX\ndotnet test Tests.csproj -- --report-trx\n\n# Native MTP TRX and hang detection\ndotnet test --project Tests.csproj --report-trx --hangdump --hangdump-timeout 5min\n\n# Native MTP diagnostics\ndotnet test --project Tests.csproj --diagnostic --diagnostic-output-directory artifacts\u002Fdiagnostics\n```\n\n5. **Execute only when requested.**\n\nRun the narrowest command or sequence that answers the request. Capture each\ncommand, exit code, and test summary. A failed restore\u002Fbuild is not a test\nfailure, and a test failure is not a tool failure. Report which phase failed and\ninclude the actionable diagnostic. Never claim a clean run unless the sequence\ncompleted successfully with the intended tests executed.\nFor a filtered run, a successful exit is not enough: confirm the reported test\nnames or count match the requested scope. If the filter was ignored, correct the\nplatform-specific syntax and rerun before reporting success.\nMTP exit code 8 means zero tests ran: a filtered run that ran nothing is a\nfailure, not a pass.\n\n## Output contract\n\n- Command-only request: lead with the exact command or command sequence, then\n  one short syntax explanation.\n- Execution request: report the exact command or command sequence and\n  a literal `Passed: N, Failed: N, Skipped: N` summary from the completed run;\n  include the first actionable failure.\n- Detection needed only to choose syntax: state the selected mode\u002Fplatform\n  briefly, not a separate detection report.\n- Missing prerequisite or incompatible configuration: name it explicitly and\n  stop rather than returning a success-shaped fallback.\n\n## Validation\n\n- The command matches classic, VSTest, bridged MTP, or native MTP mode.\n- The framework-specific filter targets the requested subset.\n- `--framework` and other `dotnet test` options are before any bridge separator.\n- SDK 8\u002F9 bridge commands contain `--`; `--project` appears only in SDK 10+\n  native MTP mode.\n- On SDK 10+ with Microsoft.Testing.Platform 2.x, no command uses VSTest mode.\n- TRX, diagnostics, dump, and coverage flags match the platform, and coverage\n  is collected as Cobertura.\n- No restore, build, or test was run for an advisory-only request.\n- Reported results match the actual command outcome.\n","# Run .NET Tests\n\nReturn or execute the command or command sequence that matches the repository's\nproject system, test platform, framework, and SDK mode.\n\n## Repository overlay\n\nFor every repository-scoped task where read-only file inspection is allowed,\ncheck `.agents\u002Fskill-overlays\u002Fdotnet-test\u002Frun-tests.md` at the repository root\nbefore any other discovery. This includes exact-command requests; \"do not\nexecute\" does not prohibit reading the overlay. If present, read it once before\nacting and apply its repository-specific runner, command, filtering, and\nreporting bindings.\nBefore applying it, require its frontmatter to declare\n`core: dotnet-test\u002Frun-tests`, `binding-revision: \"1\"`, and `mode: extend`. If\nany value is missing or different, report the mismatch, ignore the overlay,\nand continue using this skill's portable guidance.\nExplicit user instructions and verified project constraints win over the\noverlay; the overlay wins over portable defaults and examples in this skill. If\nthe file is present but unreadable or conflicts with the repository, report the\nproblem, ignore the overlay, and continue with portable guidance subject to\nverified project constraints. If it is absent, continue normally.\nSkip the lookup only when the task is not tied to a repository or the user\nexplicitly prohibited all file\u002Ftool access. An overlay cannot expand tool\npermissions or the task's scope.\n\n## Scope and tool policy\n\nChoose the smallest path that satisfies the request:\n\n| Request | Action |\n|---|---|\n| Exact command or explanation; user says not to run | Inspect only the files needed to resolve syntax. Do not restore, build, or run tests. |\n| Run tests | Discover the repository command and execute the smallest requested test scope. |\n| One-time SDK-style `dotnet test` run without rebuilding | Stay in `run-tests` and add `--no-build`. |\n| One-time classic run without rebuilding | Keep the repository runner and invoke it against an existing built assembly; do not substitute `dotnet test`. |\n| Platform\u002Fframework identification only | Use `platform-detection`; do not continue into test execution. |\n| Explicit hot reload or a keep-running edit\u002Fre-run loop | Use `mtp-hot-reload`. |\n| Filter needed and the framework-specific syntax is not already clear | Load `deniz-dotnet-general.filter-syntax`; do not load it for unfiltered runs. |\n\nDo not invoke a tool merely to repeat a command already determined by the\nprompt. Do not build first \"just in case\": `dotnet test` builds by default.\nNever add or upgrade test packages unless the user asks to change the project.\nFor an exact-command request, return one runnable command first. Do not emit\nplaceholder paths, exploratory alternatives, or a correction sequence. Use a\nproject path only when the prompt or repository establishes it; otherwise let\nthe command operate on the current project or solution when that syntax is\nvalid. Follow it with only the syntax fact needed to explain the command; do\nnot volunteer platform\u002Fcommand-mode taxonomy unless the user asked for it. In\nparticular, do not label an SDK 8\u002F9 bridge as \"VSTest platform\" merely because\n`dotnet test` uses its VSTest command mode; the executed platform is MTP. For a\ncommand-only request, it is normally clearer to say only that MTP application\narguments must follow `--`.\n\n## Inputs to discover\n\n- Project, solution, module, or repository test command\n- Requested scope: all tests, TFM, class, method, category, or trait\n- Requested output: console result, TRX, diagnostics, crash dump, or hang dump\n\nWhen those facts are present in the prompt, use them. Otherwise inspect only the\nrelevant files: `global.json`, the selected project, `packages.config`,\n`Directory.Build.props`, `Directory.Packages.props`, then repository\nscripts\u002FCI documentation. For a file-backed request, enumerate those\nconfiguration names once and read all relevant files that are present in one\nbatch; never infer that a runner or bridge property is absent merely because it\nis not in the `.csproj`. Load `deniz-dotnet-general.platform-detection` only when those signals need\nprecedence analysis; do not duplicate its full analysis in the response.\nIf execution is requested and the command depends on the active SDK but neither\nthe prompt nor `global.json` establishes it, run `dotnet --version` once. For a\ncommand-only request that prohibits execution, do not probe: state the required\nSDK assumption or ask for the SDK version when the syntax cannot otherwise be\nresolved. Route identification-only requests to `platform-detection`.\n\n## Decision table\n\n| Detected mode \u002F platform | Command shape | Never use |\n|---|---|---|\n| Classic non-SDK | Repository script, or full MSBuild followed by `vstest.console.exe` \u002F `MSTest.exe` | Assuming `dotnet test` is compatible or migrating implicitly |\n| VSTest mode \u002F VSTest | `dotnet test [\u003Cpath>] [VSTEST_OPTIONS]` | MTP-only flags such as `--report-trx` or `--treenode-filter` |\n| VSTest mode \u002F executable MTP bridge | `dotnet test [\u003Cpath>] [DOTNET_OPTIONS] -- [MTP_OPTIONS]` | Omitting the `--` separator, including on SDK 10 |\n| Native MTP mode, SDK 10+ | `dotnet test --project \u003Cpath> [DOTNET_OPTIONS] [MTP_OPTIONS]` | Bare positional project paths or the bridge separator |\n\n`global.json` controls the `dotnet test` command mode on SDK 10+, not\nnecessarily the platform that executes tests. A VSTest-mode project with an MTP\nrunner, `TestingPlatformDotnetTestSupport=true`, and final `OutputType=Exe` is\nstill bridge syntax with `--`. SDK 8\u002F9 only has VSTest command mode.\n\n**SDK 10 with Microsoft.Testing.Platform 2.x has no bridge.** On SDK 10+, a\nproject whose MTP runner comes from Microsoft.Testing.Platform 2.x (current\nTUnit brings it in transitively) fails at build time in VSTest command mode:\n\"Testing with VSTest target is no longer supported by Microsoft.Testing.Platform\non .NET 10 SDK and later\". The `_MTPBeforeVSTest` target of\nMicrosoft.Testing.Platform.MSBuild raises that error whatever\n`TestingPlatformDotnetTestSupport` says, so no bridge property rescues VSTest\nmode. The remedy is native MTP command mode, selected in `global.json`:\n\n```json\n{\n  \"test\": { \"runner\": \"Microsoft.Testing.Platform\" }\n}\n```\n\nThen use `dotnet test --project \u003Cpath>` or `dotnet test --solution \u003Cpath>`.\nAdding that setting changes the repository: give it and apply it only when the\nuser asks to change the project. Until then, `dotnet run --project\n\u003Ctest-project>` runs the MTP test executable directly.\n\n`--project` is valid only in SDK 10+ **native MTP command mode** (selected by\n`global.json` `test.runner`). Never use it for VSTest mode or an SDK 8\u002F9 bridge;\nthose forms take a positional project path. Conversely, native MTP options are\ndirect arguments and must not be placed after a bridge separator.\n\nKeep `dotnet test`\u002FMSBuild options such as `--framework`, `--configuration`,\n`--no-build`, and `--verbosity` before `--`. Put only MTP application arguments\nafter `--` in bridge mode.\n\n## Workflow\n\n1. **Resolve the repository-compatible runner.**\n\nFor classic projects, signals include `ToolsVersion`, explicit `Compile` and\n`Reference` items, legacy imports, and `packages.config`. Prefer a checked-in\nscript or documented CI command. A typical fallback is:\n\n```powershell\nnuget restore MySolution.sln\nMSBuild.exe MySolution.sln \u002Ft:Build \u002Fp:Configuration=Debug\nvstest.console.exe path\\to\\MyTests.dll \u002FTestAdapterPath:path\\to\\adapter\\build\\\u003Ctfm>\n```\n\nFor `packages.config`, restore with NuGet before the build unless the imported\npackage files are already present. If adapter discovery is not repository-\nconfigured, derive `\u002FTestAdapterPath` from the restored adapter package path or\nthe adapter `.props`\u002F`.targets` imports; do not guess the package root.\n\nFor a requested no-rebuild run, omit the build step and invoke the repository's\ntest runner only when the expected assembly already exists. Otherwise report the\nmissing build output rather than silently rebuilding or switching runners.\n\nFor a requested subset, keep the repository runner and use its filter syntax:\n`vstest.console.exe path\\to\\MyTests.dll\n\u002FTestCaseFilter:\"TestCategory=Integration\"`. Older `MSTest.exe` repositories may\nuse `\u002Ftest:\u003Cname>` or `\u002Fcategory:\u003Ccategory>` instead. Do not substitute the\nlater `dotnet test` filter examples for a classic runner.\n\nUse the installed adapter-compatible VSTest\u002FMSTest toolchain. If it is not\navailable, state the missing prerequisite and the documented command; do not\nclaim tests ran.\nClassic `packages.config` fallback commands are Windows toolchain commands.\nExplicitly say they require a Windows Developer Command Prompt (or the\nrepository's equivalent configured environment) when the current host cannot\nprovide `nuget`, full MSBuild, and `vstest.console.exe`.\n\nFor SDK-style projects, distinguish:\n\n| Signal | Meaning |\n|---|---|\n| SDK 10+ `global.json` selects `Microsoft.Testing.Platform` | Native MTP command mode |\n| VSTest mode + enabled MTP runner + final `TestingPlatformDotnetTestSupport=true` + final `OutputType=Exe` | Executable VSTest-to-MTP bridge, except on SDK 10+ with Microsoft.Testing.Platform 2.x, which fails at build in VSTest mode |\n| VSTest mode without a complete runner-and-bridge combination | VSTest |\n| `Microsoft.NET.Test.Sdk` plus adapter, without stronger MTP signals | VSTest |\n| `TUnit` | MTP-only; use a configured bridge\u002Fnative mode or the test executable. On SDK 10+, current TUnit (MTP 2.x) needs native mode or the executable |\n\nEvaluate properties from the project and imported\n`Directory.Build.props`\u002F`Directory.Packages.props`. Respect project-level\noverrides and per-target-framework conditions. A runner and bridge without an\nexecutable final output are an incomplete MTP configuration, not a usable\nbridge.\n\n2. **Select the command and requested scope.**\n\n```shell\n# VSTest mode\ndotnet test path\u002Fto\u002FTests.csproj\n\n# VSTest mode that bridges to MTP\ndotnet test path\u002Fto\u002FTests.csproj -- \u003CMTP_OPTIONS>\n\n# Native MTP mode on SDK 10+\ndotnet test --project path\u002Fto\u002FTests.csproj \u003CMTP_OPTIONS>\n\n# One target framework; this stays before the bridge separator\ndotnet test path\u002Fto\u002FTests.csproj --framework net9.0 -- \u003CMTP_OPTIONS>\n```\n\nFor native MTP, use `--project`, `--solution`, or `--test-modules`; positional\npaths belong to VSTest mode.\n\nIf the user names a subset, do not run the whole suite. Inspect test attributes\nonly when needed to translate a human label such as \"integration\" or \"smoke\"\ninto the framework's actual category\u002Ftrait name.\n\nWhen a VSTest class filter must distinguish similarly named classes, combine\nthe positive selector with an explicit negative selector rather than relying on\nan incidental substring difference.\n\n3. **Apply platform- and framework-correct filters.**\n\nLoad `deniz-dotnet-general.filter-syntax` only when the request is filtered and the framework-specific\nsyntax is not already clear. The common decisions are:\n\nFor a file-backed filtered request, resolve the framework and SDK command mode\nfrom the project, `global.json`, and imported props before choosing syntax.\nDo not infer VSTest syntax merely from `Microsoft.NET.Test.Sdk` or from the\nframework name.\n\n| Platform \u002F framework | Filter |\n|---|---|\n| VSTest with MSTest, xUnit v2, or NUnit | `--filter \"\u003Cproperty expression>\"` |\n| MTP with MSTest or NUnit | Same expression; after `--` in bridge mode, direct in native mode |\n| MTP with xUnit v3 | `--filter-class`, `--filter-method`, `--filter-trait`, or one `--filter-query` for a combined expression |\n| MTP with TUnit | `--treenode-filter` path expression |\n\nExamples:\n\n```shell\n# VSTest MSTest\u002FNUnit\ndotnet test --filter \"FullyQualifiedName~OrderServiceTests&TestCategory=Unit\"\n\n# SDK 8\u002F9 or SDK 10 VSTest-mode MTP bridge, xUnit v3\ndotnet test -- --filter-trait \"Category=Integration\"\n\n# Native MTP, xUnit v3\ndotnet test --project Tests.csproj --filter-class \"*ShoppingCartTests*\"\n\n# One xUnit v3 combined expression\ndotnet test -- --filter-query \"\u002F*\u002F*\u002F*Integration*\u002F*[Category=Smoke]\"\n\n# TUnit on SDK 8\u002F9 with a configured VSTest-to-MTP bridge\ndotnet test -- --treenode-filter \"\u002F*\u002F*\u002FSmsNotificationTests\u002F*\"\n\n# TUnit executable fallback when no bridge is configured\ndotnet run --project Tests.csproj -- --treenode-filter \"\u002F*\u002F*\u002FSmsNotificationTests\u002F*\"\n```\n\nDo not use VSTest `--filter \"ClassName=...\"` with xUnit v3 on MTP. Do not use a\ngeneric VSTest expression with TUnit.\nWhen the user requests one combined xUnit query expression, return only one\n`--filter-query` command; do not replace it with separate filter flags or offer\nspeculative alternative grammars.\n\n4. **Add reports or diagnostics.**\n\n| Outcome | VSTest | MTP |\n|---|---|---|\n| TRX | SDK-style: `--logger \"trx;LogFileName=\u003Cname>.trx\"` when an exact output file is requested, otherwise `--logger trx`; standalone `vstest.console.exe`: `\u002FLogger:trx`; `MSTest.exe`: repository-documented results option | `--report-trx` |\n| Results directory | `--results-directory \u003Cdir>` | `--results-directory \u003Cdir>` |\n| Diagnostic log | `--diag \u003Cfile>` | `--diagnostic --diagnostic-output-directory \u003Cdir>` |\n| Crash dump | `--blame-crash` | `--crashdump` |\n| Hang timeout | `--blame-hang --blame-hang-timeout 5min` | `--hangdump --hangdump-timeout 5min` |\n| Code coverage, as Cobertura XML | `--collect \"Code Coverage;Format=cobertura\"` (Microsoft collector), or `--collect \"XPlat Code Coverage\"` (`coverlet.collector`, Cobertura by default) | `--coverage --coverage-output-format cobertura` |\n\nMTP report, dump, and coverage flags require their corresponding registered\nextensions (`TrxReport`, `CrashDump`, `HangDump`, or `CodeCoverage`). Some\nframework SDKs bundle common extensions; if a flag is unrecognized, inspect\npackage references before recommending a package change.\n\nWhenever coverage is requested, collect it as Cobertura XML, so a coverage\nanalysis can read the result; the Microsoft collector's default binary\n`.coverage` file needs a converter. A VSTest collector writes under a GUID\nsubfolder of the results directory, so search it recursively.\n\n`--verbosity diagnostic` increases dotnet\u002FMSBuild output verbosity; it does not\nwrite a VSTest diagnostic log file.\n\nExamples:\n\n```shell\n# VSTest TRX\ndotnet test Tests.csproj --logger \"trx;LogFileName=TestResults.trx\"\n\n# MTP bridge TRX\ndotnet test Tests.csproj -- --report-trx\n\n# Native MTP TRX and hang detection\ndotnet test --project Tests.csproj --report-trx --hangdump --hangdump-timeout 5min\n\n# Native MTP diagnostics\ndotnet test --project Tests.csproj --diagnostic --diagnostic-output-directory artifacts\u002Fdiagnostics\n```\n\n5. **Execute only when requested.**\n\nRun the narrowest command or sequence that answers the request. Capture each\ncommand, exit code, and test summary. A failed restore\u002Fbuild is not a test\nfailure, and a test failure is not a tool failure. Report which phase failed and\ninclude the actionable diagnostic. Never claim a clean run unless the sequence\ncompleted successfully with the intended tests executed.\nFor a filtered run, a successful exit is not enough: confirm the reported test\nnames or count match the requested scope. If the filter was ignored, correct the\nplatform-specific syntax and rerun before reporting success.\nMTP exit code 8 means zero tests ran: a filtered run that ran nothing is a\nfailure, not a pass.\n\n## Output contract\n\n- Command-only request: lead with the exact command or command sequence, then\n  one short syntax explanation.\n- Execution request: report the exact command or command sequence and\n  a literal `Passed: N, Failed: N, Skipped: N` summary from the completed run;\n  include the first actionable failure.\n- Detection needed only to choose syntax: state the selected mode\u002Fplatform\n  briefly, not a separate detection report.\n- Missing prerequisite or incompatible configuration: name it explicitly and\n  stop rather than returning a success-shaped fallback.\n\n## Validation\n\n- The command matches classic, VSTest, bridged MTP, or native MTP mode.\n- The framework-specific filter targets the requested subset.\n- `--framework` and other `dotnet test` options are before any bridge separator.\n- SDK 8\u002F9 bridge commands contain `--`; `--project` appears only in SDK 10+\n  native MTP mode.\n- On SDK 10+ with Microsoft.Testing.Platform 2.x, no command uses VSTest mode.\n- TRX, diagnostics, dump, and coverage flags match the platform, and coverage\n  is collected as Cobertura.\n- No restore, build, or test was run for an advisory-only request.\n- Reported results match the actual command outcome.\n",{"name":5,"metadata":24,"description":7},{"binding":25,"portability":26,"binding-revision":27},"optional-overlay","portable","1","master","b30b1c1908dbc56a8184128f18803053d762ccb5","opencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.run-tests",0,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins","https:\u002F\u002Fgithub.com\u002FBlind-Striker","denizirgin.com","VP of Engineering - \r\n@armutcom @homeruntech @prontopro\r\n |  Speaker \r\n@CodeFiction\r\n, http:\u002F\u002Fcodefiction.tech | Developer, gamer, blogger, maiden iron fan","2026-11-13 00:23:18",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill deniz-dotnet-general.run-tests",{"tool":43,"command":44},"bunx","bunx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill deniz-dotnet-general.run-tests",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill deniz-dotnet-general.run-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fopencode\u002Fdeniz-dotnet-general\u002Fskills\u002Fdeniz-dotnet-general.run-tests\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M79YGWBJ52PHMSTKJ3RJ3AWR","writing-tunit-tests","Write tests in TUnit — the attributes, the async assertion model, data-driven cases, lifecycle hooks, and the parallelism rules. USE FOR writing or fixing a test in a TUnit project, translating a test idea into TUnit syntax, or reviewing TUnit test code for API mistakes. DO NOT USE FOR deciding what to test, judging whether a test is any good, or running tests.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fwriting-tunit-tests\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79YGR3Y9RCRS6TD71D0KKP8","dotnet-walls","Walls for a .NET change in a repository without its own quality gates — pinned, ephemeral analyzer, format, clone and scanner commands for the verify step, their identity ratchet, and the build traps. Use during a walls preflight, or when a worker's verify step needs .NET quality gates.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fdotnet-walls\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79YGFNJBST7D803NQW3SBYM","csharp-15","Write, review and modernize C# 15 (.NET 11) code correctly. Covers every C# 15 feature - collection expression arguments (`[with(...), ...]`), union types (`union`, `[Union]`, `IUnion`, custom unions), closed class hierarchies (`closed`), extension indexers, labeled `break`\u002F`continue`, non-virtual static interface members on runtimes without default interface methods, and the preview memory-safety model (`unsafe(expr)`, `safe`, requires-unsafe members). Use when code targets net11.0 or LangVersion 15\u002Fpreview, when the user mentions any of these features, when replacing marker interfaces, OneOf-style results, `goto`\u002Fflag loop exits or capacity\u002Fcomparer boilerplate, or when the build reports CS8121, CS8509, CS8655, CS8510, CS0121\u002FCS0411 on a `with(...)` element, CS9370, CS9380 or CS9363.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fcsharp-15\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79YGAV031473HSX6FN87ENH","verified-waves","Run one task as verified multi-agent waves. Plans the fan-out, sends findings to fresh skeptics, keeps a ledger, and reports N of M done; small tasks stay solo.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fverified-waves\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79YG6QXNND4WRPP3GATSY8J","harness","The bundled dispatch harness, which runs a task file on worker models through OpenCode or Codex, fences their writes, escalates their asks to the operator, settles each result from git and its verify commands, and records every step in a ledger. Its commands, task file, modes and write fence, configuration, runs and their recovery, ledger and exit codes.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fharness\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79YG2P5S91SDTA5912XJ4FV","delegating-to-worker-models","Use when you hand off implementation, a plan, research a decision will rely on, or a review, and you brief the worker and check what comes back. A subagent that searches, reads in parallel, or keeps your context small is ordinary tool use. Covers what stays with you, the mechanism, assigning work by strength, the walls preflight, prompts without contradictions, the worker contract and model profiles, evidence from your own run, review, and the fix-up loop.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fdelegating-to-worker-models\u002FSKILL.md",[],[]]