dotnet-coding-standards

dotnet-coding-standards is a skill for Claude Code, Codex from Dannykkh/skill-olympus. It costs 50 tokens per session (1,735 once invoked), scanned A, original, MIT.

.NET coding guidance covering common C# patterns, ASP.NET Core web applications, and Entity Framework Core database access.

In plain words
What is it for?
Use it when explicitly working on C#, ASP.NET Core services, EF Core data models, or related .NET architecture decisions.
Why use it?
It gives developers consistent implementation patterns for .NET projects instead of requiring them to assemble conventions from scratch.

Skill for Claude CodeCodex

Part of the skill-olympus plugin — 95 skills, 6 commands, 42 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dannykkh/skill-olympus/dotnet-coding-standards
Any agent
npx skills add Dannykkh/skill-olympus --skill dotnet-coding-standards
Clone the repo
git clone --depth 1 https://github.com/Dannykkh/skill-olympus

Made for: Claude Code, Codex.

Or install skill-olympus, the plugin that ships this one along with the rest of its 95 skills, 6 commands, 42 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dotnet-coding-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/dannykkh/skill-olympus/dotnet-coding-standards.svg)](https://agentmods.dev/skills/dannykkh/skill-olympus/dotnet-coding-standards)
Your own site
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/dotnet-coding-standards"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/dotnet-coding-standards.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01735
Opus 5 $0.00025 $0.00868
Sonnet 5 $0.00010 $0.00347
Haiku 4.5 $0.00005 $0.00173

Measured 2d ago against content hash 8550faf4587b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

dotnet-coding-standards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dotnet-coding-standards/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

.NET Coding Standards - 통합 패키지

포함 파일

dotnet-coding-standards/
├── SKILL.md                              # 이 파일 (상세 코드 예시)
├── agents/                               # source-only 규칙 참고 (명시적 로드)
│   └── dotnet-coding-standards.md        # 런타임 에이전트로 등록하지 않음
└── templates/                            # 코드 템플릿 (on-demand)
    ├── csharp-patterns.md                # Record DTO, Result, Pattern Matching, xUnit
    ├── aspnet-core.md                    # Program.cs, Minimal API, 미들웨어, JWT, Health
    └── efcore-patterns.md               # DbContext, DDD Entity, N+1, Migration, Audit

참조 로딩 규칙

  1. SKILL.md를 워크플로와 예시의 소유자로 사용합니다.
  2. 스킬을 명시적으로 호출했을 때 agents/dotnet-coding-standards.md를 읽고 현재 프로젝트에 필요한 규칙만 적용합니다.
  3. C# 일반 패턴, ASP.NET Core, EF Core 중 요청과 맞는 templates/ 파일만 추가로 읽습니다.

agents/ 파일이 자동 로드되거나 커스텀 에이전트로 등록되어 있다고 가정하지 마세요.


Clean Architecture 코드 예시

Program.cs (최소 설정)

var builder = WebApplication.CreateBuilder(args);

// 서비스 등록 (Extension Method로 정리)
builder.Services.AddApplicationServices();
builder.Services.AddInfrastructureServices(builder.Configuration);
builder.Services.AddApiServices();

var app = builder.Build();

// 미들웨어 파이프라인
app.UseExceptionHandler();
app.UseAuthentication();
app.UseAuthorization();

// 엔드포인트 매핑
app.MapControllers();
// 또는 Minimal API:
// app.MapItemEndpoints();

app.Run();

DI 등록 (Extension Methods)

// Application/Extensions/ServiceCollectionExtensions.cs
public static class ApplicationServiceExtensions
{
    public static IServiceCollection AddApplicationServices(this IServiceCollection services)
    {
        services.AddScoped<IItemService, ItemService>();
        services.AddScoped<IOrderService, OrderService>();
        services.AddValidatorsFromAssemblyContaining<ItemRequestValidator>();
        return services;
    }
}

// Infrastructure/Extensions/ServiceCollectionExtensions.cs
public static class InfrastructureServiceExtensions
{
    public static IServiceCollection AddInfrastructureServices(
        this IServiceCollection services, IConfiguration configuration)
    {
        services.AddDbContext<AppDbContext>(options =>
            options.UseSqlServer(configuration.GetConnectionString("Default")));

        services.AddScoped<IItemRepository, ItemRepository>();
        services.AddMemoryCache();
        return services;
    }
}

Read the full file on GitHub · 258 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 258 lines · 50 tokens per session scan A 8550faf4587b

Subscribe to this mod's changes

dotnet-coding-standards is a skill published in the GitHub repository Dannykkh/skill-olympus (5 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 1,735 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

dotnet-microsoft-agent-framework

Build .NET AI agents and multi-agent workflows with Microsoft Agent Framework using the right agent type, threads, tools, workflows, hosting protocols, and enterprise guardrails.

managedcode/dotPilot · 40 tokens

dotnet-microsoft-extensions-ai

Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation.

managedcode/dotPilot · 42 tokens

dotnet-orleans

Build or review distributed .NET applications with Orleans grains, silos, persistence, streaming, reminders, placement, testing, and cloud-native hosting.

managedcode/dotPilot · 34 tokens

mcaf-dotnet

Primary entry skill for C# and .NET tasks. Detect the repo's language version, test runner, quality stack, and architecture rules; route to the right .NET subskills; and run the repo-defined post-change quality pass after any code change. Use when the user asks to implement, debug, review, or refactor .NET code, or…

managedcode/dotPilot · 87 tokens

mcaf-dotnet-code-analysis

Use the free built-in .NET SDK analyzers and analysis levels. Use when a .NET repo needs first-party code analysis, EnableNETAnalyzers, AnalysisLevel, or warning policy wired into build and CI.

managedcode/dotPilot · 52 tokens

mcaf-dotnet-netarchtest

Use the open-source free NetArchTest.Rules library for architecture rules in .NET unit tests. Use when a repo wants lightweight, fluent architecture assertions for namespaces, dependencies, or layering.

managedcode/dotPilot · 48 tokens