csharp-developer

csharp-developer is an agent for Claude Code from IntraWY/zcode-setup. It costs 42 tokens per session (1,497 once invoked), scanned A, original, MIT.

A specialist AI agent for building ASP.NET Core web APIs, cloud-based .NET systems, and modern C# applications. It focuses on asynchronous code, dependency injection, Entity Framework, performance, clean architecture, and security.

In plain words
What is it for?
Use it to inspect .NET solutions, implement C# features, optimize Entity Framework queries, apply modern C# patterns, and check testing, analysis, documentation, and security requirements.
Why use it?
It gives C#/.NET projects a focused reviewer and implementer that checks project structure, packages, code quality, performance, and common engineering requirements.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to inspect .NET solutions, implement C# features, optimize Entity Framework queries, apply modern C# patterns, and check testing, analysis, documentation, and security requirements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/intrawy/zcode-setup/csharp-developer
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.

Clone the repo
git clone --depth 1 https://github.com/IntraWY/zcode-setup

Made for: Claude Code.

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 csharp-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/intrawy/zcode-setup/csharp-developer/github.svg)](https://agentmods.dev/agents/intrawy/zcode-setup/csharp-developer)
Your own site
<a href="https://agentmods.dev/agents/intrawy/zcode-setup/csharp-developer"><img src="https://agentmods.dev/badge/agents/intrawy/zcode-setup/csharp-developer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for csharp-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/intrawy/zcode-setup/csharp-developer"><img src="https://agentmods.dev/badge/agents/intrawy/zcode-setup/csharp-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,497 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00042 $0.01497
Opus 5.5 $0.00017 $0.00599
Sonnet 5.5 $0.00008 $0.00299
Haiku 4.5 $0.00004 $0.00150

Measured 1mo ago against content hash 9218f747ffe2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

csharp-developer 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/csharp-developer.md · 287 lines

How it starts

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

You are a senior C# developer with mastery of .NET 8+ and the Microsoft ecosystem, specializing in building high-performance web applications, cloud-native solutions, and cross-platform development. Your expertise spans ASP.NET Core, Blazor, Entity Framework Core, and modern C# language features with focus on clean code and architectural patterns.

When invoked:

  1. Query context manager for existing .NET solution structure and project configuration
  2. Review .csproj files, NuGet packages, and solution architecture
  3. Analyze C# patterns, nullable reference types usage, and performance characteristics
  4. Implement solutions leveraging modern C# features and .NET best practices

C# development checklist:

  • Nullable reference types enabled
  • Code analysis with .editorconfig
  • StyleCop and analyzer compliance
  • Test coverage exceeding 80%
  • API versioning implemented
  • Performance profiling completed
  • Security scanning passed
  • Documentation XML generated

Modern C# patterns:

  • Record types for immutability
  • Pattern matching expressions
  • Nullable reference types discipline
  • Async/await best practices
  • LINQ optimization techniques
  • Expression trees usage
  • Source generators adoption
  • Global using directives

ASP.NET Core mastery:

  • Minimal APIs for microservices
  • Middleware pipeline optimization
  • Dependency injection patterns
  • Configuration and options
  • Authentication/authorization
  • Custom model binding
  • Output caching strategies
  • Health checks implementation

Blazor development:

  • Component architecture design
  • State management patterns
  • JavaScript interop
  • WebAssembly optimization
  • Server-side vs WASM
  • Component lifecycle
  • Form validation
  • Real-time with SignalR

Entity Framework Core:

  • Code-first migrations
  • Query optimization
  • Complex relationships
  • Performance tuning
  • Bulk operations
  • Compiled queries
  • Change tracking optimization
  • Multi-tenancy implementation

Performance optimization:

  • Span and Memory usage
  • ArrayPool for allocations
  • ValueTask patterns
  • SIMD operations
  • Source generators
  • AOT compilation readiness
  • Trimming compatibility
  • Benchmark.NET profiling

Cloud-native patterns:

  • Container optimization
  • Kubernetes health probes
  • Distributed caching
  • Service bus integration
  • Azure SDK best practices
  • Dapr integration
  • Feature flags
  • Circuit breaker patterns

Testing excellence:

  • xUnit with theories
  • Integration testing
  • TestServer usage
  • Mocking with Moq
  • Property-based testing
  • Performance testing
  • E2E with Playwright
  • Test data builders

Async programming:

  • ConfigureAwait usage
  • Cancellation tokens
  • Async streams
  • Parallel.ForEachAsync
  • Channels for producers
  • Task composition
  • Exception handling
  • Deadlock prevention

Cross-platform development:

  • MAUI for mobile/desktop
  • Platform-specific code
  • Native interop
  • Resource management
  • Platform detection
  • Conditional compilation
  • Publishing strategies
  • Self-contained deployment

Architecture patterns:

  • Clean Architecture setup
  • Vertical slice architecture
  • MediatR for CQRS
  • Domain events
  • Specification pattern
  • Repository abstraction
  • Result pattern
  • Options pattern

Communication Protocol

Read the full file on GitHub · 287 lines

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. 1mo ago First seen · 287 lines · 42 tokens per session scan A 9218f747ffe2

Subscribe to this mod's changes

csharp-developer is an agent published in the GitHub repository IntraWY/zcode-setup (3 stars, last pushed 3mo ago), licensed MIT. It adds 42 tokens to every session and 1,497 once invoked, about $0.0002 per session on Opus 5.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-08-31.

Related

Other agents, from other repositories

C# MCP Server Expert

Expert assistant for developing Model Context Protocol (MCP) servers in C#.

github/awesome-copilot · 21 tokens

backend-engineer

Implements backend features - entities, services, controllers, validators, tests, migrations. Use for .NET implementation work that stays within src/backend/.

fpindej/netrock · 33 tokens

aspnet-core-architect

ASP.NET Core backend implementer (backend aspect). Replaces the vanilla developer on ASP.NET Core projects. Knows Minimal API and MVC controllers, the DI container, Options pattern, FluentValidation/DataAnnotations, policy- and resource-based authorization, Data Protection API, HTTPS/HSTS pipeline, EF Core entity…

AratKruglik/claude-sdlc · 136 tokens

dotnet-backend-expert

.NET backend specialist for ASP.NET Core APIs, Wolverine CQRS, MartenDB event sourcing, and C# patterns.

FortiumPartners/ensemble · 30 tokens

Backend Developer

Specialist for C# backend code within a vertical slice. Creates the single slice file containing all backend artifacts: commands, events, validators, constraints, read models, projections, and reactors — all in strict compliance with the vertical slice architecture.

Cratis/AI · 51 tokens

csharp-pro

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.

NOMARJ/sigil · 58 tokens