dotnet-fix

Implement minimal C# fixes for failing Virto Commerce backend tests.

2|1|Updated May 27, 2025
One-click install
npx skills add https://github.com/VirtoCommerce/vc-mcp-testing-module --skill dotnet-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-fix
Source: https://github.com/VirtoCommerce/vc-mcp-testing-module/tree/main/skills/dotnet-fix
Command: npx skills add https://github.com/VirtoCommerce/vc-mcp-testing-module --skill dotnet-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers resolve failing Virto Commerce backend reproduction tests by implementing focused, safe C# fixes without introducing unnecessary changes or regressions.

Core Features & Use Cases

  • Minimal.NET Fix Implementation: Guides targeted changes in Virto Commerce modules while preserving business logic invariants and existing contracts.
  • Build and Test Validation: Runs the appropriate test and build gates to confirm the fix is correct and production-ready.
  • Use Case: When a QA reproduction test exposes a backend defect in a Virto Commerce module, use this Skill to identify the root cause, apply a small idiomatic C# correction, and prepare the change for review.

Quick Start

Ask the dotnet-fix skill to implement the smallest correct C# fix for the failing Virto Commerce reproduction test and verify that all required gates pass.

Frequently Asked Questions about dotnet-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix failing Virto Commerce backend tests without breaking existing module behavior?

To fix failing Virto Commerce backend tests, apply minimal C# corrections to controllers, services, domains, or repositories while preserving existing business logic invariants and cross-module contracts. Validate the fix by running build and test gates to ensure it passes review safely.

What is the best way to resolve C# backend defects exposed by QA reproduction tests?

The best way to resolve C# backend defects from QA reproduction tests is to identify the root cause in the Virto Commerce module and implement a small, idiomatic C# correction. This ensures scoped code changes that maintain module behavior and prepare the fix for code review.

Can I modify existing tests when repairing failing dotnet backend reproduction tests?

No, you should not modify existing tests when repairing failing dotnet backend reproduction tests. The approach requires implementing scoped C# fixes in module code while keeping tests and cross-module contracts untouched to ensure review-safe diffs and preserve business logic invariants.

How do I prepare review-safe C# diffs for Virto Commerce module defect resolution?

To prepare review-safe C# diffs for Virto Commerce module defect resolution, implement minimal targeted changes across controllers, services, domains, events, or repositories. Run build hygiene checks and test validation gates to confirm the fix is correct and production-ready without introducing unnecessary changes.

Does the minimal C# fix approach work for all .NET backend layers in Virto Commerce?

Yes, the minimal C# fix approach works across all Virto Commerce backend layers, including controllers, services, domains, repositories, events, and module-level fixes. It applies scoped code changes to resolve defects while maintaining existing contracts and business logic invariants throughout the .NET backend.

Why should I use a minimal fix strategy for failing reproduction tests instead of broader refactoring?

A minimal fix strategy for failing reproduction tests prevents regressions by avoiding unnecessary changes to existing tests and cross-module contracts. By applying only the smallest correct C# correction needed, you preserve business logic invariants and ensure the defect resolution remains review-safe and production-ready.