dotnet-design-pattern-review

dotnet-design-pattern-review is a skill for Claude Code, Codex from OKHP3/skillz. It costs 21 tokens per session (625 once invoked), scanned A, a copy of dotnet-design-pattern-review, MIT.

A review guide for checking whether design patterns are correctly used in C# and .NET code. Design patterns are common ways to organize recurring software-design problems.

In plain words
What is it for?
Use it to review command handlers, factories, dependency injection, repositories, providers, resource management, namespaces, and configuration handling.
Why use it?
It helps reveal missing abstractions, unsuitable patterns, and architectural inconsistencies without changing the code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review command handlers, factories, dependency injection, repositories, providers, resource management, namespaces, and configuration handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okhp3/skillz/dotnet-design-pattern-review
View source ↗ OKHP3/skillz
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 OKHP3/skillz --skill dotnet-design-pattern-review
Clone the repo
git clone --depth 1 https://github.com/OKHP3/skillz

Made for: Claude Code, Codex.

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-design-pattern-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/okhp3/skillz/dotnet-design-pattern-review/github.svg)](https://agentmods.dev/skills/okhp3/skillz/dotnet-design-pattern-review)
Your own site
<a href="https://agentmods.dev/skills/okhp3/skillz/dotnet-design-pattern-review"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/dotnet-design-pattern-review/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-design-pattern-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/okhp3/skillz/dotnet-design-pattern-review"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/dotnet-design-pattern-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 625 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 100% copy Near-identical to another mod 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.00021 $0.00625
Opus 5.5 $0.00008 $0.00250
Sonnet 5.5 $0.00004 $0.00125
Haiku 4.5 $0.00002 $0.00063

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

Security

Grade A, and why

dotnet-design-pattern-review 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.

Origin

This is a copy

100% identical to dotnet-design-pattern-review — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

community/dotnet-design-pattern-review/SKILL.md · 43 lines

How it starts

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

.NET/C# Design Pattern Review

Review the C#/.NET code in ${selection} for design pattern implementation and suggest improvements for the solution/project. Do not make any changes to the code, just provide a review.

Required Design Patterns

  • Command Pattern: Generic base classes (CommandHandler<TOptions>), ICommandHandler<TOptions> interface, CommandHandlerOptions inheritance, static SetupCommand(IHost host) methods
  • Factory Pattern: Complex object creation service provider integration
  • Dependency Injection: Primary constructor syntax, ArgumentNullException null checks, interface abstractions, proper service lifetimes
  • Repository Pattern: Async data access interfaces provider abstractions for connections
  • Provider Pattern: External service abstractions (database, AI), clear contracts, configuration handling
  • Resource Pattern: ResourceManager for localized messages, separate .resx files (LogMessages, ErrorMessages)

Review Checklist

  • Design Patterns: Identify patterns used. Are Command Handler, Factory, Provider, and Repository patterns correctly implemented? Missing beneficial patterns?
  • Architecture: Follow namespace conventions ({Core|Console|App|Service}.{Feature})? Proper separation between Core/Console projects? Modular and readable?
  • .NET Best Practices: Primary constructors, async/await with Task returns, ResourceManager usage, structured logging, strongly-typed configuration?
  • GoF Patterns: Command, Factory, Template Method, Strategy patterns correctly implemented?
  • SOLID Principles: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion violations?
  • Performance: Proper async/await, resource disposal, ConfigureAwait(false), parallel processing opportunities?
  • Maintainability: Clear separation of concerns, consistent error handling, proper configuration usage?
  • Testability: Dependencies abstracted via interfaces, mockable components, async testability, AAA pattern compatibility?
  • Security: Input validation, secure credential handling, parameterized queries, safe exception handling?
  • Documentation: XML docs for public APIs, parameter/return descriptions, resource file organization?
  • Code Clarity: Meaningful names reflecting domain concepts, clear intent through patterns, self-explanatory structure?
  • Clean Code: Consistent style, appropriate method/class size, minimal complexity, eliminated duplication?

Read the full file on GitHub · 43 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 · 43 lines · 21 tokens per session scan A e94f172c8e6c

Subscribe to this mod's changes

dotnet-design-pattern-review is a skill published in the GitHub repository OKHP3/skillz (4 stars, last pushed 3d ago), licensed MIT. It adds 21 tokens to every session and 625 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to dotnet-design-pattern-review, differing in 0 lines, and is treated as a copy.

Related

dotnet-design-pattern-review compared with skills from other repositories

dotnet-design-pattern-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotnet-design-pattern-reviewOKHP3/skillzSkill43d agoMITA21Claude Code, Codex
blazorMindrally/skillsSkill3221mo agoApache-2.0A19Claude Code
tia-mac-module-builderCzarnak/totally-integrated-claudeSkill991mo agoMITA74Claude Code
python-anti-patternsJartan-LLC/grimoireSkill47d agoMITA19Claude Code
exec-csharpanhnguyen0905/codex-mcpSkill44d agoMITA37Claude Code
dotnet-code-reviewbeel-collab/presets.devSkill37d agoMITA50Claude Code, Codex
drysiva01c/claude-pluginsSkill1625d agoMITA116Claude Code