agentleFS
BenknightdarkBenknightdark/neo-skills/skills/neo-dotnet/SKILL.md

neo-dotnet

Skill7 starsChanged 6 months agoMITView on GitHub

Use this skill when the user asks broad .NET questions or the project contains .sln/.csproj files and the exact ASP.NET/EF/C# subdomain is not yet clear. Detect the SDK/project shape, run or recommend .NET CLI commands, and route to Minimal APIs, Web API, MVC, Tag Helper, EF Core, or C# skills when appropriate.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 2 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run dotnet --version to check the currently installed SDK version.

    line 22
  2. Distinctive:

    Mandatory requirement: Only .NET 6 or higher is supported (including .NET 8 LTS, .NET 9, .NET 10 LTS, and .NET 11 STS).

    line 23
  3. Very specific:

    Test: dotnet test (with multi-architecture and cross-platform testing enhancements in .NET 11)

    line 31
  4. Distinctive:

    If the user's task falls into the following specific domains, prepare to use or recommend the corresponding sub-skill:

    line 36
  5. Very specific:

    neo-csharp: When the requirement involves writing, refactoring, or modernizing C# language code (C# 10 through C# 15, Union Types, …

    line 37
  6. Very specific:

    neo-dotnet-minimal-apis: When the requirement is for lightweight routing development, high-performance microservices, and Controllers are …

    line 38
  7. Very specific:

    neo-dotnet-webapi: When the requirement is for traditional RESTful API development following the controller pattern.

    line 39
  8. Very specific:

    neo-dotnet-mvc: When the requirement involves Server-Side Rendering (SSR), Razor views, and ViewModels.

    line 40
  9. Very specific:

    neo-dotnet-tag-helper: When the requirement is for developing custom Razor Tag Helpers using pure C# (without CSHTML), focusing on …

    line 41
  10. Very specific:

    neo-dotnet-ef-core: When the requirement involves database migrations, Linq query optimization, model mapping, or EF Core 11 vector …

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 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 Core Routing Skill

Overview

This skill serves as the unified entry point for the .NET development environment. It ensures the system environment meets the requirements for modern .NET development, and has the capability to analyze user requirements, generate corresponding command-line operations, and route to the appropriate domain expert skills.

Core Responsibilities (Perceive & Act)

  1. Environment Detection and Version Validation
    • Run dotnet --version to check the currently installed SDK version.
    • Mandatory requirement: Only .NET 6 or higher is supported (including .NET 8 LTS, .NET 9, .NET 10 LTS, and .NET 11 STS). If a version lower than .NET 6 is detected, prompt the user to upgrade.
    • For net11.0 target frameworks, verify developer environment has the .NET 11 SDK installed.
  2. Execute Appropriate .NET CLI
    • Provide or execute modern CLI commands based on the detected version and project state.
    • Take advantage of modern tooling improvements:
      • In .NET 11+, the Native AOT CLI host and MSBuild server significantly reduce invocation latency.
      • Build and run: dotnet build, dotnet run
      • Test: dotnet test (with multi-architecture and cross-platform testing enhancements in .NET 11)
      • Package management: dotnet add package, dotnet tool restore
  3. Requirement Analysis and Dynamic Skill Routing
    • Determine the involved domain based on the user's specific problem or project architecture.
    • If the user's task falls into the following specific domains, prepare to use or recommend the corresponding sub-skill:
      • neo-csharp: When the requirement involves writing, refactoring, or modernizing C# language code (C# 10 through C# 15, Union Types, pattern matching, async safety).
      • neo-dotnet-minimal-apis: When the requirement is for lightweight routing development, high-performance microservices, and Controllers are not used.
      • neo-dotnet-webapi: When the requirement is for traditional RESTful API development following the controller pattern.
      • neo-dotnet-mvc: When the requirement involves Server-Side Rendering (SSR), Razor views, and ViewModels.
      • neo-dotnet-tag-helper: When the requirement is for developing custom Razor Tag Helpers using pure C# (without CSHTML), focusing on reusable UI components and logic.
      • neo-dotnet-ef-core: When the requirement involves database migrations, Linq query optimization, model mapping, or EF Core 11 vector search.

Usage Guidelines

When this skill is triggered, please prioritize checking the SDK environment, then answer the user's .NET-related questions. If the problem is found to belong to one of the professional domains mentioned above, proactively suggest and prepare to delegate it to the corresponding expert skill for processing.

Documentation

Official References

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.