code-review
Skill1k starsChanged 6 months agoMITView on GitHub
Review pull requests for MSTest and Microsoft.Testing.Platform with TestFx-specific checks. Use for every GitHub Copilot code review in this repository, with extra scrutiny for tests, public APIs, analyzers, MSBuild, localization, and agentic workflows.
188 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Who's talking about microsoft/testfx
- dotnet/sdk“[Proposal]: Add Microsoft.NET.Sdk.Testing”GitHub · Jun 7, 2025 · 10 reactions
- dependabot/dependabot-core“Dependabot job fails due to attempt to update packages referenced via an MSBuild SDK”GitHub · Feb 4, 2025 · 9 reactions
- xunit/visualstudio.xunit“Microsoft Testing Platform for xUnit”GitHub · Feb 22, 2024 · 6 reactions
- microsoft/testfx-docs“DataTestMethod vs TestMethod”GitHub · Dec 3, 2018 · 6 reactions
- nunit/nunit3-vs-adapter“Microsoft Testing Platform for NUnit”GitHub · Feb 19, 2024 · 5 reactions
The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 17
Talked about on GitHub (17 times).
On GitHub · 17
- Jun 7, 2025[Proposal]: Add Microsoft.NET.Sdk.Testing — dotnet/sdksays it tested it10 reactions · 15 comments
- Feb 4, 2025Dependabot job fails due to attempt to update packages referenced via an MSBuild SDK — dependabot/dependabot-core9 reactions · 13 comments
- Feb 22, 2024Microsoft Testing Platform for xUnit — xunit/visualstudio.xunitsays it tested it6 reactions · 19 comments
- Dec 3, 2018DataTestMethod vs TestMethod — microsoft/testfx-docs6 reactions · 4 comments
- Feb 19, 2024Microsoft Testing Platform for NUnit — nunit/nunit3-vs-adaptersays it tested it5 reactions · 1 comment
12 more on GitHub
- Dec 19, 2023Arcade should opt into `BuildWithNetFrameworkHostedCompiler` by default — dotnet/arcade5 reactions · 18 comments
- Nov 24, 2025Native support for Microsoft.Testing.Platform? — danielpalme/ReportGeneratorsays it tested it4 reactions · 3 comments
- Oct 31, 2025Selecting test runner without global.json — dotnet/sdk3 reactions · 2 comments
- Jul 15, 2025[Analyzer Proposal]: Don't use `stringBuilder.Append(new string(c, repeatCount))` — dotnet/runtime3 reactions · 3 comments
- Jul 13, 2025Allow `dotnet test --list-tests json` — dotnet/sdk3 reactions · 7 comments
- Jul 9, 2025Improve output of `dotnet test` with MTP — dotnet/sdk3 reactions · 6 comments
- Jan 30, 2024Support for the new test runner — nunit/nunit3 reactions · 3 comments
- Oct 17, 2017[ExcludeFromCodeCoverageAttribute] should be applicable to assemblies — dotnet/runtime3 reactions · 12 comments
- Sep 2, 2026chore(deps): update mstest to 4.4.0 — thomhurst/TUnit2 reactions · 3 comments
- Dec 17, 2025[MTP] Cannot switch off terminal logger when building during dotnet test — dotnet/sdk2 reactions
- May 20, 2025Add `-vs` and `-vscode` to build scripts — dotnet/arcade2 reactions · 8 comments
- Jan 16, 2024An Allure adapter for MSTest — allure-framework/allure-csharp2 reactions · 2 comments
Used with
Projects with it also use starter, media-processing and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- eng/common/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- assertion-qualitySkill
- binlog-failure-analysisSkill
- binlog-generationSkill
- build-parallelismSkill
- build-perf-baselineSkill
- build-perf-diagnosticsSkill
- check-bin-obj-clashSkill
- code-testing-agentSkill
- code-testing-extensionsSkill
- coverage-analysisSkill
- crap-scoreSkill
- detect-static-dependenciesSkill
- directory-build-organizationSkill
- dotnet-test-frameworksSkill
- eval-performanceSkill
- extension-pointsSkill
- filter-syntaxSkill
- generate-testability-wrappersSkill
- grade-testsSkill
- including-generated-filesSkill
- incremental-buildSkill
- item-managementSkill
- migrate-mstest-v1v2-to-v3Skill
- migrate-mstest-v3-to-v4Skill
- migrate-static-to-wrapperSkill
- migrate-vstest-to-mtpSkill
- migrate-xunit-to-mstestSkill
- migrate-xunit-to-xunit-v3Skill
- msbuild-antipatternsSkill
- msbuild-modernizationSkill
- msbuild-serverSkill
- mtp-hot-reloadSkill
- platform-detectionSkill
- property-patternsSkill
- resolve-project-referencesSkill
- run-testsSkill
- target-authoringSkill
- test-analysis-extensionsSkill
- test-anti-patternsSkill
- test-gap-analysisSkill
- test-smell-detectionSkill
- test-taggingSkill
- writing-mstest-testsSkill
- agentic-workflowsSkill
- post-release-activitiesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
33 rules. 0 are common, 28 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
28
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Read .github/copilot-instructions.md first and treat it as authoritative.
- Distinctive: line 29
Check changed tests against the test-review guidance below.
- Distinctive: line 32
If the change is correct, do not invent a finding merely to leave feedback.
- Distinctive: line 39
Put PR-level findings, scope and description feedback, dependency assessments, specialist-review summaries, and overflow findings in the …
- Distinctive: line 41
Do not post separate top-level PR comments for review content.
- Distinctive: line 48
Do not duplicate a finding already covered by another live review thread.
- Distinctive: line 64
Check whether the PR combines independent features, refactors, fixes, or formatting changes that have different motivations or could be …
- Distinctive: line 69
Check that every material diff is explained by the PR description and that every claimed behavior is implemented.
- Distinctive: line 78
Put scope, description-alignment, split, and additional-review feedback only in the top-level review summary, never on an arbitrary changed …
- Distinctive: line 89
Do not request a multi-model review for routine public API additions, bug fixes, analyzer changes, adapter features, or test-only changes.
- Distinctive: line 98
Treat overload additions as potentially source-breaking.
- Very specific: line 104
Every API marked [Experimental] must include this sentence in its XML documentation <remarks>: This API is experimental.
- Distinctive: line 107
Check every target framework affected by the change.
- Very specific: line 121
Never accept manual changes under eng/common/.
- Very specific: line 123
Do not weaken ApplicationStateGuard.Unreachable(), Debug.Assert, or explicit invariant throws into silent fallbacks, warnings, or empty …
- Very specific: line 130
Do not allow untracked TODO comments.
- Distinctive: line 139
Ensure untrusted file and directory names cannot escape the intended root through traversal, rooted paths, alternate separators, or symlink …
- Distinctive: line 141
Ensure process launches preserve argument boundaries and do not concatenate untrusted values into a command line, shell command, or …
- Distinctive: line 143
Check executable resolution, working-directory selection, inherited environment variables, and assembly or plugin search paths.
- Distinctive: line 148
Treat reflection, user callbacks, test methods, data sources, extensions, and assembly discovery as hostile-code boundaries.
- Distinctive: line 152
Do not expose secrets, tokens, environment values, private paths, or sensitive test data through logs, exceptions, reports, artifacts, …
- Distinctive: line 155
Check that temporary files and artifacts use safe locations, appropriate access, collision-resistant names, and reliable cleanup.
- Distinctive: line 157
Treat workflow permission, network access, action pin, and secret-handling changes as security boundaries.
- Distinctive: line 162
Use authoritative evidence such as official advisories, NuGet metadata, and upstream release notes.
- Distinctive: line 184
Use those files as review checklists, not as a request for a repository-wide audit.
- Distinctive: line 207
Test changes cover negative paths, boundaries, cleanup, cancellation, and failure behavior relevant to the production change.
- Distinctive: line 227
Verify diagnostic IDs, severity, generated-code behavior, false-positive risk, analyzer release tracking, and code-fix registration and …
- Distinctive: line 231
unrepresentable: Check all source-value polarities and supported target versions.
- Distinctive: line 236
Check descriptor wording against the classification.
- Distinctive: line 239
Every diagnostic without a code fix must have a safe, concrete manual edit that clears the diagnostic while preserving the relevant …
- Distinctive: line 252
Put PR-level scope, description, split, and multi-model-review feedback in the overall review summary and identify the specific unsupported …
- Distinctive: line 256
Use severity proportional to impact.
- Distinctive: line 259
Do not submit an approval on behalf of repository maintainers.
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TestFx Code Review
Review the pull request as a maintainer of MSTest and Microsoft.Testing.Platform.
Read .github/copilot-instructions.md first and treat it as authoritative.
Focus on defects introduced by the pull request. Do not report pre-existing issues, speculative concerns without a concrete failure mode, or style preferences already enforced by automation. Read enough surrounding code and tests to understand the changed behavior before commenting.
Review process
- Identify the product area from the changed paths:
src/Platformand related tests: Microsoft.Testing.Platform and extensions.src/TestFramework: the public MSTest framework API.src/Adapter: MSTest adapters and platform services.src/Analyzers: Roslyn analyzers and code fixes.src/Package/MSTest.Sdk,eng, and MSBuild files: build and packaging.
- Trace each behavior change through its callers, tests, target frameworks, shipped packages, and linked source files.
- Compare the PR title and description with the actual diff. Verify that the stated motivation, behavior change, compatibility impact, and validation match what the code does.
- Check changed tests against the test-review guidance below.
- Report only actionable findings caused by the PR. Prefer a small number of high-confidence findings over broad summaries or praise.
- If the change is correct, do not invent a finding merely to leave feedback.
Review publication
- Publish review feedback as one pull-request review per run. Stage actionable line findings as inline review comments, then bundle them with the final review submission.
- Put PR-level findings, scope and description feedback, dependency assessments, specialist-review summaries, and overflow findings in the final review body. Do not post separate top-level PR comments for review content.
- Include a compact
Confidence at a glancesection with one color-coded, collapsed block per applicable review scope. Keep the detailed dimensions as an internal coverage checklist; do not publish one status row per dimension. - Lead with measurable reviewer actions when action is needed. Keep detailed line-level evidence in inline comments rather than repeating it in the final review body.
- Do not duplicate a finding already covered by another live review thread. Reference the existing thread from the review body when it remains the only actionable item.
- For automatic specialist checks that are fully clean, prefer
noopwhen the main review already covers that dimension. Explicit slash-command reviews may still publish an informationalCOMMENTreview.
PR scope and review depth
Be constructively critical. Challenge the change's assumptions, failure modes,
and claimed validation rather than accepting the implementation or description
at face value. Criticism must still identify concrete evidence and impact; do
not manufacture objections for the sake of sounding rigorous. Every criticism
must meet the concrete-scenario and observable-consequence bar in
Finding quality.
- Check whether the PR combines independent features, refactors, fixes, or formatting changes that have different motivations or could be reviewed, reverted, and shipped separately. When this materially obscures behavior or increases review risk, recommend splitting the PR and identify the distinct change groups.
- Check that every material diff is explained by the PR description and that every claimed behavior is implemented. Flag hidden scope, stale claims, understated compatibility or operational impact, and validation claims not supported by the changed tests or available evidence. A missing or brief description is not itself a defect; raise it only when it hides material behavior, compatibility impact, or an unsupported claim.
- Distinguish necessary supporting changes from unrelated cleanup. Do not request a split merely because a coherent change spans many files or product layers.
- Put scope, description-alignment, split, and additional-review feedback only in the top-level review summary, never on an arbitrary changed line.
- Request an independent multi-model review sparingly, only for high-blast-
radius changes such as:
- Wire-level IPC contracts or serialization protocols shared with external clients.
- Structural redesigns of core test-execution scheduling, synchronization,
cancellation, or
ExecutionContextpropagation. - New process-launch, arbitrary-code-execution, privilege, or other security boundaries.
- Cross-product changes with independent compatibility or rollback risks.
- Do not request a multi-model review for routine public API additions, bug fixes, analyzer changes, adapter features, or test-only changes. Put the request in the review summary and name the exact failure mode, compatibility concern, race, or attack surface the additional models should examine.
Core TestFx checks
- Preserve backward compatibility for public APIs, protocols, command-line options, package behavior, and analyzer diagnostics.
- Treat overload additions as potentially source-breaking. Check representative call shapes and older supported language versions, not only the repository's preview language version.
- New public API must be minimal, documented, MUST NOT use
init, and be recorded in the relevantPublicAPI.Unshipped.txt. Also check internal API baselines in projects that track them. - Every API marked
[Experimental]must include this sentence in its XML documentation<remarks>:This API is experimental. It may change, break, or be removed at any time without notice. - Check every target framework affected by the change. Do not assume an API available on modern .NET exists on older targets.
- Review concurrency and lifecycle ordering carefully. Test execution is
parallel, and shared mutable state, cancellation, disposal, and
ExecutionContextflow are common correctness boundaries. - For shared or linked source, identify every consuming project and ensure API baselines and behavior remain consistent in all of them.
- User-facing strings belong in resources. Never accept manually edited XLF
files. Every
{Locked="..."}token must occur verbatim in the corresponding value; verify it does not accidentally lock a substring of a translatable word. - CLI option changes must update the matching
--helpand--infoacceptance expectations, including punctuation and alphabetical ordering. - Packable projects need valid package descriptions and
PACKAGE.md. - Never accept manual changes under
eng/common/; those files are mirrored fromdotnet/arcadeand overwritten by automation. - Do not weaken
ApplicationStateGuard.Unreachable(),Debug.Assert, or explicit invariant throws into silent fallbacks, warnings, or empty returns without a concrete external trigger or failing test that disproves the invariant. - Workflow, script, issue-template, and policy changes that create or triage
issues must use native GitHub Issue Types and must not introduce the
deprecated
type/bug,type/feature, ortype/tasklabels. - Do not allow untracked
TODOcomments.
Security checks
Review changed trust boundaries for concrete security regressions. Pay particular attention when the change handles paths, process arguments, environment variables, protocol messages, serialized data, logs, artifacts, credentials, reflection, extensions, or arbitrary user test code.
- Ensure untrusted file and directory names cannot escape the intended root through traversal, rooted paths, alternate separators, or symlink behavior.
- Ensure process launches preserve argument boundaries and do not concatenate untrusted values into a command line, shell command, or executable path. Check executable resolution, working-directory selection, inherited environment variables, and assembly or plugin search paths.
- Validate untrusted protocol and serialized input before using it, including message type, required fields, payload and collection bounds, and unsupported values. Reject unsafe polymorphic or binary deserialization of untrusted data.
- Treat reflection, user callbacks, test methods, data sources, extensions, and assembly discovery as hostile-code boundaries. Ensure exceptions are contained appropriately, cancellation and timeouts remain enforceable, and user-controlled input cannot cause unbounded memory or resource growth.
- Do not expose secrets, tokens, environment values, private paths, or sensitive test data through logs, exceptions, reports, artifacts, telemetry, or temporary files.
- Check that temporary files and artifacts use safe locations, appropriate access, collision-resistant names, and reliable cleanup.
- Treat workflow permission, network access, action pin, and secret-handling changes as security boundaries; reject unnecessary privilege expansion or mutable third-party references.
- For dependency changes, check whether the new package or version introduces a known vulnerability, unexpected runtime asset, or broader transitive surface. Use authoritative evidence such as official advisories, NuGet metadata, and upstream release notes; preserve uncertainty rather than guessing.
Report a security finding only when the changed code creates a plausible attack or disclosure scenario with an observable consequence. Defensive coding belongs at actual external boundaries; do not request blanket hardening of trusted internal invariants without a concrete external trigger.
For a suspected vulnerability or security-driven dependency update, do not put
proofs of concept, attacker payloads, exploit steps, CVE details, affected
version ranges, or other actionable vulnerability details in public review
comments or PR metadata. Leave at most a minimal public note and follow
SECURITY.md and the repository's private reporting process.
Test changes
For changed test code, apply the relevant rules from:
.agents/skills/test-anti-patterns/SKILL.md.agents/skills/assertion-quality/SKILL.md.agents/skills/test-gap-analysis/SKILL.md
Use those files as review checklists, not as a request for a repository-wide audit. Keep analysis scoped to the changed behavior and its directly related tests.
In particular, verify:
- Tests would fail if the production behavior were wrong; reject missing, tautological, self-comparing, or only-trivial assertions.
- Async assertions and operations are awaited.
- Tests are isolated under parallel execution and restore environment, culture, static state, files, and other process-wide state.
- Synchronization is deterministic. Avoid sleeps and fragile duration assertions when a marker, event, or rendezvous can prove the behavior.
- Acceptance tests that share a generated mutable asset are marked
[DoNotParallelize]; do not require it when the state is execution-context local or otherwise isolated. - Duration output uses
AcceptanceAssert.DurationPatternrather than assuming a millisecond-only format. - The test framework and assertion library match the project's
BannedSymbols.txtand repository conventions. - MSTest framework unit tests use
TestFramework.ForTestingMSTest; MTP and analyzer tests use MSTest; adapter tests use their established assertion library. - Test changes cover negative paths, boundaries, cleanup, cancellation, and failure behavior relevant to the production change.
Specialist review routing
Apply these additional repository resources when their paths are changed:
- MSBuild files (
*.props,*.targets,*.csproj, SDK and NuGet build extensions): use the rule catalog in.github/agents/msbuild-reviewer.agent.md. Ignore its operating modes, finding cap, orchestration instructions, and output contract; the GitHub code-review service owns review formatting and posting. - Broad TestFx architecture, runtime, API, performance, compatibility,
security-boundary, IPC, process-launch, serialization, and artifact-handling
changes: use the applicable review dimensions in
.github/agents/expert-reviewer.agent.md. Ignore workflow-specific posting, attribution, and safe-output instructions in that file. - Agentic workflow Markdown: require strict compilation, regenerated lock files, unchanged trusted action pins, and the repository action-pin audit.
- Analyzer changes:
- Verify diagnostic IDs, severity, generated-code behavior, false-positive risk, analyzer release tracking, and code-fix registration and properties.
- For every mapping from a source API or annotation domain to a target API or runtime domain, classify the mapping as exact, compatible/coarser, or unrepresentable. Check all source-value polarities and supported target versions; do not infer equivalence from one successful case.
- Separate compile-time annotation semantics from runtime enforcement. Verify what the analyzer can prove from symbols and metadata independently from what the target framework or platform actually enforces at execution time.
- Check descriptor wording against the classification. Use "equivalent" only for exact mappings; describe lossy but behaviorally acceptable mappings as compatible and make any semantic loss explicit.
- Every diagnostic without a code fix must have a safe, concrete manual edit that clears the diagnostic while preserving the relevant behavior. If no such edit exists for a valid triggering program, question whether the diagnostic is actionable rather than treating the expected diagnostic as proof of correctness.
Finding quality
Every finding must:
- Identify a concrete scenario that triggers the problem.
- Explain the observable consequence.
- Point to a changed line for code findings.
- Put PR-level scope, description, split, and multi-model-review feedback in the overall review summary and identify the specific unsupported claim, unexplained change group, or high-risk boundary.
- Recommend the smallest safe correction.
- Use severity proportional to impact; do not elevate maintainability or style suggestions into correctness findings.
Do not submit an approval on behalf of repository maintainers. A clean review may recommend approval in its summary while remaining a comment review.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

