dotnet-clean-architecture

dotnet-clean-architecture is a skill for Claude Code from fmflurry/harness-manifesto. It costs 104 tokens per session (5,283 once invoked), scanned A, original, MIT.

A .NET 10 toolkit for creating Minimal API modules with separated business logic, application actions, infrastructure, and HTTP endpoints. Modules can register themselves and communicate through integration events.

In plain words
What is it for?
Use it to scaffold .NET API modules, add endpoints and use cases, or reorganize a service around ports and adapters—a design that keeps core logic independent of outside systems.
Why use it?
It gives new modules a consistent structure and keeps business rules separated from databases and web code. This reduces repeated setup and makes larger services easier to change.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it to scaffold .NET API modules, add endpoints and use cases, or reorganize a service around ports and adapters—a design that keeps core logic independent of outside systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fmflurry/harness-manifesto/dotnet-clean-architecture
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.

Any agent
npx skills add fmflurry/harness-manifesto --skill dotnet-clean-architecture
Clone the repo
git clone --depth 1 https://github.com/fmflurry/harness-manifesto

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-clean-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmflurry/harness-manifesto/dotnet-clean-architecture/github.svg)](https://agentmods.dev/skills/fmflurry/harness-manifesto/dotnet-clean-architecture)
Your own site
<a href="https://agentmods.dev/skills/fmflurry/harness-manifesto/dotnet-clean-architecture"><img src="https://agentmods.dev/badge/skills/fmflurry/harness-manifesto/dotnet-clean-architecture/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-clean-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmflurry/harness-manifesto/dotnet-clean-architecture"><img src="https://agentmods.dev/badge/skills/fmflurry/harness-manifesto/dotnet-clean-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,283 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.00104 $0.05283
Opus 5.5 $0.00042 $0.02113
Sonnet 5.5 $0.00021 $0.01057
Haiku 4.5 $0.00010 $0.00528

Measured 15d ago against content hash 6b03f660fbbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dotnet-clean-architecture 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 15d 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/skills/dotnet-clean-architecture/SKILL.md · 425 lines

How it starts

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

.NET Clean Architecture: Minimal API + Hexagonal + Modular

SOURCE OF TRUTH (SoT): Minimal API endpoints self-register via IEndpoint, and each module self-registers its DI via IModule; both are discovered by reflection in GcPlatform.SharedKernel.Modularity.ModuleExtensions. Each module is a hexagon: Domain (pure logic, zero infrastructure) → Application (use cases, ports) ↔ Infrastructure (adapters, EF Core or Marten, RLS). Presentation composes the module (endpoints, the <Module>Module : IModule registrar) and is the only layer allowed to wire Infrastructure. Persistence is chosen per bounded context — EF Core CRUD and event-sourced Marten stores are both first-class; there is no global default (ADR-0037, ADR-0048). Modules communicate asynchronously via serialized integration events over the Wolverine message bus — events are the only inter-module contract (ADR-0014). Per-module language autonomy: the same real-world entity may be named differently across modules, but every module's language MUST be English, and within a module each concept has exactly one name. Database isolation is one PostgreSQL schema per module with FORCE ROW LEVEL SECURITY (RLS), a per-module GUC app.tenant_id, and lightweight per-module roles (ADR-0013/0038).

Optional additive patterns (opt-in per module): DDD (aggregates, value objects, domain events) and CQRS (separate read/write models). Event Sourcing (Marten event stores) is a first-class persistence choice per bounded context, not an optional add-on. See optional-ddd-cqrs.md and optional-event-sourcing.md.

Language & Naming (MANDATORY)

All code MUST be written in English — identifiers, comments, and documentation — regardless of the user's language or the conversation language. French (or any other non-English) identifiers, comments, or docs are a hard violation. This mirrors the commit-message mandate (the git-workflow skill, Canonical spec, Language).

Read the full file on GitHub · 425 lines

Files

What ships with it

6 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. 15d ago First seen · 425 lines · 104 tokens per session scan A 6b03f660fbbc

Subscribe to this mod's changes

dotnet-clean-architecture is a skill published in the GitHub repository fmflurry/harness-manifesto (173 stars, last pushed 11d ago), licensed MIT. It adds 104 tokens to every session and 5,283 once invoked, about $0.0004 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-11-15.

Related

dotnet-clean-architecture compared with skills from other repositories

dotnet-clean-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotnet-clean-architecturefmflurry/harness-manifestoSkill17311d agoMITA104Claude Code
agui-dotnet-streaming-chatag-ui-protocol/ag-uiSkill22k2d agoMITA223Claude Code
create-datadriven-aspnetcoredotnet/skillsSkill6.4ktodayMITA147Claude Code
azure-maps-search-dotnetmicrosoft/skillsSkill3.3k3d agoMITA91Claude Code
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.3k3d agoMITA97Claude Code
azure-ai-voicelive-dotnetmicrosoft/skillsSkill3.3k3d agoMITA92Claude Code
omnistudio-callable-apex-generateforcedotcom/sf-skillsSkill1.2k3d agoApache-2.0A176Claude Code, Codex