agentleFS
wxxb789wxxb789/hoa/skills/engineering/dotnet-repo-workflow/SKILL.md

dotnet-repo-workflow

Skill2 starsChanged 11 days agoMITView on GitHub

Build, test and prepare a C# or F# patch for merge through the repository's .NET build script. When the SDK is missing from PATH, a NuGet change touches packages.lock.json, or Roslyn in-memory tests hit CS1061, check those specific failure modes. Not for package-release-verification.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    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
  1. Very specific:

    Read the repository instructions, CI and global.json before choosing a command.

    line 20
  2. Very specific:

    Run the repo's build, format and test entry points.

    line 25
  3. Very specific:

    If the repo tracks packages.lock.json, update the affected dependency graph with its restore command (or dotnet restore <project> …

    line 32
  4. Very specific:

    Run the repo's locked restore (or dotnet restore <project> --locked-mode) from the intended SDK and with the repository's feeds and build …

    line 36
  5. Very specific:

    If the project builds but an analyzer, code-fix or example test reports CS1061, inspect the test compilation's metadata references and …

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

.NET repo workflow

Use the repository's gate

Read the repository instructions, CI and global.json before choosing a command. Resolve the SDK with the repository's documented bootstrap or installed toolchain; from the repo root, dotnet --list-sdks shows what is installed and dotnet --version shows the selected SDK. A missing command alone does not distinguish an absent SDK from a PATH problem.

Run the repo's build, format and test entry points; do not substitute a narrower dotnet test for its full gate. Capture each command's actual exit status, not the status of an output filter. Report failed or skipped checks and any verified baseline failure. Repository policy owns gate selection; this skill does not authorize committing or publishing.

Update and verify NuGet locks

  • If the repo tracks packages.lock.json, update the affected dependency graph with its restore command (or dotnet restore <project> --force-evaluate when appropriate). Review the lock diff alongside the package change, including transitive dependencies and central versions if used. Leave unrelated user changes alone; exclude incidental churn.
  • Run the repo's locked restore (or dotnet restore <project> --locked-mode) from the intended SDK and with the repository's feeds and build properties. Locked mode must accept the reviewed lock without rewriting it. Fix the mismatch rather than disabling locked mode.

Diagnose Roslyn in-memory compilation

If the project builds but an analyzer, code-fix or example test reports CS1061, inspect the test compilation's metadata references and imports. The package may be available to the project but absent from the in-memory compilation. If so, add the dependency to the test project and put the correct assembly in the harness's explicit reference set. Verify the target test and repo gate. Keep the example's intended API usage; do not delete it to make the harness pass.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.