neo-csharp SKILL.md skillA

neo-csharp from benknightdark/neo-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add benknightdark/neo-skills/neo-csharp@v1.4.0

Pins v1.4.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
benknightdark/neo-skills
Path
skills/neo-csharp/SKILL.md
Versions recorded
2
Latest version
v1.4.0, committed May 31, 2026
First version recorded
Apr 1, 2026
Size
5,467 bytes
Repository stars
7
License
MIT

Use this skill when writing, reviewing, debugging, or modernizing C# code in .NET projects. Trigger for .cs/.csproj files, C# language-version questions, nullable reference types, records, pattern matching, async/cancellation, or version-appropriate syntax from C# 10+.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Modern C# (10+) Expert Skill

## Trigger On
- The user asks to write, debug, refactor, or review C# code.
- The project directory contains `*.cs`, `*.csproj`, or single-file C# scripts.
- The target framework is .NET 6.0 (LTS) and above.
- Code modernization is needed (e.g., converting legacy nested namespaces to File-scoped namespaces).

## Workflow
1. **Perceive (Version Awareness):**
   - Check `.csproj` to identify `TargetFramework` and determine the syntax upper limit:
     - `net6.0`: C# 10 (File-scoped namespaces, Global usings).
     - `net7.0`: C# 11 (Raw string literals, Required members).
     - `net8.0`: C# 12 (Primary Constructors, Collection Expressions).
     - `net9.0`: C# 13 (`params` collections, `Lock` object).
     - `net10.0`: C# 14 (Extension members, `field` keyword).
2. **Reason (Planning Phase):**
   - Evaluate the modernization level of the current code to determine the refactoring strategy.
   - In lower version environments (like .NET 6), avoid using higher version syntax (like Primary Constructors), but prioritize using File-scoped namespaces.
   - In higher version environments, actively adopt new features to reduce boilerplate code.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add benknightdark/neo-skills/neo-csharp@sha256:f093c0fed7e5569a

The line at the top of this page pins the label v1.4.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6zwuwxhgjvazpdwe.svg)](https://markdownregistry.com/a/art_6zwuwxhgjvazpdwe)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Apr 1, 2026 and May 31, 2026, about one every 60 days.

versioncommittedcommitsizeaudit
v1.4.0 latest2026-05-31 de0cb05 5,467 BA view · diff
v1.4.02026-04-01 6b64181 5,349 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5467 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

benknightdark/neo-skills · 7 stars · license MIT · pushed 2026-10-25 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6zwuwxhgjvazpdwe
GET https://markdownregistry.com/api/v1/resolve?ref=benknightdark/neo-skills/neo-csharp
GET https://markdownregistry.com/api/v1/blob/f093c0fed7e5569aac03cac3fe1973ee5390d2d42f59bd26f5659d1631e0ee6d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from benknightdark/neo-skills

generate-skill SKILL.md skill
benknightdark/neo-skills · .agents/skills/generate-skill/SKILL.md · 引導使用者建立、更新、審查或最佳化高品質 Agent Skill 定義檔 (SKILL.md),包含官方規格、description 觸發語、references/scripts/assets/evals 結構,以及 5 種核心設計模式。
git:20260523.61a8e20 · audit A · 7 stars
skill-name-kebab-case SKILL.md skill
benknightdark/neo-skills · .agents/skills/generate-skill/templates/SKILL.md · Use this skill when the user wants to [intended task / user intent]. It triggers when they mention [keywords / concepts…
v1.0.0 · audit A · 7 stars
AGENTS.md AGENTS.md file
benknightdark/neo-skills · AGENTS.md
git:20260805.ff5ad03 · audit A · 7 stars
neo-azure-pipelines SKILL.md skill
benknightdark/neo-skills · skills/neo-azure-pipelines/SKILL.md · Use this skill when the user asks to create, review, debug, or modernize Azure Pipelines YAML for CI/CD, especially…
v1.0.0 · audit A · 7 stars
neo-clarification SKILL.md skill
benknightdark/neo-skills · skills/neo-clarification/SKILL.md · Use this skill when the user gives vague, emotional, fragmented, screenshot-based, or complaint-style requirements and…
git:20260531.de0cb05 · audit A · 7 stars
neo-clean-architecture SKILL.md skill
benknightdark/neo-skills · skills/neo-clean-architecture/SKILL.md · Use this skill when the user wants to design, implement, review, or refactor software systems conforming to Clean…
git:20260611.6cd7ff8 · audit A · 7 stars
neo-code-review SKILL.md skill
benknightdark/neo-skills · skills/neo-code-review/SKILL.md · Use this skill when the user asks to review or audit source code, a PR, diff, commit, or recent changes for bugs…
git:20260817.6a10bcd · audit A · 7 stars
neo-csharp-interface-generator SKILL.md skill
benknightdark/neo-skills · skills/neo-csharp-interface-generator/SKILL.md · Use this skill when the user asks to generate, update, or place a C# interface from an existing class. Trigger for…
v1.0.0 · audit A · 7 stars
neo-dotnet-ef-core SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-ef-core/SKILL.md · Use this skill when the task involves Entity Framework Core models, DbContext, migrations, LINQ queries, change…
v1.0.0 · audit A · 7 stars
neo-dotnet-minimal-apis SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-minimal-apis/SKILL.md · Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core Minimal APIs, lightweight endpoints…
v1.0.0 · audit A · 7 stars
neo-dotnet-mvc SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-mvc/SKILL.md · Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core MVC apps with Razor views, controllers…
v1.0.0 · audit A · 7 stars
neo-dotnet-tag-helper SKILL.md skill
benknightdark/neo-skills · skills/neo-dotnet-tag-helper/SKILL.md · Use this skill when the user asks to design, implement, refactor, or review custom ASP.NET Core Tag Helpers in C#…
v1.0.0 · audit A · 7 stars

Every file in benknightdark/neo-skills

Browse by kind, by grade A, or by owner.