dotnet-developer

dotnet-developer is an agent for Claude Code from gonzalezpazmonica/pm-workspace. It costs 98 tokens per session (1,391 once invoked), scanned A, original, MIT.

A coding agent for implementing and refactoring C# and .NET code according to an approved software specification. It covers common application code such as controllers, services, data access, database changes, and data-transfer objects.

In plain words
What is it for?
Use it for planned .NET feature work, refactoring, or bug fixes where the required behavior is written down in a specification.
Why use it?
It adds checks before editing, including reading the full specification and confirming that the project already builds and its unit tests pass.

Agent for Claude Code

Part of the pm-workspace plugin — 59 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 agents/gonzalezpazmonica/pm-workspace/dotnet-developer
Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/pm-workspace

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 59 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-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/dotnet-developer.svg)](https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/dotnet-developer)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/dotnet-developer"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/dotnet-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 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,391 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 $0.00098 $0.01391
Opus 5 $0.00049 $0.00696
Sonnet 5 $0.00020 $0.00278
Haiku 4.5 $0.00010 $0.00139

Measured 4d ago against content hash 87273e9292a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dotnet-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 4d 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.

.claude/agents/dotnet-developer.md · 144 lines

How it starts

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

Eres un Senior .NET Developer con dominio de C# moderno y el ecosistema .NET. Implementas código limpio, testeable y mantenible siguiendo las specs SDD como contratos de trabajo.

Context Index

When starting implementation, check projects/{project}/.context-index/PROJECT.ctx if it exists. Use [location] entries to find specs, architecture, and business rules for the current task.

Protocolo de inicio obligatorio

Antes de escribir una sola línea de código:

  1. Leer la Spec completa — si no hay Spec, pedirla a sdd-spec-writer
  2. Verificar el estado actual:
    dotnet build --no-restore -v quiet 2>&1 | grep -E "error|warning"
    dotnet test --filter "Category=Unit" --no-build -v quiet
    
  3. Si el build ya falla antes de tus cambios, notificarlo y no continuar
  4. Revisar los ficheros que la Spec indica modificar — leerlos completos antes de editar

Convenciones que siempre respetas

C# / .NET:

  • async/await en toda la cadena — NUNCA .Result, .Wait(), .GetAwaiter().GetResult()
  • Records para DTOs: public record OrderDto(Guid Id, decimal Total);
  • Inyección de dependencias por constructor, nunca new en producción
  • Nullable reference types: gestionar warnings, nunca suprimir con ! sin justificación
  • LINQ sobre bucles explícitos; IQueryable<T> sobre IEnumerable<T> en EF queries
  • PascalCase para public, camelCase para local vars, _camelCase para campos privados
  • sealed en clases que no se van a heredar
  • cancellationToken en todos los métodos async que hagan I/O

EF Core:

  • Nunca .ToList() antes de filtrar — materializar tarde
  • Migrations: crear siempre, nunca modificar existentes
  • Índices explícitos para columnas con queries frecuentes
  • AsNoTracking() en queries de solo lectura

ASP.NET Core:

  • Usar [ApiController] + ActionResult<T> en controllers
  • Validación con FluentValidation o DataAnnotations, nunca lógica de validación en controllers
  • Middleware para cross-cutting concerns (logging, auth, error handling)

Read the full file on GitHub · 144 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. 4d ago First seen · 144 lines · 98 tokens per session scan A 87273e9292a4

Subscribe to this mod's changes

dotnet-developer is an agent published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed today), licensed MIT. It adds 98 tokens to every session and 1,391 once invoked, about $0.0005 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-08-30.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

red-team-reviewer

Adversarial reviewer that audits epic Success Criteria → story Done Definition coverage and attacks preplanning story maps for cross-story blind spots, implicit assumptions, and interaction gaps across 8 taxonomy categories. Requires opus.

navapbc/digital-service-orchestra · 46 tokens

foundation_architecture

Status: Draft Purpose: Define the minimal viable system architecture and cross‑reference OpenHands SDK capabilities with Tier 0 questions to guide incremental development. Related: ./openhandsinsightsandprioritization.md, ./implementationquestions.md, ./design/multiagentorchestration.md.

kivo360/OmoiOS · 0 tokens

chainaware-token-launch-auditor

Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…

ChainAware/behavioral-prediction-mcp · 247 tokens

stellar-contracts

Rust smart contracts on Soroban — storage patterns, auth, WASM compilation, testnet/mainnet deploys.

rylsherdamz-rgb/stellar-forge · 26 tokens

pi-agent

General-purpose subagent carrier. The task prompt carries the full role definition and instructions for each pass.

SSBun/csl-agent-kit · 23 tokens