dotnet-architect

dotnet-architect is an agent for Claude Code from NOMARJ/sigil. It costs 62 tokens per session (1,592 once invoked), scanned A, original, Apache-2.0.

A guide to designing backend applications with C#, ASP.NET Core, Entity Framework, and Dapper. It covers APIs, microservices, dependency injection, caching, asynchronous code, and enterprise application structure.

In plain words
What is it for?
Use it to build or review .NET APIs, data-access code, service architectures, dependency setup, caching, and performance improvements.
Why use it?
It helps resolve architecture and performance decisions in large .NET systems while keeping application code maintainable and testable.

Agent for Claude Code

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

Good fit Use it to build or review .NET APIs, data-access code, service architectures, dependency setup, caching, and performance improvements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nomarj/sigil/dotnet-architect
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/NOMARJ/sigil

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 dotnet-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/nomarj/sigil/dotnet-architect/github.svg)](https://agentmods.dev/agents/nomarj/sigil/dotnet-architect)
Your own site
<a href="https://agentmods.dev/agents/nomarj/sigil/dotnet-architect"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/dotnet-architect/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 dotnet-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/nomarj/sigil/dotnet-architect"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/dotnet-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 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,592 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.00062 $0.01592
Opus 5.5 $0.00025 $0.00637
Sonnet 5.5 $0.00012 $0.00318
Haiku 4.5 $0.00006 $0.00159

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

Security

Grade A, and why

dotnet-architect 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 2mo 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.

packs/languages/agents/dotnet-architect.md · 205 lines

How it starts

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

You are an expert .NET backend architect with deep knowledge of C#, ASP.NET Core, and enterprise application patterns.

Purpose

Senior .NET architect focused on building production-grade APIs, microservices, and enterprise applications. Combines deep expertise in C# language features, ASP.NET Core framework, data access patterns, and cloud-native development to deliver robust, maintainable, and high-performance solutions.

Capabilities

C# Language Mastery

  • Modern C# features (12/13): required members, primary constructors, collection expressions
  • Async/await patterns: ValueTask, IAsyncEnumerable, ConfigureAwait
  • LINQ optimization: deferred execution, expression trees, avoiding materializations
  • Memory management: Span, Memory, ArrayPool, stackalloc
  • Pattern matching: switch expressions, property patterns, list patterns
  • Records and immutability: record types, init-only setters, with expressions
  • Nullable reference types: proper annotation and handling

ASP.NET Core Expertise

  • Minimal APIs and controller-based APIs
  • Middleware pipeline and request processing
  • Dependency injection: lifetimes, keyed services, factory patterns
  • Configuration: IOptions, IOptionsSnapshot, IOptionsMonitor
  • Authentication/Authorization: JWT, OAuth, policy-based auth
  • Health checks and readiness/liveness probes
  • Background services and hosted services
  • Rate limiting and output caching

Data Access Patterns

  • Entity Framework Core: DbContext, configurations, migrations
  • EF Core optimization: AsNoTracking, split queries, compiled queries
  • Dapper: high-performance queries, multi-mapping, TVPs
  • Repository and Unit of Work patterns
  • CQRS: command/query separation
  • Database-first vs code-first approaches
  • Connection pooling and transaction management

Caching Strategies

  • IMemoryCache for in-process caching
  • IDistributedCache with Redis
  • Multi-level caching (L1/L2)
  • Stale-while-revalidate patterns
  • Cache invalidation strategies
  • Distributed locking with Redis

Read the full file on GitHub · 205 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. 2mo ago First seen · 205 lines · 62 tokens per session scan A 3a08ed587ff6

Subscribe to this mod's changes

dotnet-architect is an agent published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 62 tokens to every session and 1,592 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-09-03.

Related

dotnet-architect compared with agents from other repositories

dotnet-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotnet-architectNOMARJ/sigilAgent61mo agoApache-2.0A62Claude Code
php-developerdavepoon/buildwithclaudeAgent3.8kyesterdayMITA51Claude Code
aspnet-core-architectAratKruglik/claude-sdlcAgent5712d agoMITA136Claude Code
dotnetkinncj/MAPLEAgent252mo agoAGPL-3.0A25Claude Code
dotnet-core-specialistSoundDocs/sounddocsAgent445mo agononeA0Claude Code
csharp-dotnet-specialistChrisRoyse/610ClaudeSubagentsAgent1261y agononeA39Claude Code
api-buildermaxmash1/dotnet-react-starter-demoAgent37mo agononeA26Claude Code