dotnet-backend-patterns – Coding skill for AI agents
Master C#/.NET patterns for building production-grade APIs, MCP servers, and enterprise backends with modern best practices (2024/2025).
Install the dotnet-backend-patterns skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/dotnet-backend-patterns-cafdb.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /dotnet-backend-patterns – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/dotnet-backend-patterns-cafdb.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $dotnet-backend-patterns – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/dotnet-backend-patterns-cafdb.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /dotnet-backend-patterns – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/dotnet-backend-patterns-cafdb.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /dotnet-backend-patterns – then describe the task you want done.
SKILL.md content
.NET Backend Development Patterns
Master C#/.NET patterns for building production-grade APIs, MCP servers, and enterprise backends with modern best practices (2024/2025).
Use this skill when
- Developing new .NET Web APIs or MCP servers
- Reviewing C# code for quality and performance
- Designing service architectures with dependency injection
- Implementing caching strategies with Redis
- Writing unit and integration tests
- Optimizing database access with EF Core or Dapper
- Configuring applications with IOptions pattern
- Handling errors and implementing resilience patterns
Do not use this skill when
- The project is not using .NET or C#
- You only need frontend or client guidance
- The task is unrelated to backend architecture
Template boundaries
Examples target .NET 8-era APIs and SQL Server; package/provider versions must be
pinned and compiled in the destination application. Assets are partial sketches,
not a standalone project: supply interfaces, DTO namespaces, options and schema.
Use one shared domain Product type when combining them. Authorization/tenant
filters precede reads, writes and cache access; the single-tenant sample keys are
not suitable for multi-tenant data. No migration or production write is implied.
Instructions
- Define architecture boundaries, modules, and layering.
- Apply DI, async patterns, and resilience strategies.
- Validate data access performance and caching.
- Add tests and observability for critical flows.
- If detailed patterns are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed .NET patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- doubt-driven-development – Subjects every non-trivial decision to a fresh-context adversarial review before it…
- temporal-python-testing – Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit…
- timesfm-forecasting – Performs zero-shot time-series forecasting with Google's TimesFM, including regular-grid…
- dsl-vm-reverse – Reverse JavaScript-based custom DSL/VM interpreters and risk-control engines: identify…
- dwarf-expert – Provides expertise for analyzing DWARF debug files and understanding the DWARF debug…
- dx-optimizer – Developer Experience specialist. Improves tooling, setup, and workflows. Use for…
- e2e-testing – End-to-end testing workflow with Playwright for browser automation, visual regression…
- e2e-testing-patterns – Build reliable, fast, and maintainable end-to-end test suites that provide confidence to…