Source profileQuality 87/100

Benknightdark/neo-skills/skills/neo-csharp/SKILL.md

neo-csharp

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+.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-08-05
Source checked
2026-08-05

Decision brief

What it does—and where it fits

NET projects. Trigger for .

Best for

  • Use this skill when writing, reviewing, debugging, or modernizing C# code in .

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/Benknightdark/neo-skills --skill "skills/neo-csharp"
Safe inspection promptEditorial

Inspect the Agent Skill "neo-csharp" from https://github.com/Benknightdark/neo-skills/blob/c3e3d1bcf6aae00a729ceab257e6a68dd40d89ec/skills/neo-csharp/SKILL.md at commit c3e3d1bcf6aae00a729ceab257e6a68dd40d89ec. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    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 Exp…

    Perceive (Version Awareness):Check .csproj to identify TargetFramework and determine the syntax upper limit:net6.0: C 10 (File-scoped namespaces, Global usings).
  2. 02

    Trigger On

    The user asks to write, debug, refactor, or review C code.

    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.
  3. 03

    Feature Roadmap (C 10 - 14)

    File-scoped Namespaces: Reduce indentation levels.

    File-scoped Namespaces: Reduce indentation levels.Global Using Directives: Centralize common namespaces management.Raw String Literals: """...""" easily handle multi-line and special characters.
  4. 04

    C 10 & 11 (Foundation)

    File-scoped Namespaces: Reduce indentation levels.

    File-scoped Namespaces: Reduce indentation levels.Global Using Directives: Centralize common namespaces management.Raw String Literals: """...""" easily handle multi-line and special characters.
  5. 05

    C 12 & 13 (Productivity)

    Primary Constructors: Simplify class-level dependency injection.

    Primary Constructors: Simplify class-level dependency injection.Collection Expressions: Uniformly use [1, 2, 3] to initialize collections.params Collections: Method parameters support various collection types.

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score87/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
Benknightdark/neo-skills
Skill path
skills/neo-csharp/SKILL.md
Commit
c3e3d1bcf6aae00a729ceab257e6a68dd40d89ec
License
MIT
Collected
2026-08-05
Default branch
main
View the original SKILL.md

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.
  3. Act (Execution Phase):
    • Write high-quality code, prioritizing "syntactic sugar" to improve readability.
    • Implement strong typing and immutable data structures (record, record struct).
    • Utilize Interpolated string handlers and Span to optimize performance-sensitive paths.
  4. Validate (Standard Validation):
    • Validate the safety of NRT (Nullable Reference Types).
    • Check if asynchronous operations correctly handle cancellation tokens (CancellationToken).
    • Ensure naming conventions comply with official .NET recommendations.

Feature Roadmap (C# 10 - 14)

C# 10 & 11 (Foundation)

  • File-scoped Namespaces: Reduce indentation levels.
  • Global Using Directives: Centralize common namespaces management.
  • Raw String Literals: """...""" easily handle multi-line and special characters.
  • Required Members: Ensure required properties during object initialization.
  • List Patterns: if (list is [1, 2, ..]) powerful collection matching.

C# 12 & 13 (Productivity)

  • Primary Constructors: Simplify class-level dependency injection.
  • Collection Expressions: Uniformly use [1, 2, 3] to initialize collections.
  • params Collections: Method parameters support various collection types.
  • Implicit Span Conversion: Handle memory-safe code more naturally.

C# 14+ (Version-Specific Features)

  • Extension Members: Extension properties, operators, and static members.
  • field Keyword: Directly access backing fields in property logic.
  • Null-conditional Assignment: target?.Property = value;.
  • Scripting: Support dotnet run file.cs for direct execution.

Coding Standards

  • Clean Structure: Prioritize using File-scoped namespaces.
  • Immutability: Use record for Data Transfer Objects (DTO).
  • Performance: Use Span<T> and ReadOnlySpan<char> in critical paths.
  • Async Safety: Always pass CancellationToken, avoid .Result or .Wait().

Deliver

  • Version-Optimized Code: Provide the most appropriate modernized syntax code based on the target C# version.
  • Modernization Insights: Provide specific refactoring suggestions for upgrading from older C# syntax to new features (e.g., from nested namespaces to File-scoped namespaces).
  • Syntax Explanations: Clearly explain the design intent and syntax advantages behind the new C# features used.

Validate

  • Ensure the provided code complies with the syntax specifications of the target C# version.
  • Validate whether the code follows C# strong typing and Null safety (NRT) principles.
  • Confirm the code has good readability and best practices at the pure C# language level (e.g., proper use of Span<T>, record, etc.).

Documentation

Official References

Internal References

Alternatives

Compare before choosing

Computed 976

mgiovani/cc-arsenal

team-review

Multi-agent review team: architecture, security, performance, testing, style, docs/UX, plus an adversary that cross-examines the other 6, for security-sensitive, architectural, or large PRs (15+ files) where a single-agent pass risks missing cross-cutting issues. Use for auth/payments/PII changes, schema/pattern changes, compliance sign-off, or when asked to 'get the review team on this' / 'multi-agent review' / 'thorough review before merge'. For a standard PR or a quick pre-merge check, use /r

Computed 964,944

dotnet/skills

dotnet-webapi

Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling. USE FOR: adding new API endpoints (controllers or minimal APIs), wiring up OpenAPI/Swagger, creating .http test files, setting up global error handling middleware. DO NOT USE FOR: general C# coding style, EF Core data access or query optimization (use optimizing-ef-core-queries), frontend/Blazor work, gRPC services, or SignalR hubs.

Computed 96107

AI-Unified-Process/marketplace

reverse-engineer

Reverse-engineers an existing software project into AI Unified Process artifacts: a PlantUML use case diagram, per-use-case specification documents, and an entity model with a Mermaid ER diagram. Use when the user asks to "reverse engineer this codebase", "extract use cases from existing code", "document the system we already have", "generate use case specs from controllers", "derive an entity model from the database", "create AIUP artifacts from a legacy project", or mentions reverse engineerin

Computed 9510,879

Jeffallan/claude-skills

fastapi-expert

Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.