neo-csharp-interface-generator SKILL.md skillA

neo-csharp-interface-generator 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-interface-generator@v1.0.0

Pins v1.0.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-interface-generator/SKILL.md
Versions recorded
3
Latest version
v1.0.0, committed May 31, 2026
First version recorded
Apr 1, 2026
Size
2,545 bytes
Repository stars
7
License
MIT

Use this skill when the user asks to generate, update, or place a C# interface from an existing class. Trigger for extracting public members, filtering virtual or non-public members, enforcing getter-only properties, and safely creating, appending, or replacing interface blocks.

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

# C# Interface Generator Skill Specification

## Perceive
1. **Code Structure Recognition**: Parse C# Class content, identify properties, methods, and access modifiers.
2. **Constraint Check**:
   - Identify members with the `virtual` keyword.
   - Identify non-`public` members.
3. **Environment Awareness**: When the user specifies a target file, read the file content to check for the existence of an Interface with the same name.

## Reason
1. **Interface Generation Logic**:
   - **Naming Convention**: The Interface name must be the Class name prefixed with `I`.
   - **Property Filtering**:
     - **Keep only** simple properties.
     - **Strictly prohibit** properties containing the `virtual` modifier.
     - **Getter Only**: All properties in the interface MUST only have a `get;` accessor. No `set;` or `init;` is allowed.
     - Include only `public` members.
   - **Formatting**: Ensure the generated Interface follows standard C# indentation and brace styles.
2. **Smart Overwrite Strategy**:
   - If the target file does not exist: Plan to create a new file with necessary namespaces.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add benknightdark/neo-skills/neo-csharp-interface-generator@sha256:8a5cbfe934f333aa

The line at the top of this page pins the label v1.0.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_xnk5enask3alocwr.svg)](https://markdownregistry.com/a/art_xnk5enask3alocwr)

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

Versions

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

versioncommittedcommitsizeaudit
v1.0.0 latest2026-05-31 de0cb05 2,545 BA view · diff
v1.0.02026-04-02 b892abc 2,291 BA view · diff
v1.0.02026-04-01 6b64181 2,193 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 (2545 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_xnk5enask3alocwr
GET https://markdownregistry.com/api/v1/resolve?ref=benknightdark/neo-skills/neo-csharp-interface-generator
GET https://markdownregistry.com/api/v1/blob/8a5cbfe934f333aa7ae85f7c0058bb14dfc346f719032ba7b6235b69ce44b6f1

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 SKILL.md skill
benknightdark/neo-skills · skills/neo-csharp/SKILL.md · Use this skill when writing, reviewing, debugging, or modernizing C# code in .NET projects. Trigger for .cs/.csproj…
v1.4.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.