Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Dotnet Fix

ASecurity

[Development] Implement a minimal, idiomatic .NET 10 / C# fix in a single Virto Commerce module (or vc-platform) that turns the reproduction test green while preserving BL-* invariants and leaving existing tests untouched. Used by the fullstack-backend developer agent in /qa-fix (Gate 3).

2 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentgoc#gitbackendfullstack

Works with

cli

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add VirtoCommerce/vc-mcp-testing-module --skill dotnet-fix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dotnet Fix?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Dotnet Fix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/virtocommerce-dotnet-fix/badge)](https://www.skillsdirectory.com/skills/virtocommerce-dotnet-fix)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: dotnet-fix
description: "[Development] Implement a minimal, idiomatic .NET 10 / C# fix in a single Virto Commerce module (or vc-platform) that turns the reproduction test green while preserving BL-* invariants and leaving existing tests untouched. Used by the fullstack-backend developer agent in /qa-fix (Gate 3)."
---

# /dotnet-fix — Implement a minimal C# fix in a VC module

Turn the red reproduction test (`/dotnet-unit-test`) green with the **smallest correct change**, then
pass the build/test gate. This is **Gate 3** of `.claude/knowledge/execution/quality-gates.md`.

## Preconditions
- Source checked out in `.fix-workspace/<repo>/` on branch `claude/qa-autofix/VCST-XXXX`.
- A NEW failing test exists (Gate 2) or trivial-skip is justified.

## Steps
1. **Understand the seam** (controller → service → domain → repo → events). Confirm the real
   root cause, not a symptom. See `knowledge/architecture/vc-module-architecture.md`.
2. **Implement the smallest correct change** to production code only. See `fix-patterns.md` and
   `dotnet10-best-practices.md`. Match the repo's existing style. Two build-hygiene facts that bite:
   - `TreatWarningsAsErrors=true` in every module's `Directory.Build.props` — a new warning in your
     fix **fails the build**. Fix the warning, never suppress.
   - NuGet audit makes vanilla `dotnet` commands fail even on clean checkouts (NU1903) — append
     `-p:NuGetAudit=false` to every command, CLI-only, never edit build props.
3. **Green — fast inner loop first** (repro test only), then the full project:
   ```
   dotnet test tests/VirtoCommerce.<Name>.Tests --nologo -p:NuGetAudit=false --filter "FullyQualifiedName~VCST1234"
   dotnet test tests/VirtoCommerce.<Name>.Tests --nologo -p:NuGetAudit=false
   ```
   Repro test passes; **ALL pre-existing tests still pass and are UNMODIFIED**.
4. **Gate — full build + tests:**
   ```
   dotnet build -c Debug -p:NuGetAudit=false
   dotnet test tests/VirtoCommerce.<Name>.Tests --nologo -p:NuGetAudit=false
   ```
   (vc-platform: build the solution but test only the affected test project — never `dotnet test` at
   the platform root.) These mirror `repoProfile` commands from `ci/lib/repo-router.ts`.
5. **Self-scan the diff** (`git diff`) for accidental churn — formatting, usings, unrelated files —
   then hand it to `backend-reviewer` (Gate 4) before any PR is opened.

## Hard rules (a violation = STOP, not "push anyway")
- **Single repo.** All changed files in ONE `vc-module-*` (C# and/or its `Web/Scripts/` Admin UI).
  Root cause in a NuGet dependency → cross-module → STOP (`ROOT_CAUSE: belongs in <dep>`).
- **Minimal diff.** No refactors, no NuGet adds/upgrades (incl. test packages — FluentAssertions
  stays on 7.x), no formatting churn, no unrelated files.
- **Never modify/delete existing tests** — only ADD. An existing test going red = contract conflict → STOP.
- **Never touch** secrets, connection strings, `*.Development.json`, CI config, `Directory.Build.props`.
  Generated migrations are high-risk — if the fix truly needs one, flag loudly (may warrant a BAIL-back).
- **Preserve BL-* invariants** (`business-logic.md`). A fix that passes the STR but breaks a `BL-*`
  rule is a regression — reject it.
- If the correct fix is unclear or risky → `FIX_STATUS: FAILED`, don't push speculative changes.

## References
- `fix-patterns.md` — common VC fix shapes (null-guard, mapping, cascade, RBAC, async)
- `dotnet10-best-practices.md` — modern C# idioms + build hygiene within a minimal diff
- `.claude/knowledge/execution/quality-gates.md` — G3 (green), G4 (review), G5 (build/CI), G7 (no auto-merge)
- `knowledge/oracles/vc-bug-catalog.md` — don't re-introduce a historical failure pattern

Attribution

VirtoCommerceVirtoCommerce
View sourceMore from VirtoCommerce →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →